[wp-trac] Re: [WordPress Trac] #2938: Don't have a category selected by default

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 11 09:44:20 GMT 2006


#2938: Don't have a category selected by default
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |        Owner:  anonymous
     Type:  enhancement     |       Status:  new      
 Priority:  low             |    Milestone:  2.1      
Component:  Administration  |      Version:  2.1      
 Severity:  minor           |   Resolution:           
 Keywords:  bg|has-patch    |  
----------------------------+-----------------------------------------------
Changes (by Viper007Bond):

  * milestone:  => 2.1
  * keywords:  => bg|has-patch

Comment:

 Well, I edited {{{/wp-admin/edit-form-advanced.php}}}, but TortoiseSVN is
 being retarded and not realizing that I made any changes which means I
 can't make a patch.

 So instead, here's the needed code change (on line 77):

 {{{
 <ul id="categorychecklist"><?php
 dropdown_categories(get_settings('default_category')); ?></ul></div>
 }}}

 to this:

 {{{
 <ul id="categorychecklist"><?php dropdown_categories(); ?></ul></div>
 }}}

 I tested it and it seems to work fine. :)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2938>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list