[wp-hackers] pluggable.php

John Blackbourn johnbillion+wp at gmail.com
Fri Aug 31 18:07:00 UTC 2012


On 31 August 2012 18:30, John <dailyrants at gmail.com> wrote:
> What are the reasons for this? Just curious if there are technical reasons
> or what.

One of the technical problems is that core cannot decide one day that
current pluggable functions are no longer pluggable. Many plugins
would stop working as expected because the pluggable functions they
include will no longer override those in core. Particularly poorly
written plugins may even cause fatal errors if they're blindly
overriding pluggable functions without wrapping them in a
function_exists() check.

One ticket addressing pluggable functions is here:
http://core.trac.wordpress.org/ticket/8833

John


More information about the wp-hackers mailing list