Ticket #46418: 46418.2.diff
File 46418.2.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 /** … … 905 905 * @return array 906 906 */ 907 907 public function get_columns() { 908 die( 'function WP_List_Table::get_columns() must be over-ridden in a sub-class.' );908 wp_die( 'function WP_List_Table::get_columns() must be over-ridden in a sub-class.' ); 909 909 } 910 910 911 911 /** … … 1380 1380 $response['total_pages_i18n'] = number_format_i18n( $this->_pagination_args['total_pages'] ); 1381 1381 } 1382 1382 1383 die( wp_json_encode( $response ) );1383 wp_die( wp_json_encode( $response ) ); 1384 1384 } 1385 1385 1386 1386 /**