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
Andrew Nacin
212552cb9e
Translate the ' http://browsehappy.com/ ' URL. See http://wp.me/p10SQN-r8 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20776 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 21:29:01 +00:00
Ryan Boren
5c2590bbd0
Remove extra underscore from XML-RPC filter. props maxcutler. fixes #20549
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20775 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 21:04:47 +00:00
Ryan Boren
0f9af78c3f
First pass at 3.4 pointers. Add pointer to the customize link for the current theme on themes.php. Support multiple pointers per page. Props scribu. see #20554
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20774 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 20:29:08 +00:00
bumpbot
54ea6cb17a
Compress scripts/styles: 3.4-beta4-20773.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20773 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 19:58:22 +00:00
Andrew Nacin
bd4441edc6
display_header_text() should only return true if the theme mod value is not 'blank'. An empty string is valid -- there is no requirement for it to be truthy. see #18887 . see #20600 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20772 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 19:55:07 +00:00
Ryan Boren
7bb44e9f43
Lighten login form input foreground. Props helenyhou. fixes #20648
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20771 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 19:33:09 +00:00
Ryan Boren
9b8b0bffac
Collect intermediate images before deleting an attachment and its meta. Fixes thumbnail deletion. Props SergeyBiryukov. fixes #20658
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20770 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 18:47:32 +00:00
Ryan Boren
9ffc69487f
Check wp_crop_image() for a false return value. Don't delete original image if crop not sucessful. Don't delete the original image when wp_crop_image() returns it untouched. Prevents deletion of header image when no cropping is done to the originally uploaded image. Props SergeyBiryukov, westi. fixes #20657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20769 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 16:15:15 +00:00
Jon Cave
73586de8bd
Fix typo in Custom Header contextual help. Props klagraff. Fixes #20518 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20768 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 07:12:20 +00:00
Ryan Boren
5e6ed7574c
Handle relative urls when processing redirects. Introduce WP_Http::make_absolute_url(). Props dd32. fixes #20434
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20767 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 21:32:02 +00:00
bumpbot
4584d4022b
Compress scripts/styles: 3.4-beta4-20766.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20766 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 20:58:24 +00:00
Ryan Boren
24a6a399d8
Normalize star ratings markup. Props helenyhou. fixes #20655
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20765 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 19:59:48 +00:00
bumpbot
9ce7cbaf4d
Compress scripts/styles: 3.4-beta4-20764.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20764 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 19:58:25 +00:00
Ryan Boren
bb49193ead
Use stars-rtl.png for RTL start support in the theme installer. Props helenyhou, ocean90. fixes #20583
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20763 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 19:37:16 +00:00
bumpbot
5b4edeb721
Compress scripts/styles: 3.4-beta4-20762.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20762 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 00:58:25 +00:00
Daryl Koopersmith
476314ad8b
Theme Customizer: Add a fallback UI for browsers that do not support drag and drop upload. see #19910 , #20452 , #20582 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20761 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 00:15:53 +00:00
bumpbot
243ecb7b13
Compress scripts/styles: 3.4-beta4-20760.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20760 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:58:31 +00:00
Daryl Koopersmith
d314192cfb
Theme Customizer: Remove !important declarations from hide-if-customize and hide-if-no-customize classes. Use a default no-customize-support class on the body so we can use an element's original display property when visible. fixes #20565 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20759 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:47:15 +00:00
Daryl Koopersmith
971dc88583
Uploader & Theme Customizer: Refresh uploader flash/silverlight shims when the mouse enters the browse button. Add class to body based on uploader's drag/drop support. Properly assign customize image uploader containers (so flash shims are positioned correctly when scrolled). see #19910 , #20452 , #20582 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20758 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:26:19 +00:00
Ryan Boren
fe7d612b97
Use correct translation function. Props kobenland, SergeyBiryukov. fixes #20646
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20757 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:13:22 +00:00
Ryan Boren
3c00653719
Set split_the_query to false if more than 500 rows requested. Props SergeyBiryukov. fixes #20628
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20756 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 17:20:22 +00:00
bumpbot
d50aba69e4
Compress scripts/styles: 3.4-beta4-20755.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20755 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 16:58:29 +00:00
Ryan Boren
1b25bfa42e
Update plugin install screens to use the new stars. Add stars-rtl.png. Remove star.png and gray-star.png and add to old files list.
...
Props helenyhou
Fixes #20626
git-svn-id: https://develop.svn.wordpress.org/trunk@20754 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 16:27:24 +00:00
Ryan Boren
b5904b9525
Restrict the media editor to posts with the attachment post type. Props helenyhou. fixes #20625
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20753 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 16:16:03 +00:00
Ryan Boren
5b64115fc6
Friendlier strings with links to the support forums when experiencing problems talking to api.wordpress.org. fixes #20605
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20752 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 15:55:59 +00:00
Ryan Boren
0bed53f213
When showing already installed themes in the theme installer list, indicate in the row actions that the theme is installed and offer an update link if updates are available.
...
Props SergeyBiryukov
Fixes #20618
git-svn-id: https://develop.svn.wordpress.org/trunk@20751 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 15:01:49 +00:00
bumpbot
81918eaf4a
Compress scripts/styles: 3.4-beta4-20750.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20750 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 03:58:27 +00:00