3

My Wordpress site has become kinda slow and unresponsive, so I am trying what can I do to speed it up by eliminating unnecessary database queries and other things. I stumbled across suggestion found at https://yoast.com/wordpress-performance-optimization where it says that the function is_blog_installed is useless on running site. https://codex.wordpress.org/Function_Reference/is_blog_installed The comments on article are from 2009. Can we safely remove it without breaking anything now or in the future?

 1. open up wp-includes/functions.php 
 2. find the function is_blog_installed() 
 3. add return true; as the first line of the function
1
  • 1
    Don't edit core. Anything and everything you write in core will be overwritten on update. Your best bet is to look into caching and upgrading your server to something better.
    – Howdy_McGee
    Jan 5, 2016 at 14:50

1 Answer 1

2

You Could, but I would never ever mess with core files.

Apart from that I do not believe that the is_blog_installed() function causes your site to be unresponsive. Try disabling all plugins first, and set the theme to one of the default themes. Updating your site, plugins and themes could help you as well. Try to narrow your problem down. I suspect it's either in a theme or plugin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.