update = remove code

At the moment, WordPress replaces core files when it updates. This will change in the future, but for now all core files get replaced, i.e. every file that comes with WordPress. This includes the default twenty ten theme. If you modify twenty ten you should save your modified theme with a different name. To do … Read more

Should I upgrade?

Yes, you should apply this update. To elaborate: WordPress releases major core updates (ie. 4.4.x to 4.5.x) regularly, about 2-3 times each year. In between these they will also release minor updates (ie. 4.4.1 to 4.4.2). The major updates typically introduce new functionality, enhance current functionality, and address non-critical bugs. The minor updates typically address … Read more

Theme broken after upgrading to WordPress 4.5, missing stylesheet?

It turns out that the ThemeWoot Emulate theme registers and enqueues a common.css file with the key of common in it’s themewoot.php (which is being included in functions.php). This key is apparently conflicting with a wp-admin script being registered with the same common key, and so, instead of including Emulate’s common.css, it’s enqueuing and injecting … Read more

Some wp-admin folder file deleted when WordPress upgrade

Both wp-includes and wp-admin folders contain core files of WordPress. You should never modify any of them, because it is crucial for WP to be able to change these folders during updates. Almost the same is true for all WP files placed in root folder – wp-config.php is the only file that WP won’t overwrite … Read more

Why is WordPress asking me to update my new (virtually blank) theme?

In addition to having the same name, I think it checks the folder name first for updates. You should also change your folder name if you are planning to distribute publicly, or if this is private, you can exclude it from update checks: http://markjaquith.wordpress.com/2009/12/14/excluding-your-plugin-or-theme-from-update-checks/. It would still probably be better to make the names in … Read more

Can I upgrade plugins via FTP?

Short answer: yes you can upgrade your plugins via FTP. Download the new version of the plugin. Disable the plugin you are about to update. Upload files over the top of the plugin. Re-enable plugin If the plugin is written well stats, settings and options should remain intact. As Rarst has already mentioned the automated … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)