- Timestamp:
- 05/29/2015 08:16:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r32644 r32654 56 56 } 57 57 58 /** 59 * 60 * @return bool 61 */ 58 62 public function ajax_user_can() { 59 63 return current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->manage_terms ); … … 115 119 } 116 120 121 /** 122 * 123 * @return bool 124 */ 117 125 public function has_items() { 118 126 // todo: populate $this->items in prepare_items() … … 124 132 } 125 133 134 /** 135 * 136 * @return array 137 */ 126 138 protected function get_bulk_actions() { 127 139 $actions = array(); … … 131 143 } 132 144 145 /** 146 * 147 * @return string 148 */ 133 149 public function current_action() { 134 150 if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['delete_tags'] ) && ( 'delete' == $_REQUEST['action'] || 'delete' == $_REQUEST['action2'] ) ) … … 138 154 } 139 155 156 /** 157 * 158 * @return array 159 */ 140 160 public function get_columns() { 141 161 $columns = array( … … 155 175 } 156 176 177 /** 178 * 179 * @return array 180 */ 157 181 protected function get_sortable_columns() { 158 182 return array( … … 218 242 * @param array $terms 219 243 * @param array $children 220 * @param int $start221 * @param int $per_page222 * @param int $count223 * @param int $parent224 * @param int $level244 * @param int $start 245 * @param int $per_page 246 * @param int $count 247 * @param int $parent 248 * @param int $level 225 249 */ 226 250 private function _rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent = 0, $level = 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.