WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33900, comment 8


Ignore:
Timestamp:
04/16/2016 08:40:41 PM (4 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33900, comment 8

    initial v1  
    99Tangentially, the assumed `1` main network ID return value bothers me. A new default constant makes sense here, itself defaulted to `1` in WordPress core. And it can still be overridden in `sunrise.php` or `wp-config.php`. It's edge-case, but I've already needed to kludge this because a new network with a few sites took the place of the original one.
    1010
    11 So for each of the 3 cases, I'd like for the `1` default return value to be configurable in some way.
     11So for each of the 3 cases, I'd like for the `1` default return value to be configurable in some way. That could be handled in it's own ticket, too, since it's a separate initiative and could cascade into the default `$blog_id` too?