Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #63086, comment 18


Ignore:
Timestamp:
03/15/2025 10:15:57 AM (10 months ago)
Author:
SirLouen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63086, comment 18

    v1 v2  
    22> @SirLouen I tested your snippet and I can see the difference after switching: the warning and value of `$is_block_theme` is `false` when using the `plugins_loaded` callback. Is that the difference you're talking about?
    33
    4 I'm not 1000% because I have not read all the context, but this is just a notice `_doing_it_wrong`. It's not "protecting" anything but the developer to code wrongly.
     4It's not a warning.
     5
     6I'm not 1000% of the background intentions because I have not read all the context with detail, but from what I see at first sight, this is just a notice with `_doing_it_wrong`. It's not "protecting" anything but the developer to code wrongly.
    57
    68It's merely a developer notice that is informing of what you are saying here: