[wp-trac] [WordPress Trac] #49801: Remove incorrect test_post_thumbnails_types_true() test

WordPress Trac noreply at wordpress.org
Sat Apr 4 00:25:50 UTC 2020


#49801: Remove incorrect test_post_thumbnails_types_true() test
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  5.5
Component:  Themes          |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47548" 47548]:
 {{{
 #!CommitTicketReference repository="" revision="47548"
 Tests: Remove `test_post_thumbnails_types_true()`.

 The test incorrectly describes the behavior of `current_theme_supports(
 'post-thumbnails' )` and only passes by accident.

 Follow-up to [30148].

 Fixes #49801.
 }}}

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


More information about the wp-trac mailing list