Sergey Biryukov
6863424407
Taxonomy: Revert [43620] from the 4.9 branch.
...
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.
See #44872 .
Built from https://develop.svn.wordpress.org/branches/4.9@43711
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-11 04:42:25 +00:00
Sergey Biryukov
9016ffbafa
Taxonomy: Make sure `wp_list_categories()` correctly outputs term name of `0`.
...
Props joyously, SergeyBiryukov.
Merges [43605] to the 4.9 branch.
Fixes #44872 .
Built from https://develop.svn.wordpress.org/branches/4.9@43620
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-09-03 21:24:25 +00:00
John Blackbourn
4a16295dc5
Docs: Standardise the format used for documenting parameters passed by reference.
...
See #35974 , #41017
Built from https://develop.svn.wordpress.org/trunk@41688
git-svn-id: http://core.svn.wordpress.org/trunk@41522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-02 22:14:46 +00:00
Drew Jaynes
0860bb2771
Docs: Remove `@access` notations from method DocBlocks in wp-includes/* classes.
...
Prior to about 2013, many class methods lacked even access modifiers which made the `@access` notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs.
See #41452 .
Built from https://develop.svn.wordpress.org/trunk@41162
git-svn-id: http://core.svn.wordpress.org/trunk@41002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-27 00:41:44 +00:00
Drew Jaynes
9cb5247392
Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
Built from https://develop.svn.wordpress.org/trunk@37518
git-svn-id: http://core.svn.wordpress.org/trunk@37486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-22 18:50:28 +00:00
Drew Jaynes
a2293256d4
Docs: Mark optional parameters in `Walker_Category` methods as such.
...
Also cleans up some syntax.
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37047
git-svn-id: http://core.svn.wordpress.org/trunk@37014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:30:26 +00:00
Drew Jaynes
9953858514
Docs: Improve inline documentation for property and methods in `Walker_Category`.
...
Props raimy for the initial patch.
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37046
git-svn-id: http://core.svn.wordpress.org/trunk@37013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:25:26 +00:00
Boone Gorges
31db92d83e
Add `current-cat-ancestor` class to ancestor items in `wp_list_categories()`.
...
Pairs nicely with `current-cat-parent`.
Props jrchamp, swisssipdy, ardathksheyna, wonderboymusic.
Fixes #10676 .
Built from https://develop.svn.wordpress.org/trunk@36008
git-svn-id: http://core.svn.wordpress.org/trunk@35973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 18:38:25 +00:00
Scott Taylor
296671abcc
Taxonomy: in `wp_list_categories()`, add an arg: `separator`, to allow the overriding of `<br/>`.
...
Props wojtek.szkutnik.
Fixes #9025 .
Built from https://develop.svn.wordpress.org/trunk@35140
git-svn-id: http://core.svn.wordpress.org/trunk@35105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-13 17:02:25 +00:00
Drew Jaynes
f6b1952e9a
Docs: Clarify the file header summary for wp-includes/class-walker-category.php, introduced in [34110].
...
Also clarifies the class DocBlock and tags for `Walker_Category`.
See #33413 . See #33701 .
Built from https://develop.svn.wordpress.org/trunk@34416
git-svn-id: http://core.svn.wordpress.org/trunk@34380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-22 14:01:25 +00:00
Scott Taylor
172e37b007
Move `Walker_Category` and `Walker_CategoryDropdown` into their own files via `svn cp`. Remove them from `category-template.php`. Load them in `category.php`. `svn cp` `category.php` over to `category-functions.php`, which also loads now in `category.php`.
...
See #33413 .
Built from https://develop.svn.wordpress.org/trunk@34110
git-svn-id: http://core.svn.wordpress.org/trunk@34078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-14 03:10:24 +00:00