Is there a maintenance mode in WordPress core?

Yes there is. But it is primarily meant for short interruptions (such as during upgrades) and not very user-friendly. WP creates .maintenance file in root (with timestamp info about time) to trigger it and removes after it is done. See WordPress Maintenance Mode Without a Plugin for reference. In practice using a plugin is usually … Read more

Get Latest Plugin Version from WP API

Ok – here is a method – thanks to @Rarst for pointing me in the right direction. Include the require file if the plugins_api function is not found: if ( ! function_exists( ‘plugins_api’ ) ) { require_once( ABSPATH . ‘wp-admin/includes/plugin-install.php’ ); } Then, prepare a query to pass to plugins_api(): // set the arguments to … Read more

Selling WordPress sites?

Please read through the following: http://codex.wordpress.org/License http://wordpress.org/about/license/ http://en.wikipedia.org/wiki/GPL http://www.gnu.org/licenses/gpl.html You can’t can sell it as software or development, although and/or you can also charge for maintanance and install. Anyway, you should at least donate to the plugin developers, if you make money with their work somehow. EDIT I’m am sorry for my previous lines: I … Read more

Automating deprecated call checks?

I was inspired by your question to create a plugin that I’ve been kicking the can on for several months. I’m calling it Deprecation Checker. By default, it scans the plugin and theme directories (recursively) to find deprecated functions. The functions list is sourced directly from the WP deprecated files. It then outputs a nice … Read more

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