Make WordPress Core


Ignore:
Timestamp:
01/18/2010 08:34:48 PM (17 years ago)
Author:
ryan
Message:

Coding standards, space after if

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r12728 r12752  
    166166                                                if ( '.' == dirname($plugin) ) {
    167167                                                        $files_to_delete[] = WP_PLUGIN_DIR . '/' . $plugin;
    168                                                         if( $data = get_plugin_data(WP_PLUGIN_DIR . '/' . $plugin) )
     168                                                        if ( $data = get_plugin_data(WP_PLUGIN_DIR . '/' . $plugin) )
    169169                                                                $plugin_info[ $plugin ] = $data;
    170170                                                } else {
    171171                                                        //Locate all the files in that folder:
    172172                                                        $files = list_files( WP_PLUGIN_DIR . '/' . dirname($plugin) );
    173                                                         if( $files ) {
     173                                                        if ( $files ) {
    174174                                                                $files_to_delete = array_merge($files_to_delete, $files);
    175175                                                        }
     
    506506                </select>
    507507                <input type="submit" name="doaction_active" value="<?php esc_attr_e('Apply'); ?>" class="button-secondary action" />
    508         <?php if( 'recent' == $context ) : ?>
     508        <?php if ( 'recent' == $context ) : ?>
    509509                <input type="submit" name="clear-recent-list" value="<?php esc_attr_e('Clear List') ?>" class="button-secondary" />
    510510        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.