[wp-trac] [WordPress Trac] #42656: Multisite Global $pagenow variable
WordPress Trac
noreply at wordpress.org
Wed Nov 22 05:25:44 UTC 2017
#42656: Multisite Global $pagenow variable
--------------------------+----------------------
Reporter: thorthecoder | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by jeremyfelt):
* status: new => closed
* version: 4.8.3 =>
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hi @thorthecoder, welcome to Trac and thanks for opening a ticket.
This looks like an issue that should be solvable by making a small
adjustment to the plugin. There's a related [https://github.com/10up
/brightcove-video-connect/issues/88 open issue] on the GitHub repository
now.
If the plugin requires `$pagenow` to determine what actions it should add
([https://github.com/10up/brightcove-video-
connect/blob/5e43545d90586a66edd7805894d329d4dc70dfb5/brightcove-video-
connect.php#L57-L65 existing code]), then that area of code can change to
run after `plugins_loaded` fires so that `$pagenow` is available to help
with the decision.
Note that this should only be an issue when configured as a must use (mu)
plugin rather than a network or site activated plugin within multisite.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42656#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list