Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#2240 closed defect (bug) (duplicate)

Apostrophe in name or description or translation of attachment

Reported by: chtito Owned by:
Milestone: Priority: high
Severity: major Version: 2.0
Component: Administration Keywords: attachment
Focuses: Cc:


Two bugs with apostrophes and image uploading.

I signalled the first one in the translation page of the codex. One must keep from using apostrophes for the translation of image uploading related stuff otherwise the attachment popup menu won't show up.

Second bug (related): if an image has a name or description with an apostrophe in it, attachment the pop-up menu will not show up. This is a serious bug since there is no way to change the name/description of an attachment after it has been uploaded.

Both bugs are probably easy to fix. Good luck!

The easiest workaround for the moment is to remove the line include('edit-attachment-form.php'); (which is wrong anyway since this file doesn't exist) in wp-admin/post.php and replace it by include('edit-form-advanced.php'); and then remove the apostrophes in the name/description of the attachment by manually giving the id of the attachment in the address: http://yourblog.com/wp-admin/post.php?action=edit&post=85 (where 85 is the guessed number of the attachment).

Change History (2)

#1 @abhay
15 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

duplicate to ticket:2198

#2 @(none)
14 years ago

  • Milestone 2.0.1 deleted

Milestone 2.0.1 deleted

Note: See TracTickets for help on using tickets.