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

WordPress Trac noreply at wordpress.org
Thu Jul 27 00:27:51 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 SergeyBiryukov):

 Replying to [ticket:41452 DrewAPicture]:
 > Per discussion in #core-docs last week, we're finally to the point where
 we can remove `@access` notations from DocBlocks throughout core, with a
 few exceptions:
 >
 > * Any standalone core functions marked private
 > * Any classes marked private (such as the List Table classes, for
 instance)

 Great idea, having `@access public` in the DocBlocks is redundant, as it's
 already in the code itself.

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


More information about the wp-trac mailing list