[wp-trac] [WordPress Trac] #25202: IS_PROFILE_PAGE not detectable by plugins on Network/user-edit page
WordPress Trac
noreply at wordpress.org
Sun Sep 1 04:56:00 UTC 2013
#25202: IS_PROFILE_PAGE not detectable by plugins on Network/user-edit page
--------------------------+------------------------------
Reporter: Ipstenu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by dd32):
You're both "right".
IS_PROFILE_PAGE is defined in single-site for both user-edit AND
profile.php. It's defined as true when it's your own profile, false when
it's not. It's not defined in the Network Admin at all. ever.
It's, IMHO, a vestige of the past and only there for compatibility
purposes. MP6 and other plugins shouldn't be using it. Instead, plugins
should be checking what the current screen is instead.
IMHO, This is a invalid/wontfix ticket.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25202#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list