Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#39438 closed defect (bug) (invalid)

Issue: Every links in customize page have changeset_uuid

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

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

  • Component GeneralCustomize

#2 @westonruter
10 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
10 years ago

  • Resolutioninvalid
  • Status newclosed

Dear @westonruter

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

Regards

#4 @ocean90
10 years ago

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