Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #53830


Ignore:
Timestamp:
07/29/2021 10:10:26 PM (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53830

    • Property Keywords needs-patch good-first-bug added
    • Property Milestone changed from Awaiting Review to 5.9
  • Ticket #53830 – Description

    initial v2  
    1 Similar to https://core.trac.wordpress.org/ticket/39047, there's a new instance where a default filter tries to use `wp_create_nonce()` during WP installation, which throws an error as the `wp_options` table does not yet exist.
     1Similar to #39047, there's a new instance where a default filter tries to use `wp_create_nonce()` during WP installation, which throws an error as the `wp_options` table does not yet exist.
    22
    33The filter is adding the default scripts on `'init'`, and the offending code is found in `wp-includes/script-loader.php`:
     
    1616}}}
    1717
    18 It was introduced via https://core.trac.wordpress.org/changeset/50129.
     18It was introduced via [50129].
    1919
    2020As suggested by @swissspidy, the `wp_create_nonce()` call should be wrapped like the following: