[wp-trac] [WordPress Trac] #41377: Needs documents improvement!

WordPress Trac noreply at wordpress.org
Thu Jul 20 16:48:01 UTC 2017


#41377: Needs documents improvement!
--------------------------+-----------------------------
 Reporter:  rushabh4486   |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  docs
--------------------------+-----------------------------

Comment (by westonruter):

 Note that the `@access` is redundant in classes as of PHP 5 (where
 previously only `var` was supported). I'm supporting that such `@access`
 tags be removed from class members in the future. See more around
 https://wordpress.slack.com/archives/C02RP4WU5/p1495224872995687

 The `@access` tag need only be used for global functions and global
 variables that don't have a way to specify their visibility in the
 language itself.

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


More information about the wp-trac mailing list