Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#10813 closed defect (bug) (invalid)

Unused code in page.php and post.php

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


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 12 years ago.
remove unused code

Download all attachments as: .zip

Change History (2)

12 years ago

remove unused code

#1 @Denis-de-Bernardy
11 years ago

  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed

I see it used in media.php

Note: See TracTickets for help on using tickets.