[wp-trac] [WordPress Trac] #53762: Replace the remaining references to wp.editor with wp.oldEditor
WordPress Trac
noreply at wordpress.org
Sat Jul 24 13:49:18 UTC 2021
#53762: Replace the remaining references to wp.editor with wp.oldEditor
------------------------------------+---------------------
Reporter: zieladam | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.8.1
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+---------------------
Comment (by spacedmonkey):
@zieladam Thanks for the ticket. I had in my mind to create it myself.
For extra context, @desrosj already commited a patch for me in aid of
this. See [https://core.trac.wordpress.org/changeset/51409 #51409].
I think we should commit [https://github.com/WordPress/wordpress-
develop/pull/1516 #1516] in WordPress 5.8.1 and looking at Deprecate
wp.editor in 5.9. I don't think we should be deprecating stuff in point
releases.
I think we should add a call to the
[https://github.com/WordPress/gutenberg/tree/3da717b8d0ac7d7821fc6d0475695ccf3ae2829f/packages/deprecated
deprecated] package when calling `wp.editor.initialize`. However, I think
try and keep the functionality working. Let developers see the deprecated
message and give them sometime to fix it. After a couple of releases, then
we finally remove it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53762#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list