WordPress.org

Make WordPress Core

Changeset 12754


Ignore:
Timestamp:
01/18/10 22:34:16 (4 years ago)
Author:
ryan
Message:

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

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r12753 r12754  
    593593 
    594594/** 
    595  * Create and modify WordPress roles for WordPress 2.8. 
    596  * 
    597  * @since 2.8.0 
     595 * Create and modify WordPress roles for WordPress 3.0. 
     596 * 
     597 * @since 3.0 
    598598 */ 
    599599function populate_roles_300() { 
  • trunk/wp-admin/themes.php

    r12753 r12754  
    160160<div class="wrap"> 
    161161<?php screen_icon(); ?> 
    162 <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> 
     162<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> 
    163163 
    164164<h3><?php _e('Current Theme'); ?></h3> 
Note: See TracChangeset for help on using the changeset viewer.