[wp-trac] [WordPress Trac] #42910: Default Post Format doesn't apply on post created from Quick Draft

WordPress Trac noreply at wordpress.org
Mon Jun 9 17:25:01 UTC 2025


#42910: Default Post Format doesn't apply on post created from Quick Draft
-------------------------------------------------+-------------------------
 Reporter:  aiyaz                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Post Formats                         |     Version:  4.9.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-test-info changes-requested      |     Focuses:
  needs-unit-tests needs-patch                   |  administration
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch has-test-info has-unit-tests dev-feedback => has-
     test-info changes-requested needs-unit-tests needs-patch


Comment:

 As per todays `<bug-scrub>` one idea has arisen to improve the current
 state of the plugin.

 Instead of fixing the default post format to the
 `wp_dashboard_quick_press`, it can be amended within the AJAX call on
 submit. This could help for extensibility purposes (for example, if
 someone is willing to set a default post format, just for the quick press
 widget)

 The problem here is that unit tests need to be moved from PHPUnit to
 Playwright to automatically deliver a draft and check on the fly if the
 default post format is being set and/or (extra credits) a custom default
 format could be set.

 Based on this information, please take [https://github.com/WordPress
 /wordpress-develop/pull/8936 this PR] as a reference

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


More information about the wp-trac mailing list