Make WordPress Core

Ticket #57680: 57680.diff

File 57680.diff, 1.2 KB (added by sakibmd, 12 months ago)
  • src/wp-admin/includes/class-theme-installer-skin.php

    diff --git a/src/wp-admin/includes/class-theme-installer-skin.php b/src/wp-admin/includes/class-theme-installer-skin.php
    index 38089d6c3a..5bdaada095 100644
    a b class Theme_Installer_Skin extends WP_Upgrader_Skin { 
    6666         * @since 5.5.0
    6767         *
    6868         * @param WP_Error $wp_error WP_Error object.
    69          * @return bool
     69         * @return bool True if the error should be hidden, false otherwise.
    7070         */
    7171        public function hide_process_failed( $wp_error ) {
    7272                if (
  • src/wp-admin/includes/class-wp-automatic-updater.php

    diff --git a/src/wp-admin/includes/class-wp-automatic-updater.php b/src/wp-admin/includes/class-wp-automatic-updater.php
    index 083a6dcc36..c5b1500596 100644
    a b class WP_Automatic_Updater { 
    2727         * Determines whether the entire automatic updater is disabled.
    2828         *
    2929         * @since 3.7.0
     30         *
     31         * @return bool True if the automatic updater is disabled, false otherwise.
    3032         */
    3133        public function is_disabled() {
    3234                // Background updates are disabled if you don't want file changes.