[wp-trac] [WordPress Trac] #51390: PHP error: Trying to access array offset on value of type bool in /wp-admin/includes/meta-boxes.php on line 482

WordPress Trac noreply at wordpress.org
Thu Oct 29 00:02:16 UTC 2020


#51390: PHP error: Trying to access array offset on value of type bool in /wp-
admin/includes/meta-boxes.php on line 482
------------------------------------------+-----------------------------
 Reporter:  sproutchris                   |       Owner:  SergeyBiryukov
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  5.6
Component:  Post Formats                  |     Version:  5.5.1
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-unit-tests needs-testing  |     Focuses:
------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49365" 49365]:
 {{{
 #!CommitTicketReference repository="" revision="49365"
 Tests: Correct post formats registration in `WP_REST_Search_Controller`
 tests.

 When declaring theme support for the `post-formats` feature, an array of
 supported post formats needs to be specified.

 Follow-up to [49344], [49354].

 Props garrett-eclipse.
 Fixes #51390.
 }}}

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


More information about the wp-trac mailing list