[wp-trac] Re: [WordPress Trac] #3370: Do not have permission to add category.

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 1 21:42:33 GMT 2006


#3370: Do not have permission to add category.
----------------------------------------+-----------------------------------
 Reporter:  computerwolf                |        Owner:  anonymous
     Type:  defect                      |       Status:  new      
 Priority:  normal                      |    Milestone:  2.0.6    
Component:  Administration              |      Version:  2.0.5    
 Severity:  normal                      |   Resolution:           
 Keywords:  category permission adding  |  
----------------------------------------+-----------------------------------
Changes (by computerwolf):

  * milestone:  => 2.0.6

Comment:

 ok, I opened up wp-admin/edit-form-ajax-cat.php and removed
 {{{
 if ( !check_ajax_referer() )
         die('-1');
 }}}

 I could then add categories just fine. I then went to delete the new test
 categories I had made and found that I got the same permission error there
 as well.

 So what change between the versions would cause check_ajax_referer() to
 fail?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3370#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list