[wp-trac] [WordPress Trac] #45558: Move _draft_or_post_title() from wp-admin/includes to wp-includes

WordPress Trac noreply at wordpress.org
Mon Jan 21 05:21:46 UTC 2019


#45558: Move _draft_or_post_title() from wp-admin/includes to wp-includes
------------------------------------+---------------------
 Reporter:  swissspidy              |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  5.2
Component:  Editor                  |     Version:  5.0
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------
Changes (by pento):

 * milestone:  5.1 => 5.2


Comment:

 Replying to [comment:7 swissspidy]:
 > That means moving it in core and removing it from the block-library
 package in Gutenberg, correct?

 Yup. Give it a better name in core, then
 `wp_latest_comments_draft_or_post_title()` and `_draft_or_post_title()`
 can both be deprecated, and just call the core function.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45558#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list