[wp-trac] [WordPress Trac] #58846: Global styles revisions: update private methods to protected

WordPress Trac noreply at wordpress.org
Wed Jul 19 07:48:06 UTC 2023


#58846: Global styles revisions: update private methods to protected
--------------------------+-----------------------
 Reporter:  ramonopoly    |       Owner:  audrasjb
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.3
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"56268" 56268]:
 {{{
 #!CommitTicketReference repository="" revision="56268"
 REST API: Update Global styles revisions private methods to protected.

 This changeset updates the private vars and methods in the Global styles
 revisions rest API controller to be protected, so class entities that
 inherit
 from the base can use them, and to allow iterating on 6.3 features without
 having to copy over private methods to new classes.

 Props ramonopoly.
 Fixes #58846.
 }}}

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


More information about the wp-trac mailing list