[wp-trac] [WordPress Trac] #41452: Remove @access tags from core DocBlocks

WordPress Trac noreply at wordpress.org
Thu Jul 27 00:39:36 UTC 2017


#41452: Remove @access tags from core DocBlocks
----------------------------+---------------------------
 Reporter:  DrewAPicture    |       Owner:  DrewAPicture
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  4.9
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------------

Comment (by DrewAPicture):

 In [changeset:"41161"]:
 {{{
 #!CommitTicketReference repository="" revision="41161"
 Docs: Remove `@access` notations from method DocBlocks in wp-admin/*
 classes.

 Prior to about 2013, many class methods lacked even access modifiers which
 made the `@access` notations that much more useful. Now that we've gotten
 to a point where the codebase is more mature from a maintenance
 perspective and we can finally remove these notations. Notable exceptions
 to this change include standalone functions notated as private as well as
 some classes still considered to represent "private" APIs.

 See #41452.
 }}}

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


More information about the wp-trac mailing list