mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
f7d7bc2dd0
commit
d0e599c50b
@ -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' );
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user