[wp-trac] [WordPress Trac] #15285: PHP notices when doing quick edit of link categories

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 2 05:16:47 UTC 2010


#15285: PHP notices when doing quick edit of link categories
--------------------------+-------------------------------------------------
 Reporter:  solarissmoke  |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.1            
 Severity:  minor         |    Keywords:  dev-feedback   
--------------------------+-------------------------------------------------
 I was editing some link categories (debug enabled) and came across the
 following when trying to "quick edit" a category:

 {{{
 PHP Notice:  Undefined variable: type in \wp-admin\includes\class-wp-
 terms-list-table.php on line 344
 PHP Notice:  Undefined property: stdClass::$taxonomy in \wp-admin\includes
 \class-wp-terms-list-table.php on line 344
 }}}

 These are passed to the quick_edit_custom_box action - remnants from the
 old inline_edit_term_row function which has been removed - see #14579.

 Proposed patch to follow, although I'm not confident it's appropriate.

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


More information about the wp-trac mailing list