[wp-trac] [WordPress Trac] #22234: Use access modifiers in classes, not the var keyword
WordPress Trac
noreply at wordpress.org
Sun May 18 21:04:51 UTC 2014
#22234: Use access modifiers in classes, not the var keyword
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version: 1.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
----------------------------+-----------------------------
Comment (by wonderboymusic):
These files are off-limits:
{{{
wp-includes/load.php
wp-includes/version.php
wp-includes/pomo/mo.php
wp-includes/pomo/translations.php
wp-includes/pomo/streams.php
wp-includes/l10n.php
wp-includes/locale.php
wp-includes/plugin.php
}}}
Related: #27881. Anything with `var` needs to be `public`, regardless of
the inline `@access`, for BC.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22234#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list