[wp-trac] [WordPress Trac] #43174: Gutenberg uses deprecated recent posts
WordPress Trac
noreply at wordpress.org
Mon Jan 29 23:58:47 UTC 2018
#43174: Gutenberg uses deprecated recent posts
-------------------------------+---------------------------------
Reporter: LewisCowles | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution: invalid
Keywords: | Focuses: ui, administration
-------------------------------+---------------------------------
Comment (by LewisCowles):
You must understand that means it'll be broken for Gutenberg forever then?
Is it a planned degradation of recent post functionality?
I'd just like to understand what the logic is.
Right now Gutenberg pulls from WP core. It pulls from a method that cannot
be hooked into.
If it switches to a `WP_Query` it seems to make sense to have it pull from
recent posts, since recent and latest post do pretty much the same thing.
I'm finding it hard to understand why that wouldn't benefit core from
moving that recent posts functionality into posts (because there is a
similar function that does the same thing), and just having one place
instead of three for themes, plugins and maintenance.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43174#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list