Make WordPress Core


Ignore:
Timestamp:
03/17/2010 04:27:25 PM (17 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

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

    r13661 r13733  
    863863        foreach ( $taxonomy_names as $taxonomy_name ) {
    864864                $taxonomy = get_taxonomy( $taxonomy_name);
    865                
     865
    866866                if( !$taxonomy->show_ui ) continue;
    867                
     867
    868868                if( $taxonomy->hierarchical )
    869869                        $hierarchical_taxonomies[] = $taxonomy;
    870                 else 
     870                else
    871871                        $flat_taxonomies[] = $taxonomy;
    872872        }
    873        
     873
    874874        $columns = wp_manage_posts_columns($screen);
    875875        $hidden = array_intersect( array_keys( $columns ), array_filter( get_hidden_columns($screen) ) );
    … …  
    966966
    967967        <fieldset class="inline-edit-col-center inline-edit-categories"><div class="inline-edit-col">
    968        
     968
    969969<?php foreach ( $hierarchical_taxonomies as $taxonomy ) : ?>
    970970
    … …  
    29742974
    29752975 * @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags.
    2976  * @param string $title Formatted title of the section. Shown as the heading for the section. 
     2976 * @param string $title Formatted title of the section. Shown as the heading for the section.
    29772977 * @param string $callback Function that echo's out content for the section heading.
    29782978 * @param string $page The slug-name of the settings page on which to show the section (general, reading, writing, ...).
    … …  
    30003000 * The $callback argument should be the name of a function that echoes out the
    30013001 * html input tags for this setting field. Use get_option() to retrive existing
    3002  * values to show. 
     3002 * values to show.
    30033003 *
    30043004 * @since 2.7.0
    … …  
    31033103 *
    31043104 * @global array $wp_settings_errors Storage array of errors registered during this pageload
    3105  * 
     3105 *
    31063106 * @param string $setting Slug title of the setting to which this error applies
    31073107 * @param string $code Slug-name to identify the error. Used as part of 'id' attribute in HTML output.
    … …  
    31303130 * pageload and returns them.
    31313131 *
    3132  * If changes were just submitted ($_GET['updated']) and settings errors were saved 
     3132 * If changes were just submitted ($_GET['updated']) and settings errors were saved
    31333133 * to the 'settings_errors' transient then those errors will be returned instead. This
    31343134 * is used to pass errors back across pageloads.
    … …  
    31783178 *
    31793179 * Part of the Settings API. Outputs a <div> for each error retrieved by get_settings_errors().
    3180  * 
     3180 *
    31813181 * This is called automatically after a settings page based on the Settings API is submitted.
    31823182 * Errors should be added during the validation callback function for a setting defined in register_setting()
    … …  
    33013301function favorite_actions( $screen = null ) {
    33023302        global $post_type_object;
    3303        
     3303
    33043304        $default_action = false;
    3305        
     3305
    33063306        if ( is_string($screen) )
    33073307                $screen = convert_to_screen($screen);
    3308                
     3308
    33093309        if ( isset($post_type_object) ) {
    33103310                switch ( $screen->id ) {
    … …  
    33173317                }
    33183318        }
    3319        
     3319
    33203320        if ( !$default_action ) {
    33213321                switch ( $screen->id ) {
Note: See TracChangeset for help on using the changeset viewer.