[wp-trac] [WordPress Trac] #51018: PHP Notice thrown when searching for certain terms via the Gutenberg block directory

WordPress Trac noreply at wordpress.org
Sat Aug 22 01:47:11 UTC 2020


#51018: PHP Notice thrown when searching for certain terms via the Gutenberg block
directory
---------------------------+-----------------------------
 Reporter:  TwentyZeroTwo  |       Owner:  SergeyBiryukov
     Type:  defect (bug)   |      Status:  reviewing
 Priority:  normal         |   Milestone:  5.5.1
Component:  Editor         |     Version:  5.5
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------

Comment (by SergeyBiryukov):

 It looks like the API issue has been resolved since the report, presumably
 in [meta10188].

 Still, adding a check to ensure that `$plugin['blocks']` is not empty
 probably wouldn't hurt.

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


More information about the wp-trac mailing list