Closed Ipstenu closed 5 months ago
If you reproduced this in 4.9.22, I assume that was without the classic editor plug-in? If so, this seems like it's probably a core bug, rather than a classic editor plugin bug.
@joedolson That's why I linked to the trac ticket where it appears that this was corrected in the block editor.
I tested on 5.9 and it does happen, which makes it look like it was fixed in core around 6.1, and not accounted for whatever Classic is doing.
Would the fix belong in core (which is getting rid of classic) or the plugin that activates it?
I honestly don't know, but since in 6.2.2 the only way to reproduce it is via the Classic Editor, the it sort of argues that this should be fixed IN Classic Editor... if possible. Which I still don't know.
ETA: I worked backwards. In core, even with the Block Editor, this occurs up until 6.1.3. As soon as you're on that version, it stops happening. So again, this appears fixed in core and only breaks when you activate Classic.
I think that the fix belongs in core, still; none of the relevant code is in the plugin, so any fix still needs to be committed to core.
The classic editor is still automatically enabled in some cases in core, such as custom post types without REST API support.
Alrighty then, to core it goes.
Alrighty then, to core it goes.
Thanks!!
I am aware this is a weird one.
The setup is as follows:
-2
added to the permalink-2
The post will display the content (title and all!) from the NEW post that is still in draft
This does not happen with the Block Editor.
I dug up that this is fixed in Gutenberg per https://core.trac.wordpress.org/ticket/52422 however it still exists in classic editor.
I reproduced this on WP 4.9.22 as well.