Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Plugin: Deprecate window._wpLoadGutenbergEditor #13547
This pull request seeks to deprecate
This is a private API and was not intended to be used by plugins, but is proposed to undergo the standard deprecation lifetime, since it's been seen to be used by plugins to act on the editor upon its being loaded.
Ideally a plugin should never use this promise, leveraging instead (depending on their use):
Verify there are no regressions in the loading of the editor, and no console warnings by default.
Verify that by attempting to reference the
(Depending on your browser, the logging may occur without actually pressing Enter in your Developer Tools Console. For example, Chrome evaluates the variable before it's run, triggering the getter behavior to log the warning)