[wp-trac] [WordPress Trac] #31985: WP_Network class
WordPress Trac
noreply at wordpress.org
Wed Oct 7 09:35:45 UTC 2015
#31985: WP_Network class
------------------------------------+-------------------------
Reporter: johnjamesjacoby | Owner: jeremyfelt
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 4.4
Component: Networks and Sites | Version: 3.0
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses: multisite
------------------------------------+-------------------------
Comment (by toscho):
Can we please use proper getters for the currently public properties and
make the properties private? If anybody can change those at any time, the
whole object becomes completely unreliable. This is not helpful. Also,
this needs an interface, so we can use the class in dependency injection
without a static dependency.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31985#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list