Make WordPress Core

Ticket #60222: 60222.diff

File 60222.diff, 1.6 KB (added by Presskopp, 2 years ago)
  • src/js/_enqueues/wp/customize/controls.js

     
    38663866                        var control = this, container, notifications, hasError = false;
    38673867
    38683868                        if ( 'undefined' !== typeof console && console.warn ) {
    3869                                 console.warn( '[DEPRECATED] wp.customize.Control.prototype.renderNotifications() is deprecated in favor of instantating a wp.customize.Notifications and calling its render() method.' );
     3869                                console.warn( '[DEPRECATED] wp.customize.Control.prototype.renderNotifications() is deprecated in favor of instantiating a wp.customize.Notifications and calling its render() method.' );
    38703870                        }
    38713871
    38723872                        container = control.getNotificationsContainerElement();
  • src/wp-admin/includes/deprecated.php

     
    11521152/**
    11531153 * This was once used to kick-off the Core Updater.
    11541154 *
    1155  * Deprecated in favor of instantating a Core_Upgrader instance directly,
     1155 * Deprecated in favor of instantiating a Core_Upgrader instance directly,
    11561156 * and calling the 'upgrade' method.
    11571157 *
    11581158 * @since 2.7.0
     
    11741174/**
    11751175 * This was once used to kick-off the Plugin Updater.
    11761176 *
    1177  * Deprecated in favor of instantating a Plugin_Upgrader instance directly,
     1177 * Deprecated in favor of instantiating a Plugin_Upgrader instance directly,
    11781178 * and calling the 'upgrade' method.
    11791179 * Unused since 2.8.0.
    11801180 *