[wp-trac] [WordPress Trac] #42803: Remove @static tags from core DocBlocks

WordPress Trac noreply at wordpress.org
Sun Feb 25 22:19:24 UTC 2018


#42803: Remove @static tags from core DocBlocks
------------------------------+-------------------------------------
 Reporter:  birgire           |       Owner:
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.0
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs, coding-standards
------------------------------+-------------------------------------
Changes (by SergeyBiryukov):

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


Comment:

 The only instance left is `MO::make_entry()` in `wp-includes/pomo/mo.php`.

 Looks like it was never used as static in core, though could potentially
 be called as static. `MO::get_byteorder()`, on the other hand, is used as
 static, but is not marked as such.

 The whole POMO library does not have access modifiers (it was skipped in
 #22234, see comment:16:ticket:22234). We could probably reconsider it, but
 let's do that in a new ticket.

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


More information about the wp-trac mailing list