Changeset 734883
- Timestamp:
- 07/02/2013 12:37:45 AM (11 years ago)
- Location:
- wp-butler/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-butler/trunk/readme.txt
r668890 r734883 6 6 Requires at least: 3.1 7 7 Tested up to: 3.5 8 Stable tag: 2.0. 18 Stable tag: 2.0. 9 9 10 10 Provides a text field in the WP Admin allowing you to jump to common WP Actions. … … 44 44 45 45 == Changelog == 46 47 48 49 46 50 47 51 = 2.0.1 = -
wp-butler/trunk/wp-butler.php
r668890 r734883 4 4 Plugin URI: http://wpbutler.com 5 5 Description: WP Butler brings you what you need in the Wordpress Admin. An autocomplete menu to let you jump to all the common tasks you may need to perform, just hit <code>shift+alt+b</code>! 6 Version: 2.0. 16 Version: 2.0. 7 7 Author: Japh 8 8 Author URI: http://japh.com.au … … 432 432 'number' => 10, 433 433 ); 434 $users = get_users( $params ); 434 435 $users = array(); 436 437 if ( is_multisite() ) { 438 439 $blogs = get_blogs_of_user( get_current_user_id() ); 440 441 foreach ( $blogs as $blog ) { 442 $params['blog_id'] = $blog->userblog_id; 443 $blog_users = get_users( $params ); 444 445 foreach ( $blog_users as $user ) { 446 if ( ! in_array( $user, $users ) ) { 447 $users[] = $user; 448 } 449 } 450 451 } 452 453 } 454 else { 455 $users = get_users( $params ); 456 } 435 457 436 458 $actions = array();
Note: See TracChangeset
for help on using the changeset viewer.