Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10813 closed defect (bug) (invalid)

Unused code in page.php and post.php

Reported by: xknown Owned by:
Priority: lowest Milestone:
Component: General Version: 2.8.4
Severity: trivial Keywords: has-patch
Cc: Focuses:

Description

It seems "editattachment" action is no longer used in page.php and post.php. I was unable to find nonces starting with "update-attachment_". They are required by check_admin_referer in this action.

Attachments (1)

10813-unused-code-post-page.diff​ (1.4 KB ) - added by xknown 17 years ago.
remove unused code

Download all attachments as: .zip

Change History (2)

#1 @Denis-de-Bernardy
17 years ago

  • Milestone Unassigned
  • Resolution → invalid
  • Status new → closed

I see it used in media.php

Note: See TracTickets for help on using tickets.