Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#39438 closed defect (bug) (invalid)

Issue: Every links in customize page have changeset_uuid

Reported by: behzadg's profile behzadg Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7
Component: Customize Keywords:
Focuses: Cc:

Description

Hi,

Working on my new theme in customize page and i noticed all the links inside my theme are like this:

http://localhost/my_theme/?customize_changeset_uuid=c08410ff-d476-410e-83b9-f80dc156370c&customize_messenger_channel=preview-3

So i tried making some changes on options then save customize page, for exmaple when i right click on logo and open link in new tab, site showing me old settings and not new changes.

Then when i removing query args from link, theme changes works fine.

Where is the problem ?!

Change History (4)

#1 @johnbillion
7 years ago

  • Component changed from General to Customize

#2 @westonruter
7 years ago

  • Keywords reporter-feedback added

@behzadg the query parameters like customize_changeset_uuid and customize_messenger_channel are intentionally appearing on links in the preview. In 4.7 they help ensure that the customized state is maintained as you navigate around the site in the preview. You can open such URL in a new tab and with the customize_messenger_channel param removed and you can then navigate around the site with the customizations applied without being inside of an iframe at all—and this URL can even be shared with users who are not logged in for them to review.

When you remove the customize_changeset_uuid query param, then the requested URL will show the changes that are saved in the database when you hit “Save & Publish”. When the customize_changeset_uuid is present, then it uses the changes that were made in a given customizer session.

Can you elaborate on the issue you're facing?

#3 @behzadg
7 years ago

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

Dear @westonruter

Thanks for respond. Now i understood everything and i know its useful feature.

Regards

#4 @ocean90
7 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.