[wp-trac] [WordPress Trac] #14410: Unexpected output incorrectly reported during plugin activation
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 24 21:00:56 UTC 2010
#14410: Unexpected output incorrectly reported during plugin activation
--------------------------+-------------------------------------------------
Reporter: chmac | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0
Severity: normal | Keywords: reporter-feedback
--------------------------+-------------------------------------------------
Comment(by chmac):
@westi: Thanks for sharing that, I really appreciate it.
@nacin: I'm also puzzled as to why the function is being created twice.
Could there be something whereby WordPress is including the file twice
maybe? I'm guessing wrapping that function in an if(!function_exists())
would resolve the issue, but it seems like a hack rather than a solution.
I'll look into the is_multisite() and is_plugin_active_for_network()
functions you mentioned. My guess is that WPMS_ON does something slightly
different, disabling the admin page and pulling the settings from
constants, but maybe I've misunderstood what you've suggested. Would you
like to post something so we can continue the discussion here:
http://www.callum-macdonald.com/2008/12/12/wp-mail-smtp-v08/
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14410#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list