[wp-trac] Re: [WordPress Trac] #8833: extract pluggable.php
function logic into separate functions
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 10 03:18:21 GMT 2009
#8833: extract pluggable.php function logic into separate functions
--------------------------------------------------------------------------------------+
Reporter: wnorris | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: needs-patch, pluggable, forward compatibility, future-proofing, fallback |
--------------------------------------------------------------------------------------+
Changes (by dougal):
* keywords: needs-patch => needs-patch, pluggable, forward
compatibility, future-proofing, fallback
Comment:
As I said on the wp-hackers list, this is an elegant idea. It's
essentially the procedural programming eqivalent to being able to call a
super() function in OOP. Well, sort of :)
A great way to provide the ability to override functionality, but allowing
a fallback to the original function when needed, without sacrificing
forward compatibility.
--
Ticket URL: <http://trac.wordpress.org/ticket/8833#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list