Changeset 35682
- Timestamp:
- 11/18/2015 08:18:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r35622 r35682 127 127 public function ajax_user_can() { 128 128 return current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_posts ); 129 }130 131 /**132 * Get the value of the 'orderby' query var.133 *134 * @access protected135 * @since 4.4.0136 *137 * @return string The value of 'orderby'.138 */139 protected function get_orderby() {140 return strtolower( get_query_var( 'orderby' ) );141 }142 143 /**144 * Get the value of the 'order' query var.145 *146 * @access protected147 * @since 4.4.0148 *149 * @return string The value of 'order'.150 */151 protected function get_order() {152 return strtolower( get_query_var( 'order' ) );153 129 } 154 130
Note: See TracChangeset
for help on using the changeset viewer.