function wp_network_dashboard_right_now() { $actions = array
();
if ( current_user_can( 'create_sites'
) ) { $actions['create-site'
] = '<a href="' .
network_admin_url( 'site-new.php'
) . '">' .
__( 'Create a New Site'
) . '</a>';
} if ( current_user_can( 'create_users'
) ) { $actions['create-user'
] = '<a href="' .
network_admin_url( 'user-new.php'
) . '">' .
__( 'Create a New User'
) . '</a>';
} $c_users =
get_user_count();
$c_blogs =
get_blog_count();
/* translators: %s: Number of users on the network. */
$user_text =
sprintf( _n( '%s user', '%s users',
$c_users ),
number_format_i18n( $c_users ) );
/* translators: %s: Number of sites on the network. */
$blog_text =
sprintf( _n( '%s site', '%s sites',
$c_blogs ),
number_format_i18n( $c_blogs ) );
/* translators: 1: Text indicating the number of sites on the network, 2: Text indicating the number of users on the network. */
$sentence =
sprintf( __( 'You have %1$s and %2$s.'
),
$blog_text,
$user_text );
if ( $actions ) { echo '<ul class="subsubsub">';