How is the WordPress.org plugin download history calculated?

I’ve answered a similar Question: Does the number of downloads displayed for a plug-in in the WordPress.org plug-in directory include automatic updates? This is Otto’s blog post in make.wordpress.org with plenty of information about this stats. Excerpts from the whole page (article and comments), worth reading in full: First, on the extend plugin directory, you … Read more

How do I retrieve a list of popular plugins using the WordPress.org Plugin API?

I was wrong in the earlier version of the answer and 1.1 version of the API does support this via GET request. The basic request would be: https://api.wordpress.org/plugins/info/1.1/?action=query_plugins&request[browse]=popular And you can add more parameters by sticking with request passed as “array” (in GET interpretation of). See the [poor] documentation in Codex and links from there … Read more

Making plugin unique to not conflict with plugins with the same name

Do you need the “View Details” link? It shouldn’t show up unless it’s a WP hosted plugin. Could you just name the plugin whatever you want, but change it with JS in the admin function my_enqueue($hook) { if ( ‘plugins.php’ != $hook ) { return; } wp_enqueue_script( ‘my_custom_script’, plugin_dir_url( __FILE__ ) . ‘changeName.js’, array( ‘jquery’ … Read more

“Donate to this plugin” for WordPress.org Plugin Authors

It is read from the infos on your plugins readme.txt. Example from my Default Values for Attachments === Plugin Name === Contributors: moraleida.me Donate link: http://moraleida.me/ Tags: attachments, default values, caption, title, description Requires at least: 2.5 Tested up to: 3.3.2 Stable tag: 0.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

WP.org API: Accessing plugin downloads “Today” value?

Late answer A mini plugin as local API This plugin gives you – after you filled in the slug of your repository – the downloads stats as array. The keys are the dates, the values the downloads. <?php /** Plugin Name: (#84254) Plugin stats API */ function wpse84254_get_download_stats() { $response = wp_remote_request( add_query_arg( ‘slug’ ,’YOUR-REPO-PLUGIN-SLUG’ … Read more

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