[wp-meta] [Making WordPress.org] #3870: Update total plugin counter in WP.org

Making WordPress.org noreply at wordpress.org
Sun Oct 14 23:59:48 UTC 2018


#3870: Update total plugin counter in WP.org
-----------------------------+---------------------
 Reporter:  vaishalipanchal  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  low              |   Milestone:
Component:  General          |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+---------------------

Comment (by dd32):

 @vaishalipanchal It'll probably need code such as:
 {{{
 $number = 50000;
 if ( defined( 'WPORG_PLUGIN_DIRECTORY_BLOGID' ) ) {
     switch_to_blog( WPORG_PLUGIN_DIRECTORY_BLOGID )
     $number = count posts..
     restore_current_blog()
 }
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3870#comment:6>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list