[wp-trac] [WordPress Trac] #6670: Creating,
editing and managing links causes various Notices
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 10 19:42:40 GMT 2008
#6670: Creating, editing and managing links causes various Notices
----------------------------+-----------------------------------------------
Reporter: simonwheatley | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5.1
Component: Administration | Version: 2.5
Severity: normal | Keywords: has-patch needs-testing
----------------------------+-----------------------------------------------
Steps to reproduce:
1. Define the constant WP_DEBUG in wp_config.php
2. Add/edit/manage links in the admin area
3. Check the PHP error log, and you should see:
Notice:Undefined index: added in /Users/simon/Projects/WordPress-2.5/site
/wp-admin/link-add.php:21
Notice:Undefined property: stdClass::$link_description in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-link-form.php:95
Notice:Undefined property: stdClass::$link_target in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-link-form.php:142
Notice:Undefined property: stdClass::$link_target in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-link-form.php:145
Notice:Undefined property: stdClass::$link_rel in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-link-form.php:160
Notice:Undefined property: stdClass::$link_rel in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-link-form.php:17
Notice:Undefined property: stdClass::$link_image in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-link-form.php:273
Notice:Undefined property: stdClass::$link_rating in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/edit-link-form.php:289
Notice:Undefined index: deletebookmarks in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/link.php:9
Notice:Undefined index: link_visible in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/includes/bookmark.php:16
Notice:Undefined index: link_owner in
/Users/simon/Projects/WordPress-2.5/site/wp-includes/bookmark.php:250
Notice:Undefined index: link_name in
/Users/simon/Projects/WordPress-2.5/site/wp-admin/link-add.php:21
Notice:Undefined index: s in /Users/simon/Projects/WordPress-2.5/site/wp-
admin/link-manager.php:81
Notice:Undefined variable: i in /Users/simon/Projects/WordPress-2.5/site
/wp-admin/link-manager.php:164
--
Ticket URL: <http://trac.wordpress.org/ticket/6670>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list