mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Replace multiple single line comments with multi-line comments.
This changeset updates various comments as per WordPress PHP Inline Documentation Standards. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments. Follow-up to [56174]. Props costdev, audrasjb. See #58459. git-svn-id: https://develop.svn.wordpress.org/trunk@56175 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -226,8 +226,10 @@ function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
|
||||
$class[] = 'current';
|
||||
$aria_attributes .= ' aria-current="page"';
|
||||
}
|
||||
// If plugin_page is set the parent must either match the current page or not physically exist.
|
||||
// This allows plugin pages with the same hook to exist under different parents.
|
||||
/*
|
||||
* If plugin_page is set the parent must either match the current page or not physically exist.
|
||||
* This allows plugin pages with the same hook to exist under different parents.
|
||||
*/
|
||||
} elseif (
|
||||
( ! isset( $plugin_page ) && $self === $sub_item[2] )
|
||||
|| ( isset( $plugin_page ) && $plugin_page === $sub_item[2]
|
||||
|
||||
Reference in New Issue
Block a user