Changeset 28504 for trunk/src/wp-includes/category-template.php
- Timestamp:
- 05/19/2014 05:22:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r28438 r28504 897 897 * @var string 898 898 */ 899 var$tree_type = 'category';899 public $tree_type = 'category'; 900 900 901 901 /** … … 907 907 * @var array 908 908 */ 909 var$db_fields = array ('parent' => 'parent', 'id' => 'term_id');909 public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); 910 910 911 911 /** … … 921 921 * @see wp_list_categories() 922 922 */ 923 function start_lvl( &$output, $depth = 0, $args = array() ) {923 public function start_lvl( &$output, $depth = 0, $args = array() ) { 924 924 if ( 'list' != $args['style'] ) 925 925 return; … … 941 941 * @wsee wp_list_categories() 942 942 */ 943 function end_lvl( &$output, $depth = 0, $args = array() ) {943 public function end_lvl( &$output, $depth = 0, $args = array() ) { 944 944 if ( 'list' != $args['style'] ) 945 945 return; … … 962 962 * @param int $id ID of the current category. 963 963 */ 964 function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {964 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { 965 965 /** This filter is documented in wp-includes/category-template.php */ 966 966 $cat_name = apply_filters( … … 1052 1052 * @param array $args An array of arguments. Only uses 'list' for whether should append to output. @see wp_list_categories() 1053 1053 */ 1054 function end_el( &$output, $page, $depth = 0, $args = array() ) {1054 public function end_el( &$output, $page, $depth = 0, $args = array() ) { 1055 1055 if ( 'list' != $args['style'] ) 1056 1056 return; … … 1074 1074 * @var string 1075 1075 */ 1076 var$tree_type = 'category';1076 public $tree_type = 'category'; 1077 1077 1078 1078 /** … … 1082 1082 * @var array 1083 1083 */ 1084 var$db_fields = array ('parent' => 'parent', 'id' => 'term_id');1084 public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); 1085 1085 1086 1086 /** … … 1095 1095 * @param array $args Uses 'selected' and 'show_count' keys, if they exist. @see wp_dropdown_categories() 1096 1096 */ 1097 function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {1097 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { 1098 1098 $pad = str_repeat(' ', $depth * 3); 1099 1099
Note: See TracChangeset
for help on using the changeset viewer.