Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#47293 closed defect (bug) (invalid)

Preview Page

Reported by: hoseinshurabi Owned by:
Priority: normal Milestone:
Component: Posts, Post Types Version:
Severity: normal Keywords:
Cc: Focuses: administration

Description

Hi there,

When I clicked on the preview button at the edit page, correctly worked, but when I changing URL of preview page to (for example) google.com;
then back to tab edit page of the panel and click again on preview not working, it shows me google.com.


Change History (4)

#1 follow-up: @SergeyBiryukov
7 years ago

  • Component General → Posts, Post Types
  • Focuses administration added
  • Keywords close added

Hi @hoseinshurabi, welcome to WordPress Trac! Thanks for the report.

The Preview page is a specifically targeted tab created with target='wp-preview-{$post->ID}', it's not meant for opening other URLs.

#2 in reply to: ↑ 1 @hoseinshurabi
7 years ago

Yep, I know,
but why jump to the latest page that URL changed to (for ex) google.com?
and why doesn't create a new tab for preview.

Replying to SergeyBiryukov:

Hi @hoseinshurabi, welcome to WordPress Trac! Thanks for the report.

The Preview page is a specifically targeted tab created with target='wp-preview-{$post->ID}', it's not meant for opening other URLs.

#3 @SergeyBiryukov
7 years ago

That's just how targeted tabs are implemented in browsers, I don't think we have control over this.

#4 @desrosj
7 years ago

  • Keywords close removed
  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → closed

I don't think we have control over this.

I agree, closing this one out.

Note: See TracTickets for help on using tickets.