[wp-trac] [WordPress Trac] #14410: Unexpected output incorrectly reported during plugin activation
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 24 20:43:46 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 nacin):
It looks like it is the only function that isn't already wrapped in a
function_exists(). Not sure why it would get included twice -- perhaps you
have another plugin that also uses that function?
Also, a suggestion (as a faithful user of this plugin on a multisite
install). For your WPMS_ON constant, it would be better to simply rely on
is_multisite() where appropriate, and also is_plguin_active_for_network()
where appropriate, as we now have both in 3.0 and it is much easier to
identify when a plugin is activated network-wide now.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14410#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list