Docs: Clarify that the `$class` argument of `wp_list_bookmarks()` can accept an array.

Follow-up to [32906].

See #51855, #51800.
Built from https://develop.svn.wordpress.org/trunk@49688


git-svn-id: http://core.svn.wordpress.org/trunk@49411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-11-24 12:29:07 +00:00
parent 771b1048be
commit 0f9170b82d
2 changed files with 35 additions and 34 deletions

View File

@ -189,7 +189,8 @@ function _walk_bookmarks( $bookmarks, $args = '' ) {
* @type string $title_li What to show before the links appear. Default 'Bookmarks'. * @type string $title_li What to show before the links appear. Default 'Bookmarks'.
* @type string $title_before The HTML or text to prepend to the $title_li string. Default '<h2>'. * @type string $title_before The HTML or text to prepend to the $title_li string. Default '<h2>'.
* @type string $title_after The HTML or text to append to the $title_li string. Default '</h2>'. * @type string $title_after The HTML or text to append to the $title_li string. Default '</h2>'.
* @type string $class The CSS class to use for the $title_li. Default 'linkcat'. * @type string|array $class The CSS class or an array of classes to use for the $title_li.
* Default 'linkcat'.
* @type string $category_before The HTML or text to prepend to $title_before if $categorize is true. * @type string $category_before The HTML or text to prepend to $title_before if $categorize is true.
* String must contain '%id' and '%class' to inherit the category ID and * String must contain '%id' and '%class' to inherit the category ID and
* the $class argument used for formatting in themes. * the $class argument used for formatting in themes.

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.7-alpha-49685'; $wp_version = '5.7-alpha-49688';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.