- Timestamp:
- 05/19/2014 01:16:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-links-list-table.php
r27029 r28493 10 10 class WP_Links_List_Table extends WP_List_Table { 11 11 12 function __construct( $args = array() ) {12 public function __construct( $args = array() ) { 13 13 parent::__construct( array( 14 14 'plural' => 'bookmarks', … … 17 17 } 18 18 19 function ajax_user_can() {19 public function ajax_user_can() { 20 20 return current_user_can( 'manage_links' ); 21 21 } 22 22 23 function prepare_items() {23 public function prepare_items() { 24 24 global $cat_id, $s, $orderby, $order; 25 25 … … 40 40 } 41 41 42 function no_items() {42 public function no_items() { 43 43 _e( 'No links found.' ); 44 44 } 45 45 46 function get_bulk_actions() {46 protected function get_bulk_actions() { 47 47 $actions = array(); 48 48 $actions['delete'] = __( 'Delete' ); … … 51 51 } 52 52 53 function extra_tablenav( $which ) {53 protected function extra_tablenav( $which ) { 54 54 global $cat_id; 55 55 … … 76 76 } 77 77 78 function get_columns() {78 protected function get_columns() { 79 79 return array( 80 80 'cb' => '<input type="checkbox" />', … … 88 88 } 89 89 90 function get_sortable_columns() {90 protected function get_sortable_columns() { 91 91 return array( 92 92 'name' => 'name', … … 97 97 } 98 98 99 function display_rows() {99 protected function display_rows() { 100 100 global $cat_id; 101 101
Note: See TracChangeset
for help on using the changeset viewer.