Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#47293 closed defect (bug) (invalid)

Preview Page

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

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
5 years ago

  • Component changed from General to 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
5 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
5 years ago

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

#4 @desrosj
5 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I don't think we have control over this.

I agree, closing this one out.

Note: See TracTickets for help on using tickets.