In some requests, my theme’s index.php is displaying instead of my home page
In some requests, my theme’s index.php is displaying instead of my home page
In some requests, my theme’s index.php is displaying instead of my home page
The problem with loading the menu and the bell button
If something on the page expires sooner than that pages cache then you will end up in this situation or an analogue/equivalent situation. So in the strictest sense the answer is a hard no. Either the nonce expiration has to increase, making the nonce less secure, the cache has to decrease so that the things … Read more
I don’t have full confirmation that they no longer see out of memory issues, but from logging the memory usage at shutdown it appears that this memory issue has likely been reduced by setting the following option in the get_posts call in cartflows: ‘update_post_meta_cache’ => false Obviously this isn’t ideal as a plugin update will … Read more
Waiting Time after Renaming pattern files in theme/patterns folder
It’s not clear if you’re trying to load these files on frontend or backend. For the backend I usually do this: define(‘MY_PLUGIN_DIR_URL’, plugin_dir_url(__FILE__)); //LOAD ADMIN/BACKEND CSS STYLES add_action(‘admin_enqueue_scripts’, ‘my_plugin_enqueue_style_and_scripts’, 99); function my_plugin_enqueue_style_and_scripts() { $timestamp = time(); wp_enqueue_style(‘my-plugin-backend’, MY_PLUGIN_DIR_URL.’/css/style.css’, false, $timestamp, ‘all’); wp_enqueue_script( ‘my-plugin-backend’, MY_PLUGIN_DIR_URL.’/js/script.js’, array( ‘signature’ ), $timestamp, true ); } You doesn’t need to … Read more
That added the Settings menu at the left for a logged in Author. Because the author role now has the required capabilities. Then I removed the second line above and the Settings menu remains! That’s because role data is stored in dedicated tables the same way as user meta and posts. It’s not like post … Read more
wp_localize_script being cached
I had the same issue lately and you need to configure WP_REDIS_PREFIX in wp-config.php define( ‘WP_REDIS_PREFIX’, ‘your_unique_key_for_each_wp_instance_’ ); for each WP site. This solved my case.
“Object-cache.php” disables wp_cron and even disables my entire site, and keeps reappearing by itself again after I delete it