Changeset 37053
- Timestamp:
- 03/22/2016 05:50:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-page-dropdown.php
r35961 r37053 16 16 */ 17 17 class Walker_PageDropdown extends Walker { 18 18 19 /** 19 * W alker tree type.20 * What the class handles. 20 21 * 21 22 * @since 2.1.0 23 * @access public 24 * @var string 25 * 22 26 * @see Walker::$tree_type 23 * @var string24 27 */ 25 28 public $tree_type = 'page'; 26 29 27 30 /** 28 * Database fields .31 * Database fields to use. 29 32 * 30 33 * @since 2.1.0 34 * @access public 35 * @var array 36 * 31 37 * @see Walker::$db_fields 32 38 * @todo Decouple this 33 * @var array34 39 */ 35 public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID');40 public $db_fields = array( 'parent' => 'post_parent', 'id' => 'ID' ); 36 41 37 42 /** … … 39 44 * 40 45 * @since 2.1.0 46 * @access public 41 47 * 42 48 * @see Walker::start_el() … … 48 54 * @param array $args Optional. Uses 'selected' argument for selected page to set selected HTML 49 55 * attribute for option element. Uses 'value_field' argument to fill "value" 50 * attribute. See {@see wp_dropdown_pages()}. Default empty array.56 * attribute. See wp_dropdown_pages(). Default empty array. 51 57 * @param int $id Optional. ID of the current page. Default 0 (unused). 52 58 */
Note: See TracChangeset
for help on using the changeset viewer.