Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51507, comment 1


Ignore:
Timestamp:
02/13/2024 03:40:45 PM (16 months ago)
Author:
ttodua
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51507, comment 1

    initial v1  
    77var_dump(  microtime(true)- $x );
    88}}}
    9 However, this above approach requires a dummy `wp-config.php` file to exist. So there might be also need to make a check in `wp-config.php` so as when `SHORTINIT_WITHOUT_DB` is set, it should not for check `wp-config` existence..
    10 
    11 However, in the meanwhile to avoid any check for `wp-config.php` existence, this can be used as an alternative too:
    12 
    13 {{{
    14 ...
    15 define( 'ABSPATH', __DIR__ . '/src/' );
    16 require(__DIR__."/src/wp-settings.php");
    17 ...
    18 }}}