Computer wakes up from suspend when bluetooth headphones are turned on

Running Ubuntu 19.04. Steps to reproduce: Bluetooth headphones are paired but turned off. Computer is suspended. Turn on headphones. Expected: The computer should remain suspended. The headphones should not connect to the computer. Actual: The computer wakes from suspend and the headphones connect to the computer. Any help would be greatly appreciated. I can provide…

Details

WP_Query of custom post type sorted by meta_key has unexpected results

I do not understand why my code outputs the events in a seemingly random order. It’s not sorting by the start_time as I would expect. <?php $args = array( ‘post_type’ => ‘events’, ‘order’ => ‘ASC’, ‘order_by’ => ‘meta_value’, ‘meta_key’ => ‘start_time’, ‘post_status’ => ‘publish’, ‘nopaging’ => true, ); $the_query = new WP_Query( $args ); if($the_query->have_posts())…

Details