WordPress.org

Make WordPress Core

Ticket #42803: 42803-wp-admin.diff

File 42803-wp-admin.diff, 3.9 KB (added by birgire, 2 years ago)

The wp-admin/* classes

  • src/wp-admin/includes/class-core-upgrader.php

    diff --git src/wp-admin/includes/class-core-upgrader.php src/wp-admin/includes/class-core-upgrader.php
    index 0bbf433..eb12301 100644
    class Core_Upgrader extends WP_Upgrader { 
    242242         *
    243243         * @since 3.7.0
    244244         *
    245          * @static
    246          *
    247245         * @param string $offered_ver The offered version, of the format x.y.z.
    248246         * @return bool True if we should update to the offered version, otherwise false.
    249247         */
  • src/wp-admin/includes/class-language-pack-upgrader.php

    diff --git src/wp-admin/includes/class-language-pack-upgrader.php src/wp-admin/includes/class-language-pack-upgrader.php
    index 6eff004..6f8e5d6 100644
    class Language_Pack_Upgrader extends WP_Upgrader { 
    4141         * Hooked to the {@see 'upgrader_process_complete'} action by default.
    4242         *
    4343         * @since 3.7.0
    44          * @static
    4544         *
    4645         * @param false|WP_Upgrader $upgrader Optional. WP_Upgrader instance or false. If `$upgrader` is
    4746         *                                    a Language_Pack_Upgrader instance, the method will bail to
  • src/wp-admin/includes/class-wp-internal-pointers.php

    diff --git src/wp-admin/includes/class-wp-internal-pointers.php src/wp-admin/includes/class-wp-internal-pointers.php
    index 814ba37..4251df3 100644
    final class WP_Internal_Pointers { 
    2424         * Individual pointers (e.g. wp390_widgets) can be disabled using the following:
    2525         *     remove_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_wp390_widgets' ) );
    2626         *
    27          * @static
    28          *
    2927         * @param string $hook_suffix The current admin page.
    3028         */
    3129        public static function enqueue_scripts( $hook_suffix ) {
    final class WP_Internal_Pointers { 
    102100         *
    103101         * @since 3.3.0
    104102         *
    105          * @static
    106          *
    107103         * @param string $pointer_id The pointer ID.
    108104         * @param string $selector The HTML elements, on which the pointer should be attached.
    109105         * @param array  $args Arguments to be passed to the pointer JS (see wp-pointer.js).
    final class WP_Internal_Pointers { 
    160156         *
    161157         * @since 3.3.0
    162158         *
    163          * @static
    164          *
    165159         * @param int $user_id User ID.
    166160         */
    167161        public static function dismiss_pointers_for_new_users( $user_id ) {
  • src/wp-admin/includes/class-wp-screen.php

    diff --git src/wp-admin/includes/class-wp-screen.php src/wp-admin/includes/class-wp-screen.php
    index 0277970..6133f92 100644
    final class WP_Screen { 
    141141        /**
    142142         * Stores old string-based help.
    143143         *
    144          * @static
    145          *
    146144         * @var array
    147145         */
    148146        private static $_old_compat_help = array();
    final class WP_Screen { 
    160158         *
    161159         * @since 3.3.0
    162160         *
    163          * @static
    164          *
    165161         * @var array
    166162         */
    167163        private static $_registry = array();
    final class WP_Screen { 
    187183         *
    188184         * @since 3.3.0
    189185         *
    190          * @static
    191          *
    192186         * @global string $hook_suffix
    193187         *
    194188         * @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen.
    final class WP_Screen { 
    421415         *
    422416         * @since 3.3.0
    423417         *
    424          * @static
    425          *
    426418         * @param WP_Screen $screen A screen object.
    427419         * @param string $help Help text.
    428420         */
  • src/wp-admin/includes/class-wp-upgrader.php

    diff --git src/wp-admin/includes/class-wp-upgrader.php src/wp-admin/includes/class-wp-upgrader.php
    index b7e5365..f22f5a8f 100644
    class WP_Upgrader { 
    846846         * Creates a lock using WordPress options.
    847847         *
    848848         * @since 4.5.0
    849          * @static
    850849         *
    851850         * @param string $lock_name       The name of this unique lock.
    852851         * @param int    $release_timeout Optional. The duration in seconds to respect an existing lock.
    class WP_Upgrader { 
    892891         * Releases an upgrader lock.
    893892         *
    894893         * @since 4.5.0
    895          * @static
    896894         *
    897895         * @see WP_Upgrader::create_lock()
    898896         *