Make WordPress Core

Ticket #46418: 46418.3.diff

File 46418.3.diff, 1.3 KB (added by garrett-eclipse, 5 years ago)

Refresh for 5.4, same code just reduces hunk offsets where were exceeding 25 lines.

  • src/wp-admin/includes/class-wp-list-table.php

     
    251251         * @abstract
    252252         */
    253253        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.' );
    255255        }
    256256
    257257        /**
     
    263263         * @abstract
    264264         */
    265265        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.' );
    267267        }
    268268
    269269        /**
     
    931931         * @return array
    932932         */
    933933        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.' );
    935935        }
    936936
    937937        /**
     
    14071407                        $response['total_pages_i18n'] = number_format_i18n( $this->_pagination_args['total_pages'] );
    14081408                }
    14091409
    1410                 die( wp_json_encode( $response ) );
     1410                wp_die( wp_json_encode( $response ) );
    14111411        }
    14121412
    14131413        /**