Commit Graph

19 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
Sergey Biryukov 1ad81b4909 Bundled Themes: Remove "called called" and "can can" dittography.
Props johnpgreen.
Fixes #41836.
Built from https://develop.svn.wordpress.org/trunk@41349


git-svn-id: http://core.svn.wordpress.org/trunk@41182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-08 18:13:43 +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
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 9270c32221 Twenty Twelve: include a more verbose comment to educate themers on how to create specific template files for archive views, like tag.php and author.php. See #21951.
git-svn-id: http://core.svn.wordpress.org/trunk@21992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 23:49:45 +00:00
Lance Willett 10fb692ff5 Twenty Twelve: remove extra space left from r21976 change.
git-svn-id: http://core.svn.wordpress.org/trunk@21977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 18:39:05 +00:00
Lance Willett a5f428118d Twenty Twelve: remove the word "Blog" from archive title, see #21951. Also remove from two comments in functions.php.
git-svn-id: http://core.svn.wordpress.org/trunk@21976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 18:33:09 +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
lancewillett 8b6122a94f Twenty Twelve: tag and category descriptions should not be part of h1 element. Props obenland, see #21255.
git-svn-id: http://core.svn.wordpress.org/trunk@21331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:55:50 +00:00
lancewillett fc71e92c21 Twenty Twelve: remove tag_description and category_description filters from archive template in favor of core filters. Fixes #21230.
git-svn-id: http://core.svn.wordpress.org/trunk@21268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:36:27 +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