From 3da32969b272aa80abcc45537a121482362b2c30 Mon Sep 17 00:00:00 2001 From: Colin Stewart Date: Wed, 10 Jan 2024 11:11:02 +0000 Subject: [PATCH] Customize: Correct a typo in a console warning message. This corrects a typo from "instantating" to "instantiating". Follow-up to [41374]. Props benniledl, mukesh27, Presskopp. Fixes #60222. git-svn-id: https://develop.svn.wordpress.org/trunk@57262 602fd350-edb4-49c9-b593-d223f7449a82 --- src/js/_enqueues/wp/customize/controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/_enqueues/wp/customize/controls.js b/src/js/_enqueues/wp/customize/controls.js index b6786b4d38..650ac8a161 100644 --- a/src/js/_enqueues/wp/customize/controls.js +++ b/src/js/_enqueues/wp/customize/controls.js @@ -3866,7 +3866,7 @@ var control = this, container, notifications, hasError = false; if ( 'undefined' !== typeof console && console.warn ) { - console.warn( '[DEPRECATED] wp.customize.Control.prototype.renderNotifications() is deprecated in favor of instantating a wp.customize.Notifications and calling its render() method.' ); + console.warn( '[DEPRECATED] wp.customize.Control.prototype.renderNotifications() is deprecated in favor of instantiating a wp.customize.Notifications and calling its render() method.' ); } container = control.getNotificationsContainerElement();