[wp-hackers] call time pass by reference (PHP 5.4 in-compatibilities)
mike at newclarity.net
Fri Dec 28 23:52:32 UTC 2012
On Dec 28, 2012, at 6:43 PM, Andrew Nacin <wp at andrewnacin.com> wrote:
>> Would we consider adding a constant (with caveat) that is halfway
>> between WP_DEBUG=true and WP_DEBUG=false? One that is set true for new
>> sites but false for upgraded sites, a WP_NO_DEPRECATED constant? This way
>> plugin authors would have most of an incentive to fix deprecated usage as
>> their plugins would fail for newer sites that don't allow deprecated usage
> We simply have do_action_ref_array() pass all of its arguments to
> when WP_DEBUG is on, which would thus trigger E_WARNINGs in the situation
> I described and could then be dealt with. It'd be a good start.
Understood. I was hoping for a solution to nudge all the developers who do not use WP_DEBUG because they forget or worse are (initially) not willing to unless many people tell them otherwise.
I don't know how many there are that fit in category  but in my limited experience using other's plugins at least 1-in-3 fit in category .
More information about the wp-hackers