Commit Graph

12 Commits

Author SHA1 Message Date
Ryan Boren b84f6e908c Customize: If the preview is not logged in but the admin is, perform a front page request to setup any mapped domain cookies and then retry loading the preview.
Props nacin, koopersmith
fixes #20926


git-svn-id: https://develop.svn.wordpress.org/trunk@21071 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 22:51:55 +00:00
Ryan Boren a24c284403 * Introduce remove_header_image(), reset_header_image(), set_header_image(), and get_header_image_data() for Custom_Image_Header.
* Handle all set/get of header theme mod through these methods.
* Use these methods in the customizer.

Props kovshenin, nacin, SergeyBiryukov, koopersmith.
fixes #20871


git-svn-id: https://develop.svn.wordpress.org/trunk@21037 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 00:32:19 +00:00
Daryl Koopersmith 351ecd928f Theme Customizer: Separate message url from preview url in customizer JS Previewer and PreviewFrame objects. fixes #20892.
git-svn-id: https://develop.svn.wordpress.org/trunk@21033 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 22:59:48 +00:00
Ryan Boren ab8deebae3 Customizer: Gravefully handle cookie expipration. Prompt for log in in the preview. Props ocean90, koopersmith, nacin. fixes #20876
git-svn-id: https://develop.svn.wordpress.org/trunk@21031 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 19:22:11 +00:00
Ryan Boren 6660d27cb5 Customizer: fix stuck urls and preview white screens after repeated save and activates. Props koopersmith. fixes #20868
git-svn-id: https://develop.svn.wordpress.org/trunk@21029 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 18:52:44 +00:00
Ryan Boren 6e10d0d0b4 Customizer: Redirect back to referrer. If referrer is a front end page, load that page in the customizer preview. Props nacin, koopersmith. fixes #20877
git-svn-id: https://develop.svn.wordpress.org/trunk@21028 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 18:45:12 +00:00
Ryan Boren 5abcaa52d7 Customizer: Add keyup events to sync textarea values. Props koopersmith. fixes #20879
git-svn-id: https://develop.svn.wordpress.org/trunk@21024 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-07 22:00:59 +00:00
Daryl Koopersmith f9bd63371b Theme Customizer: Allow color control inputs to change the corresponding setting (use sync instead of link). fixes #20873.
git-svn-id: https://develop.svn.wordpress.org/trunk@21022 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-07 17:25:00 +00:00
Ryan Boren 329f3b2fd1 Namespace the customize request arg to prevent collision with plugins and themes. Props nacin. fixes #20862
git-svn-id: https://develop.svn.wordpress.org/trunk@21016 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-07 01:29:57 +00:00
Daryl Koopersmith 299642f86b Theme Customizer: Fix scrolling on iOS and Kindle Fire. props azaozz, helenyhou. fixes #20805.
Also fixes uploader UIs on iOS and Kindle Fire by improving wp.Uploader.
Adds mobile viewport specifications.
Moves scrollbar back to fixed positioning.


git-svn-id: https://develop.svn.wordpress.org/trunk@21014 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-06 21:45:17 +00:00
Ryan Boren 06c0450892 Theme Customizer: Fix race condition in previewer and use message channels. Props koopersmith. fixes #20811
git-svn-id: https://develop.svn.wordpress.org/trunk@20988 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 15:51:46 +00:00
Andrew Nacin 181e1a26f6 Move customize-controls CSS and JS to wp-admin. fixes #20785.
git-svn-id: https://develop.svn.wordpress.org/trunk@20960 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 20:11:04 +00:00