Changes between Initial Version and Version 1 of Ticket #64080, comment 14
- Timestamp:
- 10/27/2025 05:03:35 PM (7 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #64080, comment 14
initial v1 3 3 `WP_Upgrader::create_lock()` creates a lock into the database with an INSERT query, bypassing what ever is used for handling/priming options cache. And since `get_option( 'lock.lock' );` is returning `false` right after INSERT, it's triggering "[https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-admin/includes/class-wp-upgrader.php#L1069-L1072 If a lock couldn't be created, and there isn't a lock, bail.]" and not being able to re-create the lock. 4 4 5 This code presents the problem in caching 5 6 {{{#!php 6 7 <?php