Commit Graph

105 Commits

Author SHA1 Message Date
giomba a2fd88033a updated after strasbourg incident 2021-05-09 10:03:35 +02:00
Sergey Biryukov 8f8d1f6a00 Docs: Improve inline comments per the documentation standards.
Includes minor code layout fixes for better readability.

See #48303.
Built from https://develop.svn.wordpress.org/trunk@47122


git-svn-id: http://core.svn.wordpress.org/trunk@46922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 00:45:18 +00:00
Sergey Biryukov c7b042d0ad I18N: Capitalize translator comments consistently, add trailing punctuation.
Includes minor code layout fixes.

See #44360.
Built from https://develop.svn.wordpress.org/trunk@45932


git-svn-id: http://core.svn.wordpress.org/trunk@45743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-03 00:41:05 +00:00
Gary Pendergast e23ae9ea87 Coding Standards: Add missing translator comments to the default themes.
All default themes now have translator comments for all strings with placeholders!

See #46732.

Built from https://develop.svn.wordpress.org/trunk@45609


git-svn-id: http://core.svn.wordpress.org/trunk@45420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-09 01:10:00 +00:00
Gary Pendergast 308af6f3d4 Docs: Update Codex references to the `Template_Hierarchy` page.
https://codex.wordpress.org/Template_Hierarchy redirects to https://developer.wordpress.org/themes/basics/template-hierarchy/, so we should link to the correct page.

Props kmeze, pento.
Fixes #45222.


Built from https://develop.svn.wordpress.org/trunk@44496


git-svn-id: http://core.svn.wordpress.org/trunk@44327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-09 05:09:51 +00:00
Gary Pendergast f7d8a35517 Coding Standards: Upgrade WPCS to 1.0.0
WPCS 1.0.0 includes a bunch of new auto-fixers, which drops the number of coding standards issues across WordPress significantly. Prior to running the auto-fixers, there were 15,312 issues detected. With this commit, we now drop to 4,769 issues.

This change includes three notable additions:
- Multiline function calls must now put each parameter on a new line.
- Auto-formatting files is now part of the `grunt precommit` script. 
- Auto-fixable coding standards issues will now cause Travis failures.

Fixes #44600.


Built from https://develop.svn.wordpress.org/trunk@43571


git-svn-id: http://core.svn.wordpress.org/trunk@43400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-08-17 01:51:36 +00:00
Gary Pendergast f9d0b32a36 Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.


Built from https://develop.svn.wordpress.org/trunk@42343


git-svn-id: http://core.svn.wordpress.org/trunk@42172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-30 23:11:00 +00:00
Dominik Schilling 10ef98c902 Use HTTPS URLs for codex.wordpress.org.
see #27115.
Built from https://develop.svn.wordpress.org/trunk@32116


git-svn-id: http://core.svn.wordpress.org/trunk@32095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-12 21:29:32 +00:00
Lance Willett 11faad51dc Twenty Twelve: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.
Built from https://develop.svn.wordpress.org/trunk@25521


git-svn-id: http://core.svn.wordpress.org/trunk@25441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 19:24:09 +00:00
Lance Willett 7103aa4bfb Twenty Twelve: consolidate "Apologies" strings, see #22016.
git-svn-id: http://core.svn.wordpress.org/trunk@22061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 15:43:44 +00:00
Andrew Nacin f60e733829 Add tag.php and category.php to Twenty Twelve. While by no means required, it pulls some extra logic out of archive.php, instead leveraging the template hierarchy so it is hopefully more understandable to users tweaking their themes. Use alternative control structure syntax in all templates. fixes #21951.
git-svn-id: http://core.svn.wordpress.org/trunk@22048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 07:01:16 +00:00
Lance Willett de76d31e00 Twenty Twelve: combine two "Nothing Found" strings for consistency and simpler translation, props SergeyBiryukov. Fixes #21802.
git-svn-id: http://core.svn.wordpress.org/trunk@21763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 15:04:34 +00:00
Lance Willett 8907b96a0d Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:16:56 +00:00
lancewillett 2ecc5bacb8 Twenty Twelve: CSS and markup improvements for better child theme support, part 3. See #21379.
* Add classes like `.site` and `.site-content` in addition to the set of IDs already present, making things much better for child themes to have more than one generic element like `nav` inside the content container.
 * Bump JS version after selector change.
 * Move `image-attachment` to `post_class()` output

More exhaustive notes in the ticket on each id and class change.


git-svn-id: http://core.svn.wordpress.org/trunk@21404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 19:12:11 +00:00
nacin 1dd45e6d6c The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.

also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.

see #19978.



git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 04:20:46 +00:00
ryan e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan 5322be300a File file level phpdoc from jacobsantos. see #7037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 20:33:13 +00:00
ryan a6a1522a8d File file level phpdoc from jacobsantos. see #7037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 15:50:15 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
saxmatt ad536c567e Better default behaviour for theme calling
git-svn-id: http://svn.automattic.com/wordpress/trunk@2303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 20:38:28 +00:00
rboren ab6ff7fee4 Relocate default theme to themes/default. Remove special casing of default theme. Do not look directly in wp-content/ for default theme files. Simplify, simplify.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 02:47:45 +00:00
saxmatt 232e019cc6 Moving default template stuff into wp-includes, uncluttering root
git-svn-id: http://svn.automattic.com/wordpress/trunk@2009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 10:58:06 +00:00
saxmatt c6ba5da320 Title attribute can cause probs with markup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 10:58:33 +00:00
rboren 3fe8292a93 Localize more text. Bug 119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-03 22:40:37 +00:00
saxmatt 3c6bc4ae08 Header/footer template start
git-svn-id: http://svn.automattic.com/wordpress/trunk@1542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-20 17:14:27 +00:00
rboren 73402f0741 WP Query class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-08 15:31:50 +00:00
rboren 2a1d84ef82 Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-29 03:34:08 +00:00
saxmatt 724a294df6 A nicer meta bar.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-10 23:34:47 +00:00
saxmatt 2281378585 Some meta changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-24 21:57:42 +00:00
rboren 25bdc0791c Mark some strings for translation and improve string consistency. From Albert. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000024
git-svn-id: http://svn.automattic.com/wordpress/trunk@1420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-13 16:14:58 +00:00
saxmatt 6728151fd2 Move comments include into function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 07:42:48 +00:00
rboren 713e887711 Pass 'Edit This' string to edit_post_link so that it can be translated. http://wordpress.org/support/4/6976
git-svn-id: http://svn.automattic.com/wordpress/trunk@1390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-06 15:39:23 +00:00
saxmatt 4e4cb4e004 Allow WordPress installation URI and blog URI to be different.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 07:27:03 +00:00
saxmatt ba7695637b Use different query number syntax and hide time and queries by default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 04:21:58 +00:00
saxmatt 08c6accba1 Things should be as simple as possible, but no more.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 19:23:57 +00:00
rboren c5925bcb6e s/this lines/this line/ so as to deny the IRC denizens their idle amusement.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-23 04:05:26 +00:00
saxmatt 0fc3d11f7c Added new template function, the_permalink(). echoes get_permalink. We are now consistent in the templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-21 04:12:55 +00:00
saxmatt 74c2872215 Plugin enhancements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-16 02:24:37 +00:00
rboren e3e0e62cd7 gettext l10n.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-16 01:56:04 +00:00
alex_t_king e5248743f9 more localization
git-svn-id: http://svn.automattic.com/wordpress/trunk@1067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-13 15:48:11 +00:00
alex_t_king d30adf576c more localization
git-svn-id: http://svn.automattic.com/wordpress/trunk@1066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-13 15:31:35 +00:00
alex_t_king 9e6a5ab947 added the first localization strings in index.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-13 06:56:38 +00:00
saxmatt 817fc58a6b Capitalization error
git-svn-id: http://svn.automattic.com/wordpress/trunk@1062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-12 18:11:18 +00:00
saxmatt db4d716fbc XFN profile.
git-svn-id: http://svn.automattic.com/wordpress/trunk@971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-11 16:38:25 +00:00
saxmatt b6aa1f6807 Migration to get_settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 06:13:32 +00:00
saxmatt f46175d614 Label on search form.
git-svn-id: http://svn.automattic.com/wordpress/trunk@950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-27 19:22:56 +00:00
saxmatt 8927968849 Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:15:48 +00:00
saxmatt 5e9c38f1f4 Feed improvements and suggestions from Mark Pilgrim.
git-svn-id: http://svn.automattic.com/wordpress/trunk@901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-21 12:28:36 +00:00
michelvaldrighi 0d178ed361 now using instead of iso-8859-1
git-svn-id: http://svn.automattic.com/wordpress/trunk@880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 02:29:20 +00:00
saxmatt ecbf95566b Show categories nested by default. New wp_list_cats function that uses parse_str.
git-svn-id: http://svn.automattic.com/wordpress/trunk@873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 16:14:36 +00:00