[wp-trac] [WordPress Trac] #22234: Use access modifiers in classes, not the var keyword
WordPress Trac
noreply at wordpress.org
Mon May 19 01:16:19 UTC 2014
#22234: Use access modifiers in classes, not the var keyword
----------------------------+-------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.0
Component: General | Version: 1.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
----------------------------+-------------------
Comment (by wonderboymusic):
In [changeset:"28493"]:
{{{
#!CommitTicketReference repository="" revision="28493"
Add access modifiers to methods and members of list table classes:
* `WP_List_Table` is the base class that implements `__get()` and
`__call()` for BC
* Adds unit tests to confirm that subclasses properly inherit magic
methods
* Add modifiers to subclasses: `WP_Links_List_Table`,
`WP_Media_List_Table`, `WP_MS_Sites_List_Table`,
`WP_MS_Themes_List_Table`, `WP_MS_Users_List_Table`,
`WP_Plugin_Install_List_Table`, `WP_Plugins_List_Table`,
`WP_Posts_List_Table`, `WP_Terms_List_Table`,
`WP_Theme_Install_List_Table`, `WP_Themes_List_Table`
See #27881, #22234.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22234#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list