Fix inverted logic. phpdoc update. Props nacin. fixes #11935

git-svn-id: http://svn.automattic.com/wordpress/trunk@12754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-18 22:34:16 +00:00
parent f7d7bc2dd0
commit d0e599c50b
2 changed files with 3 additions and 3 deletions

View File

@ -592,9 +592,9 @@ function populate_roles_280() {
}
/**
* Create and modify WordPress roles for WordPress 2.8.
* Create and modify WordPress roles for WordPress 3.0.
*
* @since 2.8.0
* @since 3.0
*/
function populate_roles_300() {
$role =& get_role( 'administrator' );

View File

@ -159,7 +159,7 @@ function theme_update_available( $theme ) {
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo esc_html( $title ); if ( !current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } ?></h2>
<h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } ?></h2>
<h3><?php _e('Current Theme'); ?></h3>
<div id="current-theme">