Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#1932 closed defect (bug) (fixed)

Preview iframe breaks footer

Reported by: ringmaster's profile ringmaster Owned by: ringmaster's profile ringmaster
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: Administration Keywords: bg|has-patch
Focuses: Cc:

Description

The iframe tag is not defined as an EMPTY tag in the XHTML DTD, therefore must be closed with a discrete closing tag, not the empty element shorthand.

As a result of this incorrect closure of the preview iframe, the footer disappears from the page, along with any code (HTML or script) that is added via the admin_footer hook.

The attached patch closes the iframe properly.

Attachments (1)

post.php.diff (555 bytes) - added by ringmaster 18 years ago.
Closes the preview iframe with its own dedicated closing tag.

Download all attachments as: .zip

Change History (3)

@ringmaster
18 years ago

Closes the preview iframe with its own dedicated closing tag.

#1 @ryan
18 years ago

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

(In [3188]) Close iframe properly. Props ringmaster. fixes #1932

#2 @(none)
17 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.