Make WordPress Core


Ignore:
Timestamp:
11/26/2009 11:41:37 AM (15 years ago)
Author:
azaozz
Message:

Fix notice in bulk edit posts, props dd32, fixes #11184

File:
1 edited

Legend:

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

    r12277 r12285  
    10611061
    10621062        $authors = get_editable_user_ids( $current_user->id, true, $type ); // TODO: ROLE SYSTEM
     1063        $authors_dropdown = '';
    10631064        if ( $authors && count( $authors ) > 1 ) :
    10641065            $users_opt = array('include' => $authors, 'name' => 'post_author', 'class'=> 'authors', 'multi' => 1, 'echo' => 0);
    10651066            if ( $bulk )
    10661067                $users_opt['show_option_none'] = __('- No Change -');
    1067 
    1068         $authors_dropdown  = '<label>';
    1069         $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>';
    1070         $authors_dropdown .= wp_dropdown_users( $users_opt );
    1071         $authors_dropdown .= '</label>';
     1068            $authors_dropdown  = '<label>';
     1069            $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>';
     1070            $authors_dropdown .= wp_dropdown_users( $users_opt );
     1071            $authors_dropdown .= '</label>';
    10721072
    10731073        endif; // authors
Note: See TracChangeset for help on using the changeset viewer.