Ticket #46418: 46418.3.diff
File 46418.3.diff, 1.3 KB (added by , 5 years ago) |
---|
-
src/wp-admin/includes/class-wp-list-table.php
251 251 * @abstract 252 252 */ 253 253 public function ajax_user_can() { 254 die( 'function WP_List_Table::ajax_user_can() must be over-ridden in a sub-class.' );254 wp_die( 'function WP_List_Table::ajax_user_can() must be over-ridden in a sub-class.' ); 255 255 } 256 256 257 257 /** … … 263 263 * @abstract 264 264 */ 265 265 public function prepare_items() { 266 die( 'function WP_List_Table::prepare_items() must be over-ridden in a sub-class.' );266 wp_die( 'function WP_List_Table::prepare_items() must be over-ridden in a sub-class.' ); 267 267 } 268 268 269 269 /** … … 931 931 * @return array 932 932 */ 933 933 public function get_columns() { 934 die( 'function WP_List_Table::get_columns() must be over-ridden in a sub-class.' );934 wp_die( 'function WP_List_Table::get_columns() must be over-ridden in a sub-class.' ); 935 935 } 936 936 937 937 /** … … 1407 1407 $response['total_pages_i18n'] = number_format_i18n( $this->_pagination_args['total_pages'] ); 1408 1408 } 1409 1409 1410 die( wp_json_encode( $response ) );1410 wp_die( wp_json_encode( $response ) ); 1411 1411 } 1412 1412 1413 1413 /**