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
Ryan Boren
c6e002e4b0
Remove activate/deactivate messages from plugin upgrades. Props toppa. fixes #17833
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20786 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:24:44 +00:00
Ryan Boren
bb5afe1aaf
Remove accidental bits in [20784]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20785 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:01:35 +00:00
Ryan Boren
8dfae17319
Call filters for default option values only as needed to reduce number of filter calls. Props Ott042. see #20448
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20784 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:00:13 +00:00
Ryan Boren
7e4b88ad24
Add filters for the default to get_option() and get_site_option(). Provide default overrides in the customizer. Props Otto42. see #20448
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20783 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 16:45:32 +00:00
Jon Cave
7e2e034b64
Minor XML-RPC documentation improvements. See #20566 .
...
Also make newly introduced _is_greater_than_one() private.
git-svn-id: https://develop.svn.wordpress.org/trunk@20782 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 10:10:01 +00:00
Andrew Nacin
b8caf0e864
Revert [20776], and instead pass the current locale to browsehappy.com.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20781 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-13 22:44:01 +00:00
Jon Cave
89151382e8
log_app(): s/$message/$msg/. Props tamlyn. Fixes #20670 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20780 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-13 21:41:40 +00:00
Jon Cave
ab22e8ed87
get_post_stati() returns post statuses not types. Props jeremyfelt. Fixes #20664 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20779 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-13 07:41:47 +00:00
bumpbot
4211ac7104
Compress scripts/styles: 3.4-beta4-20778.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20778 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-12 00:58:21 +00:00
Daryl Koopersmith
daad27aeef
Theme Customizer: Flex-width friendly UI, improved typographical hierarchy. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20777 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-12 00:48:20 +00:00