[wp-trac] [WordPress Trac] #40682: get_current_blog_id() and get_current_network_id() are loaded before absint()
WordPress Trac
noreply at wordpress.org
Tue Oct 15 23:39:53 UTC 2024
#40682: get_current_blog_id() and get_current_network_id() are loaded before
absint()
--------------------------------+----------------------------
Reporter: wonderboymusic | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Networks and Sites | Version: 3.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
--------------------------------+----------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"59242" 59242]:
{{{
#!CommitTicketReference repository="" revision="59242"
Networks and Sites: Relocate defintion of `absint()`.
Relocate the defintion of `absint()` to `load.php` to allow it to be
available to `get_current_blog_id()` and `get_current_network_id()`. These
functions may be called by caching drop-ins, prior to the loading of
`functions.php`.
Props flixos90, geekofshire, johnjamesjacoby, sergeybiryukov,
wonderboymusic.
Fixes #40682.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40682#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list