[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 16 00:22:07 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 has-unit-tests has-    |     Focuses:
  patch                                          |  administration
-------------------------------------------------+-------------------------
Changes (by SirLouen):

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


Comment:

 There is an error in PHPUnit that I cannot reproduce

 {{{
 > WordPress at 6.9.0 test:php
 > node ./tools/local-env/scripts/docker.js run --rm php
 ./vendor/bin/phpunit --filter
 WP_Customize_Nav_Menus::test_available_item_types

 Installing...
 Running as single site... To run multisite, use -c
 tests/phpunit/multisite.xml
 Not running ajax tests. To execute these, use --group ajax.
 Not running ms-files tests. To execute these, use --group ms-files.
 Not running external-http tests. To execute these, use --group external-
 http.
 PHPUnit 9.6.23 by Sebastian Bergmann and contributors.

 Warning:       Your XML configuration validates against a deprecated
 schema.
 Suggestion:    Migrate your XML configuration using "--migrate-
 configuration"!

 .                                                                   1 / 1
 (100%)
 }}}

 In fact, this is not something I'm manipulating in the patch.

 Wondering what's going on here.

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


More information about the wp-trac mailing list