Make WordPress Core

Ticket #54663: 54663.diff

File 54663.diff, 10.4 KB (added by yagniksangani, 2 years ago)

Diff File

  • src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php

    diff --git a/src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php b/src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php
    index 9844e19460..07d50cc7af 100644
    a b class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { 
    4040        }
    4141
    4242        /**
     43         * Bulk footer actions.
    4344         */
    4445        public function bulk_footer() {
    4546                parent::bulk_footer();
  • src/wp-admin/includes/class-bulk-theme-upgrader-skin.php

    diff --git a/src/wp-admin/includes/class-bulk-theme-upgrader-skin.php b/src/wp-admin/includes/class-bulk-theme-upgrader-skin.php
    index 94daa27131..7705423bff 100644
    a b class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { 
    4040        }
    4141
    4242        /**
     43         * Bulk footer actions.
    4344         */
    4445        public function bulk_footer() {
    4546                parent::bulk_footer();
  • src/wp-admin/includes/class-bulk-upgrader-skin.php

    diff --git a/src/wp-admin/includes/class-bulk-upgrader-skin.php b/src/wp-admin/includes/class-bulk-upgrader-skin.php
    index 89367c4cf8..384b4934c9 100644
    a b class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { 
    3636        }
    3737
    3838        /**
     39         * To add strings.
    3940         */
    4041        public function add_strings() {
    4142                $this->upgrader->strings['skin_upgrade_start'] = __( 'The update process is starting. This process may take a while on some hosts, so please be patient.' );
    class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { 
    7778        }
    7879
    7980        /**
     81         * Header actions.
    8082         */
    8183        public function header() {
    8284                // Nothing, This will be displayed within a iframe.
    8385        }
    8486
    8587        /**
     88         * Footer actions.
    8689         */
    8790        public function footer() {
    8891                // Nothing, This will be displayed within a iframe.
    class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { 
    113116        }
    114117
    115118        /**
     119         * Bulk header actions.
    116120         */
    117121        public function bulk_header() {
    118122                $this->feedback( 'skin_upgrade_start' );
    119123        }
    120124
    121125        /**
     126         * Bulk footer actions.
    122127         */
    123128        public function bulk_footer() {
    124129                $this->feedback( 'skin_upgrade_end' );
    class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { 
    166171        }
    167172
    168173        /**
     174         * Reset actions.
    169175         */
    170176        public function reset() {
    171177                $this->in_loop = false;
    class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { 
    173179        }
    174180
    175181        /**
     182         * Flush output.
    176183         */
    177184        public function flush_output() {
    178185                wp_ob_end_flush_all();
  • src/wp-admin/includes/class-language-pack-upgrader-skin.php

    diff --git a/src/wp-admin/includes/class-language-pack-upgrader-skin.php b/src/wp-admin/includes/class-language-pack-upgrader-skin.php
    index 57b0a1c376..c34991e731 100644
    a b class Language_Pack_Upgrader_Skin extends WP_Upgrader_Skin { 
    4141        }
    4242
    4343        /**
     44         * Before content.
    4445         */
    4546        public function before() {
    4647                $name = $this->upgrader->get_name_for_update( $this->language_update );
    class Language_Pack_Upgrader_Skin extends WP_Upgrader_Skin { 
    6364        }
    6465
    6566        /**
     67         * After content.
    6668         */
    6769        public function after() {
    6870                echo '</div>';
    6971        }
    7072
    7173        /**
     74         * Bulk footer actions.
    7275         */
    7376        public function bulk_footer() {
    7477                $this->decrement_update_count( 'translation' );
  • src/wp-admin/includes/class-wp-filesystem-base.php

    diff --git a/src/wp-admin/includes/class-wp-filesystem-base.php b/src/wp-admin/includes/class-wp-filesystem-base.php
    index 646522b412..6976cfa7ef 100644
    a b class WP_Filesystem_Base { 
    4343        public $errors = null;
    4444
    4545        /**
     46         * @var options.
    4647         */
    4748        public $options = array();
    4849
  • src/wp-admin/includes/class-wp-links-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-links-list-table.php b/src/wp-admin/includes/class-wp-links-list-table.php
    index 58ee4d6fff..f667d8c83c 100644
    a b class WP_Links_List_Table extends WP_List_Table { 
    7575        }
    7676
    7777        /**
     78         * No items.
    7879         */
    7980        public function no_items() {
    8081                _e( 'No links found.' );
  • src/wp-admin/includes/class-wp-media-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php
    index d425bccfbf..3760b8778b 100644
    a b class WP_Media_List_Table extends WP_List_Table { 
    250250        }
    251251
    252252        /**
     253         * No items.
    253254         */
    254255        public function no_items() {
    255256                if ( $this->is_trash ) {
  • src/wp-admin/includes/class-wp-ms-sites-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-ms-sites-list-table.php b/src/wp-admin/includes/class-wp-ms-sites-list-table.php
    index b185664bd6..7f56be1e10 100644
    a b class WP_MS_Sites_List_Table extends WP_List_Table { 
    202202        }
    203203
    204204        /**
     205         * No items.
    205206         */
    206207        public function no_items() {
    207208                _e( 'No sites found.' );
  • src/wp-admin/includes/class-wp-ms-themes-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php
    index e87da5ca7a..28d7cee4bd 100644
    a b class WP_MS_Themes_List_Table extends WP_List_Table { 
    313313        }
    314314
    315315        /**
     316         * No items.
    316317         */
    317318        public function no_items() {
    318319                if ( $this->has_items ) {
    class WP_MS_Themes_List_Table extends WP_List_Table { 
    494495        }
    495496
    496497        /**
     498         * Display rows.
    497499         */
    498500        public function display_rows() {
    499501                foreach ( $this->items as $theme ) {
  • src/wp-admin/includes/class-wp-ms-users-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-ms-users-list-table.php b/src/wp-admin/includes/class-wp-ms-users-list-table.php
    index 3494f8c871..80cfa0508c 100644
    a b class WP_MS_Users_List_Table extends WP_List_Table { 
    121121        }
    122122
    123123        /**
     124         * No items.
    124125         */
    125126        public function no_items() {
    126127                _e( 'No users found.' );
  • src/wp-admin/includes/class-wp-plugin-install-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php
    index c214cd333b..af6c59a76e 100644
    a b class WP_Plugin_Install_List_Table extends WP_List_Table { 
    287287        }
    288288
    289289        /**
     290         * No items.
    290291         */
    291292        public function no_items() {
    292293                if ( isset( $this->error ) ) { ?>
  • src/wp-admin/includes/class-wp-posts-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php
    index 213ca201d9..f8e994bc99 100644
    a b class WP_Posts_List_Table extends WP_List_Table { 
    217217        }
    218218
    219219        /**
     220         * No items.
    220221         */
    221222        public function no_items() {
    222223                if ( isset( $_REQUEST['post_status'] ) && 'trash' === $_REQUEST['post_status'] ) {
  • src/wp-admin/includes/class-wp-terms-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-terms-list-table.php b/src/wp-admin/includes/class-wp-terms-list-table.php
    index 4823d29c9d..76604fc234 100644
    a b class WP_Terms_List_Table extends WP_List_Table { 
    7575        }
    7676
    7777        /**
     78         * Prepare items.
    7879         */
    7980        public function prepare_items() {
    8081                $taxonomy = $this->screen->taxonomy;
    class WP_Terms_List_Table extends WP_List_Table { 
    156157        }
    157158
    158159        /**
     160         * No items.
    159161         */
    160162        public function no_items() {
    161163                echo get_taxonomy( $this->screen->taxonomy )->labels->not_found;
    class WP_Terms_List_Table extends WP_List_Table { 
    219221        }
    220222
    221223        /**
     224         * Display rows or placeholder.
    222225         */
    223226        public function display_rows_or_placeholder() {
    224227                $taxonomy = $this->screen->taxonomy;
  • src/wp-admin/includes/class-wp-theme-install-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-theme-install-list-table.php b/src/wp-admin/includes/class-wp-theme-install-list-table.php
    index d9d80b3aa1..a1702d1b28 100644
    a b class WP_Theme_Install_List_Table extends WP_Themes_List_Table { 
    171171        }
    172172
    173173        /**
     174         * No items.
    174175         */
    175176        public function no_items() {
    176177                _e( 'No themes match your request.' );
    class WP_Theme_Install_List_Table extends WP_Themes_List_Table { 
    228229        }
    229230
    230231        /**
     232         * Display rows.
    231233         */
    232234        public function display_rows() {
    233235                $themes = $this->items;
  • src/wp-admin/includes/class-wp-themes-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-themes-list-table.php b/src/wp-admin/includes/class-wp-themes-list-table.php
    index 095267c06d..3973dcc0e1 100644
    a b class WP_Themes_List_Table extends WP_List_Table { 
    4747        }
    4848
    4949        /**
     50         * Prepare items.
    5051         */
    5152        public function prepare_items() {
    5253                $themes = wp_get_themes( array( 'allowed' => true ) );
    class WP_Themes_List_Table extends WP_List_Table { 
    8788        }
    8889
    8990        /**
     91         * No items.
    9092         */
    9193        public function no_items() {
    9294                if ( $this->search_terms || $this->features ) {
    class WP_Themes_List_Table extends WP_List_Table { 
    178180        }
    179181
    180182        /**
     183         * Display rows or placeholder.
    181184         */
    182185        public function display_rows_or_placeholder() {
    183186                if ( $this->has_items() ) {
    class WP_Themes_List_Table extends WP_List_Table { 
    190193        }
    191194
    192195        /**
     196         * Display rows.
    193197         */
    194198        public function display_rows() {
    195199                $themes = $this->items;
  • src/wp-includes/customize/class-wp-customize-header-image-control.php

    diff --git a/src/wp-includes/customize/class-wp-customize-header-image-control.php b/src/wp-includes/customize/class-wp-customize-header-image-control.php
    index 82c1714261..7c003783dd 100644
    a b class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { 
    6565        }
    6666
    6767        /**
     68         * To enqueue
    6869         */
    6970        public function enqueue() {
    7071                wp_enqueue_media();
    class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { 
    113114        }
    114115
    115116        /**
     117         * Print header image template.
    116118         */
    117119        public function print_header_image_template() {
    118120                ?>
    class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { 
    184186        }
    185187
    186188        /**
     189         * Render content.
    187190         */
    188191        public function render_content() {
    189192                $visibility = $this->get_current_image_src() ? '' : ' style="display:none" ';