WordPress.org

Make WordPress Core

#45129 closed defect (bug) (invalid)

Preview button open new tab instead of previous one

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

Description

In admin, after clicking a second time (and more) on Preview button in post editing, a new tab is opened instead of refresh previous tab already opened with new version of the post and focus to this previous tab.

The problem occurs after "Save draft..." mention on bottom of the page.

Problem occurs with Firefox (current version : 62.0.3 (64-bit), Ubuntu) with all addons disabled. Try resetting Firefox, problem still here.

With Chromium (current version : 69.0.3497.81, Ubuntu), the previous tab is refresh but still focus on admin post edit instead of swith to post preview tab.

Change History (5)

#1 follow-up: @mukesh27
21 months ago

  • Component changed from Administration to Posts, Post Types
  • Resolution set to worksforme
  • Severity changed from normal to minor
  • Status changed from new to closed

It's working fine for me in Firefox Version 62.0.3 ( 64-bit ), Ubuntu and Google Chrome Version 69.0.3497.81 (64-bit).

#2 in reply to: ↑ 1 @dreamon11
21 months ago

Replying to mukesh27:

It's working fine for me in Firefox Version 62.0.3 ( 64-bit ), Ubuntu and Google Chrome Version 69.0.3497.81 (64-bit).

Cool, I didn't know if it's working for you, it's working for everyone. Thanks.

#3 follow-up: @SergeyBiryukov
21 months ago

  • Keywords reporter-feedback added
  • Resolution worksforme deleted
  • Severity changed from minor to normal
  • Status changed from closed to reopened

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

Could you test WordPress 5.0 Beta 1 to see if the issue still happens there?

#4 in reply to: ↑ 3 @dreamon11
21 months ago

Replying to SergeyBiryukov:

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

Could you test WordPress 5.0 Beta 1 to see if the issue still happens there?

Thanks for help @SergeyBiryukov!

I managed to solve the problem yesterday: it was evercookie (https://github.com/samyk/evercookie). Since I remove this code (which activate evercookie):

<script>
  var ec = new evercookie(); 
</script>

it works fine. I don't know why :/

#5 @SergeyBiryukov
21 months ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from reopened to closed

Thanks for the follow-up!

Note: See TracTickets for help on using tickets.