is wpdb->replace() already sanitized?

For Ques#1, You don’t need to use prepare here. Its called upon your data internally. See this line in code here – http://core.trac.wordpress.org/browser/trunk/wp-includes/wp-db.php#L1220 For Ques#2, Why are you updating a post with sql queries? You should be using WordPress API for that – http://codex.wordpress.org/Function_Reference/wp_update_post

WordPress updates

Simply put it doesn’t know. WordPress core periodically submits all the plugin data to api.wordpress.org (see wp_update_plugins()) which responds with updates available. Note that plugins are downloaded as archives, SVN doesn’t participate in the process directly and is only used as back-end storage mechanism. So “knowing” that plugin doesn’t belong is essentially when API cannot … Read more

check if WordPress website has updates remotely

There is no dedicated way to check a version of WP install remotely. On other hand this isn’t really complicated, you could scrape a page for generator meta tag or just readme.html of WP core since you would know exact location of it. For checking what’s available you can call to WordPress org updates API, … Read more

A shorter way to automatically update WordPress?

If you have this statement (by default) in your wp-config file define( ‘WP_AUTO_UPDATE_CORE’, true ); Then WP core files are automatically updated for you. This assumes that you have traffic to your site (if nobody ever visits your site, the updates won’t happen.) So your solution is actually causing more work by the server, and … Read more

Where can I see all changes for a new WordPress version?

First of all you can follow WordPress Blog and its Releases category. Another great source of information on that is page with WordPress Versions on Codex – here you can find info on every version – link to changelog (very useful – it contains list of changed files and links to trac tickets solved in … Read more

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