Changes between Initial Version and Version 2 of Ticket #53830
- Timestamp:
- 07/29/2021 10:10:26 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53830
- Property Keywords needs-patch good-first-bug added
-
Property
Milestone
changed from
Awaiting Review
to5.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.1 Similar 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. 2 2 3 3 The filter is adding the default scripts on `'init'`, and the offending code is found in `wp-includes/script-loader.php`: … … 16 16 }}} 17 17 18 It was introduced via https://core.trac.wordpress.org/changeset/50129.18 It was introduced via [50129]. 19 19 20 20 As suggested by @swissspidy, the `wp_create_nonce()` call should be wrapped like the following: