ryan
2ebfdafad5
Update swfobject
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 23:09:29 +00:00
koopersmith
1c19b69eeb
Theme Customizer: Improve color picker toggle styles and markup. see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 22:58:58 +00:00
nacin
9df0620d89
Move to admin.php?customize=on&theme=$stylesheet, rather than juggling both template and stylesheet values. see #19910 .
...
Combine the setup_theme() and customize_previewing() methods. Remove the set_template() and set_stylesheet() methods. Add set_theme() method to WP_Customize to store the working WP_Theme object. We will use this for the stylesheet and template.
Use the WP_Theme display() method when preparing headers for display, not get() or the deprecate properties.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 21:43:47 +00:00
koopersmith
565300e1cd
Theme Customizer: Display 'Save and Activate' when switching themes. Add and properties to the WP_Customize class. see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 20:49:39 +00:00
nacin
d8778f9518
Restore semicolons to the end of jQuery UI files, as they are needed when concatenating the files together. Will be adjusted upstream as well. props ocean90. fixes #20466 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 20:34:45 +00:00
nacin
f08e052e68
jQuery UI 1.8.19. props ocean90. fixes #20466 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 16:49:17 +00:00
nacin
256747055b
No need for by-reference when calculating the queried object in PHP5. props SergeyBiryukov, duck_, fixes #20039 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 03:41:07 +00:00
bumpbot
7a9bc7d129
Compress scripts/styles: 3.4-beta2-20489.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 23:58:25 +00:00
koopersmith
e11cc3ec4f
Theme Customizer: Integrate with browser history. Use window.history by default, with window.onhashchange as a fallback. fixes #20337 , see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 23:07:23 +00:00
nacin
9501ff721d
Escape special characters when outputting DB failures. see #13839 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 21:55:47 +00:00
nacin
bd7ad45234
Add arrays together in WP_Theme::get_allowed() to preserve keys (theme names could be numeric). props ocean90, fixes #15306 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 18:37:57 +00:00
nacin
c2422f4596
Fix typo in filter name for wp_die() APP request handler. props benbalter, fixes #20457 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 16:15:18 +00:00
bumpbot
2884dc969d
Compress scripts/styles: 3.4-beta2-20478.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:58:23 +00:00
nacin
aab399efbc
Theme Customizer: Stick to wp_customize_url() instead of wp_customize_href(). Switch argument order so it is stylesheet-template. (Template is hypothetically optional, but the function will not support that.) see #19910 .
...
Move to ->display('Name'), as ->get('Name') is a raw, untranslated version of the header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:36:47 +00:00
koopersmith
a5dacf7da5
Theme Customizer: Allow the customize iframe to be accessed directly (with full feature support). see #19910 .
...
* Move the 'Return to Manage Themes' and 'Collapse Sidebar' actions from themes.php to customize-controls.php.
* Create a postMessage connection between themes.php and customize-controls.php.
* Allow the theme customizer to be accessed directly (independent of themes.php and the customize loader).
* Add wp_customize_href() and wp_customize_url().
* Remove wp_customize_loader(). To include the loader, use wp_enqueue_script( 'customize-loader' ).
* The theme customizer now requires postMessage browser support.
* Add .hide-if-customize and .hide-if-no-customize CSS classes.
* Clean up customize-preview.js.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:02:28 +00:00
nacin
9ef37a9427
Move from $taxonomy_name to $taxonomy in XML-RPC for consistency with the rest of the core APIs. props maxcutler, fixes #20397 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 16:47:31 +00:00
bumpbot
3c61b207ac
Compress scripts/styles: 3.4-beta2-20468.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-14 19:58:19 +00:00
azaozz
7872975b0c
Plupload: no need to reset the queue when one file fails (handled internally), see #20422
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-14 19:51:55 +00:00
duck_
7d8a08881e
Recognise protocols other than "http" in _links_add_base(). Props SergeyBiryukov. Fixes #19665 .
...
Previously "https" URLs used in plugin READMEs displayed by install_plugin_information() would have the plugin's extend URL prepended.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-14 19:14:10 +00:00
duck_
4523ec1333
Fix typo and terminology in Twenty Eleven's header template. Props JarretC. Fixes #20442 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-14 19:02:04 +00:00
bumpbot
0706af654a
Compress scripts/styles: 3.4-beta2-20464.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-13 23:58:20 +00:00
azaozz
9116a89bc7
Update Plupload to 1.5.4, props SergeyBiryukov, fixes #20422
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-13 23:23:13 +00:00
nacin
915477e841
Move from 'featured image' to 'post thumbnail' in the XML-RPC API. props maxcutler, fixes #20396 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-13 20:23:31 +00:00
ryan
f86bf75b34
Don't update a blog's last_updated time for all post deletions. Update only when published posts are deleted.
...
Props SergeyBiryukov
fixes #20433
git-svn-id: http://svn.automattic.com/wordpress/trunk@20461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-13 17:30:37 +00:00
bumpbot
64303ca4e8
Compress scripts/styles: 3.4-beta2-20460.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 22:58:24 +00:00
bumpbot
ee1bfeb6ab
Compress scripts/styles: 3.4-beta2-20457.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:58:23 +00:00
koopersmith
017c1a2b81
Theme Customizer: RTL styles. props ocean90. see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:53:19 +00:00
ryan
27630a4286
Schedule auto-draft deletion from post-new.php instead of from admin.php. This provides better throttling for large multisite installs and reduces the risk of a delete avalanche.
...
fixes #19663
git-svn-id: http://svn.automattic.com/wordpress/trunk@20453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 18:49:48 +00:00
bumpbot
7e8ba69143
Compress scripts/styles: 3.4-beta2-20452.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 17:58:20 +00:00
azaozz
a62ef6d827
Add RTL/LTR button to the html editor, props yoavf, fixes #13070
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 17:52:54 +00:00
nacin
d0dcf045e0
3.4-beta2.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 03:43:19 +00:00
azaozz
817b932ed1
Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 00:16:37 +00:00
nacin
65382b14f8
Compress scripts/styles: 3.4-beta1-20448.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 22:03:24 +00:00
ryan
1b65e28f8f
Don't do a canonical redirect for singular paged pages when on the front-page. This was breaking pagination on sites with a static home page. Props batmoo. see #20385
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 21:18:40 +00:00
ryan
be5802b0f1
Don't attempt to make links inside attributes clickable. Props duck_ azaozz. fixes #20418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 21:14:13 +00:00
ryan
80eb4cbe9b
Add terminal punctuation to some signup error messages. Props dllh. fixes #20332
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:41:59 +00:00
ryan
28f8e7a63d
Move deletion of auto-draft posts to the wp_scheduled_delete cron function. Props mgolawala. fixes #19663
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:39:09 +00:00
nacin
2243e45a43
Add view_item to the phpdoc for get_taxonomy_labels(). props Caspie. fixes #20406 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:08:30 +00:00
nacin
c7cf0927fc
Use the metadata API rather than raw queries and direct do_action calls. see #20417 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:02:39 +00:00
bumpbot
b46712cc96
Compress scripts/styles: 3.4-beta1-20434.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 02:58:23 +00:00
azaozz
6aaf0dad43
Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 02:20:51 +00:00
bumpbot
7492250354
Compress scripts/styles: 3.4-beta1-20429.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 00:58:23 +00:00
azaozz
b75ee2198f
Fix inserting links in the HTML editor in IE9, fixes #19528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 00:20:42 +00:00
duck_
b0a975512a
Don't override the $current_user global in get_currentuserinfo() on an XML-RPC request
...
if it's non-empty. Fixes capabilities checks for XML-RPC requests. See #20372 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@20424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 16:19:53 +00:00
ryan
baf681233f
Pass post_type to clean_post_cache() instead of attempting to fetch a post object since the post may have been deleted.
...
Props leewillis77
see #19690
git-svn-id: http://svn.automattic.com/wordpress/trunk@20423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 16:09:44 +00:00
azaozz
5de5c9a64d
Consistently remove links to media-new.php for mobile devices, props SergeyBiryukov, see #20405
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 03:18:48 +00:00
bumpbot
02d0a5173a
Compress scripts/styles: 3.4-beta1-20421.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 02:58:27 +00:00
koopersmith
c2fb0c425b
Replace all instances of thickbox theme preview with the theme customizer. fixes #20404 .
...
* Use theme customizer in theme install/update screens.
* Separate the customize loader from the customizer. Use wp_customize_loader() to include the loader script and markup.
* Deprecated: wp-admin/js/theme-preview.js is now no longer used by core.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 02:25:03 +00:00
azaozz
1d12cd07b0
Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 01:19:30 +00:00
ryan
a831898020
When fetching the user in get_currentuserinfo(), make sure it is a valid WP_User object. If it is stdClass, upgrade it to WP_User. If it is WP_Error, an int, or anything else, set the current user to ID 0.
...
In wp_set_current_user(), return the current user global only if it is a WP_User object. If it is not, fall through and go about setting it up properly.
Formatting cleanups for both functions.
see #20372
git-svn-id: http://svn.automattic.com/wordpress/trunk@20410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 22:01:07 +00:00