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

WordPress Trac noreply at wordpress.org
Fri Jul 21 09:42:08 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 fixed-major commit dev-    |     Focuses:
  reviewed                                       |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"56275" 56275]:
 {{{
 #!CommitTicketReference repository="" revision="56275"
 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.
 Reviewed by spacedmonkey.
 Merges [56268] to the 6.3 branch.
 Fixes #58846.
 }}}

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


More information about the wp-trac mailing list