wp2static
wp2static copied to clipboard
Fix: return GET_LOCK query as numeric array
With the latest WordPress, PHP, and WP-CLI, I was consistently getting "Failed to acquire lock." errors until I converted the get_row $output parameter to ARRAY_N.