mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
Docs: Various formatting improvements to inline docblocks.
See #49572 git-svn-id: https://develop.svn.wordpress.org/trunk@48574 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1522,6 +1522,9 @@ function walk_page_tree( $pages, $depth, $current_page, $r ) {
|
||||
if ( empty( $r['walker'] ) ) {
|
||||
$walker = new Walker_Page;
|
||||
} else {
|
||||
/**
|
||||
* @var Walker $walker
|
||||
*/
|
||||
$walker = $r['walker'];
|
||||
}
|
||||
|
||||
@@ -1551,6 +1554,9 @@ function walk_page_dropdown_tree( ...$args ) {
|
||||
if ( empty( $args[2]['walker'] ) ) { // The user's options are the third parameter.
|
||||
$walker = new Walker_PageDropdown;
|
||||
} else {
|
||||
/**
|
||||
* @var Walker $walker
|
||||
*/
|
||||
$walker = $args[2]['walker'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user