[wp-trac] [WordPress Trac] #22704: Automatic Core Updates
WordPress Trac
noreply at wordpress.org
Sat Sep 28 07:10:01 UTC 2013
#22704: Automatic Core Updates
-----------------------------+-----------------------
Reporter: pento | Owner: pento
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.7
Component: Upgrade/Install | Version: 3.5
Severity: normal | Resolution:
Keywords: |
-----------------------------+-----------------------
Comment (by MikeSchinkel):
Replying to [comment:76 nacin]:
> Replying to [comment:72 wonderboymusic]:
> > Looks like this class should be a Singleton - I loathe classes where
every method is static.
>
> Yeah, we're really just using it as a namespace. Singletons are also
something to be loathed. Suggestions welcome.
Both Singletons and classes with all static methods have their use-cases.
Why not consider using a bit of both. Here's an example pattern that
illustrates:
- https://gist.github.com/mikeschinkel/6739395
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22704#comment:78>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list