WP keeps looking up post thumbnail on https even though wp-config says http
WP keeps looking up post thumbnail on https even though wp-config says http
WP keeps looking up post thumbnail on https even though wp-config says http
I contacted my host service again. They just gave me the same line to insert into my .htaccess file and I told them I already tried it and it didn’t work. I then showed them my .htaccess file and they deleted the whole part that concerned their server caching. Now server caching is completely off … Read more
This appeared to be the result of (what I assume) was the User Role Editor plugin being updated, and then directly affecting the wp_user_role field on the options table of the database, which somehow led to DISALLOW_FILE_EDIT being ignored. I had to take several steps to fix this, as there were custom user roles I … Read more
Have you looked at https://codex.wordpress.org/Configuring_Automatic_Background_Updates for help? Several options in there to enable/disable updates according to your needs?
just to understand you… You have a livesite on some host which uses cpanel and you want to revert it back to your local Installation? (e.g. xamp) I think the easiest way is to use a Backup/Restore plugin. For example Akeeba Backup (free and easy to use). It also helps you to replace permalinks that … Read more
Yes and no wp_salt is the function you’re thinking of: https://core.trac.wordpress.org/browser/tags/4.8/src/wp-includes/pluggable.php#L1988 Your theory should be correct, copying the passwords over via SQL, and making sure all the salts are the same, then clearing cookies and trying to login, should do the trick. However, if we look at the code in the function, there are filters … Read more
Out of memory errors : how best to track them down
Using ini_set(“memory_limit”, “256M”); in a simple plugin works for the most part. Ugly, yes; but it appears to work in my case.
I think the problem you are going to have is that of Depreciation. As php is upgraded they will only have the libraries for mysqli installed. This may in the future cause your plugin to stop working.
Untested with your code but assuming it will be automated bots hitting your login pages you should get them straight off your site with something like this: RedirectMatch 301 wp-login.php http://www.google.com RedirectMatch 301 wp-admin http://www.google.com