Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54459, comment 3


Ignore:
Timestamp:
11/17/2021 02:45:53 PM (5 years ago)
Author:
PieWP

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54459, comment 3

    initial v1  
    11@joostdevalk `get_option` contains a recursion on [https://github.com/jdevalk/wordpress-develop/blob/65e07520cfb7b68db3b7ac8e6472fe3d7c53ef92/src/wp-includes/option.php#L109| line 109] maybe you want to update your patch to also pass the parameter there.
    22
    3 @desrosj yes there are multiple ways, but they require more effort than a `simple` third argument being passed. My current workaround consists of checking the wp cache, if its not cached it was not autoloaded.
     3@desrosj yes there are multiple ways, but they require more effort than simply passing a third argument doing all the logic for you. My current workaround consists of checking the wp cache, if its not cached it was not autoloaded.
    44
    55