[wp-trac] [WordPress Trac] #54900: PHP warning in `WP_REST_Global_Styles_Controller` if no `styles` exist in theme.json

WordPress Trac noreply at wordpress.org
Mon Feb 7 21:07:00 UTC 2022


#54900: PHP warning in `WP_REST_Global_Styles_Controller` if no `styles` exist in
theme.json
-------------------------------------+---------------------
 Reporter:  ntsekouras               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.9.1
Component:  Editor                   |     Version:
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+---------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 As per today's bug scrub, this ticket needs some changes suggested by
 @jorgefilipecosta: https://github.com/WordPress/wordpress-
 develop/pull/2224#pullrequestreview-862640987

 Adding `needs-refresh` keyword so the PR can be updated by @ntsekouras (or
 anyone, please feel free to send a new PR) and properly tested.

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


More information about the wp-trac mailing list