Check for files and database integrity

From development point of view the most practical way to detect and locate changes is version control – comparing against SVN/Git checkout of core or use such checkout directly. However there are also plugins around that verify files against set of hashes. I think Sucuri Security recently got such feature. The practical limitation of them … Read more

WordPress updates and Git

In my readings (and as mentioned in OP comments) the best practice seemed to be focusing on the /wp-content/ folder, or specific custom contents therein. Syncing all the core files and third party plugins just causes headaches and unnecessary version monitoring. I had troubles with this myself, but it’s best to remove the mentality that … Read more

Can a manually uploaded plugin be made to track updates from the WordPress.org plugin directory?

As long as everything was made according to WP best practices all your manually installed versions will update the same as the ones installed from wordpress.org. The updater looks at many things to identify your plugin. However, the most important is the plugin URI (you can change the directory of many plugins and they will … Read more

Same theme name issue with wordpress repository theme

WP checks for updates by sending data about all plugins and themes to the repository. To prevent false update messages for your own code you need to selectively scrub it out of those requests. The example for theme by Mark Jaquith: function cws_hidden_theme_12345( $r, $url ) { if ( 0 !== strpos( $url, ‘http://api.wordpress.org/themes/update-check’ ) … Read more

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