Broken Customizer page

Problem solved! Seems that there was a conflict in the .htaccess file. Even though all plugins were disabled, but their codes were not removed. (And now the plugins are not writing to it even though it’s writable). And I don’t manually edit the file. So, restoring the .htaccess file to the cPanel + WordPress default … Read more

Programmatically emulate viewing a post in wp-admin

I ended up using curl to login to the wp-admin page and sent a request to each post that misses the qr code. <?php $curl = curl_init(); //—————- generic cURL settings start —————- $header = array( “Referer: https://my.wordpress.com/wp-login.php”, “Origin: https://my.wordpress.com”, “Content-Type: application/x-www-form-urlencoded”, “Cache-Control: no-cache”, “Pragma: no-cache”, “Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8”, “User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X … Read more