Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#6671 closed defect (bug) (duplicate)

Browsing the wp-admin manage screen causes various Notices

Reported by: simonwheatley Owned by: westi
Priority: normal Milestone:
Component: Administration Version: 2.5
Severity: normal Keywords: needs-patch
Cc: Focuses:

Description

Steps to reproduce:

  1. Define the constant WP_DEBUG in wp_config.php
  1. Click around the manage categories screen
  1. Check the PHP error log, and you should see:

Notice:Undefined index: s in /Users/simon/Projects/WordPress-2.5/site/wp-admin/categories.php:129
Notice:Undefined variable: category in /Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-category-form.php:15
Notice:Trying to get property of non-object in /Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-category-form.php:25
Notice:Trying to get property of non-object in /Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-category-form.php:30
Notice:Trying to get property of non-object in /Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-category-form.php:35
Notice:Trying to get property of non-object in /Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-category-form.php:41
Notice:Trying to get property of non-object in /Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-category-form.php:47

Attachments (1)

manage_categories.patch (4.0 KB ) - added by simonwheatley 18 years ago.
Patch to reduce the amount of Notices generated when on manage categories screen

Download all attachments as: .zip

Change History (3)

@simonwheatley
18 years ago

Patch to reduce the amount of Notices generated when on manage categories screen

#1 @westi
18 years ago

  • Keywords needs-patch added; has-patch needs-testing removed
  • Milestone 2.5.12.6
  • Owner changed from anonymous to westi
  • Status newassigned

2.6 is a more appropriate target for these fixes.

Just adding @ is not the right fix.

#2 @jacobsantos
18 years ago

  • Milestone 2.9
  • Resolutionduplicate
  • Status assignedclosed

Duplicate of #6669

Note: See TracTickets for help on using tickets.