4.1 Docs Audit: Spell out HTML element names in DocBlock summaries for the `nav_menu_css_class`, `nav_menu_item_id`, and `nav_menu_link_attributes` filters.
Due to a recent clarification in the core inline documentation standards, HTML tags are no longer allowed in DocBlock summaries as they wreak havoc on displaying pages in the official Code Reference. See #30473. See #30469. Built from https://develop.svn.wordpress.org/trunk@30618 git-svn-id: http://core.svn.wordpress.org/trunk@30608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f6fd6e09b1
commit
c31f6c11e9
|
@ -85,7 +85,7 @@ class Walker_Nav_Menu extends Walker {
|
||||||
$classes[] = 'menu-item-' . $item->ID;
|
$classes[] = 'menu-item-' . $item->ID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the CSS class(es) applied to a menu item's li element.
|
* Filter the CSS class(es) applied to a menu item's list item element.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
* @since 4.1.0 The `$depth` parameter was added.
|
* @since 4.1.0 The `$depth` parameter was added.
|
||||||
|
@ -99,7 +99,7 @@ class Walker_Nav_Menu extends Walker {
|
||||||
$class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
|
$class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the ID applied to a menu item's li element.
|
* Filter the ID applied to a menu item's list item element.
|
||||||
*
|
*
|
||||||
* @since 3.0.1
|
* @since 3.0.1
|
||||||
* @since 4.1.0 The `$depth` parameter was added.
|
* @since 4.1.0 The `$depth` parameter was added.
|
||||||
|
@ -121,7 +121,7 @@ class Walker_Nav_Menu extends Walker {
|
||||||
$atts['href'] = ! empty( $item->url ) ? $item->url : '';
|
$atts['href'] = ! empty( $item->url ) ? $item->url : '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the HTML attributes applied to a menu item's 'a' element.
|
* Filter the HTML attributes applied to a menu item's anchor element.
|
||||||
*
|
*
|
||||||
* @since 3.6.0
|
* @since 3.6.0
|
||||||
* @since 4.1.0 The `$depth` parameter was added.
|
* @since 4.1.0 The `$depth` parameter was added.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.1-beta2-30617';
|
$wp_version = '4.1-beta2-30618';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue