[wp-trac] [WordPress Trac] #25202: IS_PROFILE_PAGE not detectable by plugins on Network/user-edit page
WordPress Trac
noreply at wordpress.org
Wed Sep 4 21:20:15 UTC 2013
#25202: IS_PROFILE_PAGE not detectable by plugins on Network/user-edit page
--------------------------+----------------------
Reporter: Ipstenu | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Multisite | Version:
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+----------------------
Comment (by nacin):
IS_PROFILE_PAGE is always defined on user-edit.php or profile.php. On
profile.php, it is defined as true. On user-edit.php, if it is not
defined, it is defined as false (or true, if you managed to hit your
profile directly via user-edit.php).
I am not sure why MP6 wasn't working here. But I wouldn't recommend ever
consulting IS_PROFILE_PAGE directly.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25202#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list