Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42656, comment 2


Ignore:
Timestamp:
12/16/2018 04:16:29 PM (6 years ago)
Author:
podpirate
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42656, comment 2

    initial v1  
    33{{{function determine_locale()}}} is checking for {{{$GLOBALS['pagenow']}}} in line 141. As a result, a network activated plugin, which is using one of the WP l10n functions during startup will cause a {{{PHP Notice undefined index…}}} notice on the login popup window.
    44
    5 From a network administrator's point of view, I would not expect a big difference between a network-wide activated plugin and a plugin that I activated on every site in the network individually. (unless the plugin provides some network-specific funtionality)
     5From a network administrator's point of view, I would not expect a big difference between a network-wide activated plugin and a plugin that I activated on every site in the network individually. (unless the plugin provides some network-specific funtionality)\\
     6**EDIT:** e.g. plugins that call {{{wp_is_mobile()}}} outside a hook will work well on single-site activation, but will cause a WSOD on network-activation.
    67
    78Plugin authors (or at least a considerable majority of them), might expect the wp core to reliably provide an identical environment, in both cases network activation and single-site activation.