[wp-trac] [WordPress Trac] #59296: Sync minor code quality tweaks to WP_REST_Global_Styles_Controller

WordPress Trac noreply at wordpress.org
Thu Sep 14 05:12:05 UTC 2023


#59296: Sync minor code quality tweaks to WP_REST_Global_Styles_Controller
---------------------------------------+----------------------------
 Reporter:  ramonopoly                 |       Owner:  isabel_brison
     Type:  enhancement                |      Status:  closed
 Priority:  normal                     |   Milestone:  6.4
Component:  REST API                   |     Version:  trunk
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch gutenberg-merge  |     Focuses:
---------------------------------------+----------------------------
Changes (by isabel_brison):

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


Comment:

 In [changeset:"56575" 56575]:
 {{{
 #!CommitTicketReference repository="" revision="56575"
 REST API: quality tweaks to WP_REST_Global_Styles_Controller.

 Removes redundant local variable and changes validate_custom_css() access
 modifier from private to protected.

 Props ramonopoly, spacedmonkey.
 Fixes #59296.
 }}}

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


More information about the wp-trac mailing list