[wp-trac] [WordPress Trac] #13893: Switch has two cases for 'auto-draft'

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 14 19:18:57 UTC 2010


#13893: Switch has two cases for 'auto-draft'
--------------------------+-------------------------------------------------
 Reporter:  rvenable      |       Owner:  MarkJaquith
     Type:  defect (bug)  |      Status:  assigned   
 Priority:  low           |   Milestone:  3.0        
Component:  General       |     Version:  3.0        
 Severity:  minor         |    Keywords:             
--------------------------+-------------------------------------------------
Changes (by nacin):

  * owner:  => MarkJaquith
  * status:  new => assigned


Old description:

> See http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/meta-
> boxes.php#L73
>
> {{{
>                 case 'auto-draft':
>                         _e('Draft');
>                         break;
>                 case 'auto-draft':
>                         _e('Unsaved');
>                         break;
> }}}

New description:

 http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/meta-
 boxes.php?rev=15190#L72

 {{{
                 case 'draft':
                 case 'auto-draft':
                         _e('Draft');
                         break;
                 case 'auto-draft':
                         _e('Unsaved');
                         break;
 }}}

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13893#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list