From 773cb00210307c443650c527df4bed28f835c723 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 22 Mar 2016 18:04:26 +0000 Subject: [PATCH] Docs: Improve inline documentation for properties and methods in `Walker_Page`. Props raimy. See #36300. Built from https://develop.svn.wordpress.org/trunk@37055 git-svn-id: http://core.svn.wordpress.org/trunk@37022 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-walker-page.php | 19 ++++++++++++++----- wp-includes/version.php | 2 +- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/wp-includes/class-walker-page.php b/wp-includes/class-walker-page.php index 57a26f4f88..56b5ca1d25 100644 --- a/wp-includes/class-walker-page.php +++ b/wp-includes/class-walker-page.php @@ -15,29 +15,35 @@ * @see Walker */ class Walker_Page extends Walker { + /** - * Walker tree type. + * What the class handles. * * @since 2.1.0 - * @see Walker::$tree_type + * @access public * @var string + * + * @see Walker::$tree_type */ public $tree_type = 'page'; /** - * Database fields. + * Database fields to use. * * @since 2.1.0 + * @access private + * @var array + * * @see Walker::$db_fields * @todo Decouple this. - * @var array */ - public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); + public $db_fields = array( 'parent' => 'post_parent', 'id' => 'ID' ); /** * Outputs the beginning of the current level in the tree before elements are output. * * @since 2.1.0 + * @access public * * @see Walker::start_lvl() * @@ -55,6 +61,7 @@ class Walker_Page extends Walker { * Outputs the end of the current level in the tree after elements are output. * * @since 2.1.0 + * @access public * * @see Walker::end_lvl() * @@ -73,6 +80,7 @@ class Walker_Page extends Walker { * * @see Walker::start_el() * @since 2.1.0 + * @access public * * @param string $output Passed by reference. Used to append additional content. * @param object $page Page data object. @@ -157,6 +165,7 @@ class Walker_Page extends Walker { * Outputs the end of the current element in the tree. * * @since 2.1.0 + * @access public * * @see Walker::end_el() * diff --git a/wp-includes/version.php b/wp-includes/version.php index 89d962d5fb..af18353562 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta4-37054'; +$wp_version = '4.5-beta4-37055'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.