This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Remember preview url query params #129
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
31096b4
Save history preview url params in changeset meta
mohdsayed 2b29f14
Add preview history url params to edit in preview and customize link
mohdsayed a9fd390
Add support for 4.6 and check plugin active using function_exists
mohdsayed 6a44a47
Resolve conflict with develop
mohdsayed 95e139b
Get snapshot post id from current post
mohdsayed 108c865
Get post type dynamically for save_post_ action
mohdsayed d5542c1
Remove customizer history plugin dependency and review changes.
mohdsayed 1774137
Fix JSHint issue, remove unused CustomizerBrowserHistory
mohdsayed 2c4b599
Update regex for validating id and fix get_preview_url_query_vars
mohdsayed 34246cc
Add missing url query param and re-factor save_customize_preview_url_…
westonruter ab61743
Ensure frontend preview links use the previewed URL when the changese…
westonruter 65c042b
Rename Preview Snapshot to Preview Changeset
westonruter e78ae0a
Fix passing of integer scroll
westonruter d3438ad
Remove dependency on Customizer Browser History
westonruter 3534389
Re-use get_frontend_view_link in filter for getting permalink
westonruter beaf92a
Update wp-dev-lib 85f9cf4...8b767f9: Add workaround for phpunit failu…
westonruter f12a74a
Update .travis.yml with latest from dev-lib
westonruter 4caa963
Update dev-lib with https://github.com/xwp/wp-dev-lib/pull/221
westonruter 1aec717
Add unit tests and improve method naming
westonruter f5b55cd
Ensure the current URL being previewed on the frontend is always used…
westonruter 6d9e9a9
Fix phpunit test for 4.6.1
mohdsayed 43bee5b
Fix phpunit test for 4.6.1
mohdsayed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,38 @@ | ||
sudo: false | ||
|
||
notifications: | ||
email: | ||
on_success: never | ||
on_failure: change | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- vendor | ||
- $HOME/phpunit-bin | ||
|
||
language: | ||
- php | ||
- node_js | ||
- php | ||
- node_js | ||
|
||
php: | ||
- 5.3 | ||
- 7.0 | ||
|
||
node_js: | ||
- stable | ||
- 5.3 | ||
- 7.0 | ||
|
||
env: | ||
- WP_VERSION=trunk WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=0 | ||
- WP_VERSION=4.6.1 WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=1 | ||
- WP_VERSION=trunk WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=0 | ||
- WP_VERSION=4.6.1 WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=1 | ||
|
||
install: | ||
- nvm install 4 && nvm use 4 | ||
- export DEV_LIB_PATH=dev-lib | ||
- if [ ! -e "$DEV_LIB_PATH" ] && [ -L .travis.yml ]; then export DEV_LIB_PATH=$( dirname $( readlink .travis.yml ) ); fi | ||
- source $DEV_LIB_PATH/travis.install.sh | ||
- nvm install 6 && nvm use 6 | ||
- export DEV_LIB_PATH=dev-lib | ||
- if [ ! -e "$DEV_LIB_PATH" ] && [ -L .travis.yml ]; then export DEV_LIB_PATH=$( dirname $( readlink .travis.yml ) ); fi | ||
- source $DEV_LIB_PATH/travis.install.sh | ||
|
||
script: | ||
- source $DEV_LIB_PATH/travis.script.sh | ||
- source $DEV_LIB_PATH/travis.script.sh | ||
|
||
after_script: | ||
- source $DEV_LIB_PATH/travis.after_script.sh | ||
- source $DEV_LIB_PATH/travis.after_script.sh |
Submodule dev-lib
updated
6 files
+22 −22 | .jshintrc | |
+26 −20 | .travis.yml | |
+10 −4 | check-diff.sh | |
+5 −5 | class-wordpress-readme-parser.php | |
+18 −0 | travis.install.sh | |
+3 −1 | travis.script.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!