Ryan Boren
c392250983
Disambiguate menu_order. Props markjaquith. fixes #20711
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20836 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 19:50:58 +00:00
Ryan Boren
039002fbc7
Fix path to customizer collpase arrows. Props markjaquith. fixes #20701
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20835 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 19:49:51 +00:00
bumpbot
c0d9bee71f
Compress scripts/styles: 3.4-beta4-20834.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20834 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 18:58:19 +00:00
Daryl Koopersmith
4370cd7063
Theme Customizer: Reset scroll to top when the preview url is changed. props ocean90, fixes #20713 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20833 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 17:58:17 +00:00
Andrew Ozz
3ca0c089f2
Fix closing div position when post doesn't support editor, props markoheijnen, SergeyBiryukov, fixes #20709
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20832 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-20 22:20:00 +00:00
Andrew Ozz
057704f003
Image captions: change query arg in the Edit Image iframe HTML to refresh browser cache, see #18311
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20831 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 23:09:59 +00:00
Ryan Boren
bb4ab7e842
set_url_scheme() for header and background image srcs. see #20702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20830 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 20:22:57 +00:00
Ryan Boren
9c2fe1c948
Load the customize preview over ssl if the customize admin page is loaded over ssl and the frontend and admin are on the same domain. This avoids insecure content warnings and allows a more complete preview in browsers such as Chrome that block loading of css until user confirmation allows mixed content loading. see #20702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20829 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 20:09:53 +00:00
Ryan Boren
c7b61a2a57
Introduce set_url_scheme(). Includes get_site_url() logic for determining when to use http vs. https. Use this to rerite urls to obey is_ssl(). Props jkudish. fixes #18017
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20828 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 20:04:59 +00:00
Ryan Boren
74b9335d43
'Live Preview' instead of 'Customize' for the customizer links in the theme browser. see #19910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20827 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 16:27:24 +00:00
Andrew Ozz
63e747792d
Image captions: revert label change back to "Caption", fixes #18311
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20826 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 02:50:05 +00:00
bumpbot
3474f26526
Compress scripts/styles: 3.4-beta4-20825.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20825 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 21:58:27 +00:00
Daryl Koopersmith
5ebe631a77
Theme Customizer: RTL fixes. props ocean90, fixes #20585 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20824 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 21:37:00 +00:00
bumpbot
4ec3e44488
Compress scripts/styles: 3.4-beta4-20823.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20823 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 17:22:40 +00:00
Daryl Koopersmith
b2f795b43a
Theme Customizer: Sidebar RTL fixes. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20822 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 17:08:20 +00:00
bumpbot
afc016874f
Compress scripts/styles: 3.4-beta4-20821.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20821 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 15:58:23 +00:00
Daryl Koopersmith
d2b1637a9d
Theme Customizer: Ensure image control tabs are full-width to prevent floating bugs. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20820 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 15:56:18 +00:00
bumpbot
b739ea4152
Compress scripts/styles: 3.4-beta4-20819.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20819 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 01:58:25 +00:00
Andrew Ozz
a6124a8f72
Retina display icons: add 2x image for wp-badge.png, props chexee, fixes #20293
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20818 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 01:04:20 +00:00
bumpbot
0c555027ba
Compress scripts/styles: 3.4-beta4-20817.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20817 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 00:58:25 +00:00
Daryl Koopersmith
0e3b3a7555
Theme Customizer: Add 'ready' event to customize-controls. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20816 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 00:00:57 +00:00
bumpbot
2f156a8756
Compress scripts/styles: 3.4-beta4-20815.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20815 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:58:26 +00:00
Andrew Ozz
a3033f1506
Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20814 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:55:38 +00:00
Daryl Koopersmith
7ef3949049
Theme Installer: IE7 compatibility. props ocean90, fixes #20696 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20813 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:41:33 +00:00
Daryl Koopersmith
b4277fcd40
Theme Installer: Prevent unnecessary admin code from printing and print markup in correct order. Remove dead code. props ocean90, fixes #20695 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20812 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:38:53 +00:00
Daryl Koopersmith
3ae49bd759
Install Themes: Add link to the no-js theme previewer to the 'Preview' link. props ocean90, fixes #20694 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20811 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 21:08:10 +00:00
Daryl Koopersmith
9f550982a1
Manage Themes: Show current theme screen shot when customize is not supported. props ocean90, fixes #20693 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20810 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 21:05:11 +00:00
Daryl Koopersmith
621e3c1fc6
Theme Customizer: Properly escape customize settings when sending values to JS. Add WP_Customize_Setting->js_value(). fixes #20687 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20809 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 20:59:02 +00:00
Ryan Boren
c992db3d22
Remove debug cruft. Fix typo. Props SergeyBiryukov. fixes #20657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20808 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 18:11:19 +00:00
Ryan Boren
cf58f72258
Fix wp.getPages response when fetching pages the current user does not have caps for. Props maxcutler, redsweater. fixes #20629
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20807 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 18:06:34 +00:00
Ryan Boren
b36e895a24
Create a new attachment and make a copy of the image when selecting an image from the image library. This prevents orphaning the header if the original attachment is deleted. This also prevents stomping of meta.
...
Add a button to skip cropping.
Props SergeyBiryukov
Fixes #20657 #20667
git-svn-id: https://develop.svn.wordpress.org/trunk@20806 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 17:47:55 +00:00
bumpbot
8471a0947c
Compress scripts/styles: 3.4-beta4-20805. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20805 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 07:58:24 +00:00
Andrew Ozz
136f951922
DFW: another attempt to get auto-resize working right, see #20608 , see #20684
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20804 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 07:02:55 +00:00
bumpbot
ed5c4343f0
Compress scripts/styles: 3.4-beta4-20803.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20803 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 05:58:24 +00:00
Daryl Koopersmith
5c77fcc30b
Theme Customizer: Properly change state when theme is switched. fixes #20610 , see #19910 .
...
* Causes the Manage Themes page to refresh if the customizer is closed after the active theme is switched.
* Changes the text of the 'Save and Activate' button once the theme has been activated.
* Improves the naming of the customize control settings.
* Add events to customize.Loader and make callbacks more flexible.
* Makes the customize-loader l10n compatible with non-admin settings.
* Adds WP_Customize->is_current_theme_active().
* Minor style corrections, including jQuery.attr/prop changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@20802 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 05:55:54 +00:00
Daryl Koopersmith
47d5d564b4
Theme Customizer: Make the wp.customize.Events methods chainable. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20801 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 05:17:26 +00:00
bumpbot
45919db511
Compress scripts/styles: 3.4-beta4-20800.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20800 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 22:58:23 +00:00
Daryl Koopersmith
b010685cd2
Theme Customizer: Add the wp.customize.Events mixin to wp.customize.Values. Provide 'add', 'remove', and 'change' events by default. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20799 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 22:43:49 +00:00
Daryl Koopersmith
1a2375b4ee
Theme Customizer: Clarify wp.customize.Values API by removing Values.pass and all methods that passed through to the wp.customize.Value objects it contained. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20798 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 22:14:46 +00:00
Daryl Koopersmith
10cf296150
Theme Customizer: Make wp.customize.Values.when return a jQuery.Deferred.promise() object, to add additional flexibility. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20797 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 22:01:36 +00:00
bumpbot
b2a616cc17
Compress scripts/styles: 3.4-beta4-20796.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20796 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 21:58:21 +00:00
Daryl Koopersmith
6ad7ce44d6
Theme Customizer: Add an Events mixin to wp.customize, used by default in wp.customize.Messenger. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20795 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 21:28:21 +00:00
Ryan Boren
4e1861e2a8
API for allowing cross origin resource sharing.
...
* Allowed origin whitelist that can be altered by plugins
* Validation of the request origin against the whitelist
* Send Access-Control-Allow-Origin if origin allowed
* get_http_origin(), get_allowed_http_origins(), is_allowed_http_origin(), send_origin_headers()
See #20681
git-svn-id: https://develop.svn.wordpress.org/trunk@20794 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 18:46:03 +00:00
Ryan Boren
b5156f1b47
Don't force frontend scheme to match backend. This fails if the frontend doesn't have proper SSL certs. Access-Control-Allow-Origin handles this without the need to make the schemes match. see #20507
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20793 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 15:45:40 +00:00
bumpbot
2e1a9bc4a4
Compress scripts/styles: 3.4-beta4-20792.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20792 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 01:58:21 +00:00
Daryl Koopersmith
ecf6940ffb
Theme Customizer: Prevent sidebar scrollbar from overlapping sidebar header or footer. fixes #20649 , #20650 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20791 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 01:03:31 +00:00
bumpbot
376a2485c1
Compress scripts/styles: 3.4-beta4-20790.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20790 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 19:58:19 +00:00
Daryl Koopersmith
755009ae77
Theme Customizer: Fix Opera bug where, once the sidebar was collapsed, it could not be re-opened. props rosshanney. fixes #20452 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20789 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 19:19:34 +00:00
Ryan Boren
ab8a4b7844
Exclude admin pot files when calculating the list of installed languages in get_available_languages(). fixes #20676
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20788 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:58:06 +00:00
Ryan Boren
cdc9ebd779
Make the file names unique for cropped header images. Props SergeyBiryukov. fixes #20666
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20787 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:53:03 +00:00