Commit Graph

21764 Commits

Author SHA1 Message Date
Bot (Assets)
5d72bf7ea1 Compress scripts/styles: 3.6-alpha-23754.
git-svn-id: http://core.svn.wordpress.org/trunk@23754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 18:58:40 +00:00
Helen Hou-Sandí
25c272856b Remove separate meta fields for image and gallery post formats. These are proving to be more confusing and labor-intensive from both a user and dev perspective than entering into the regular content editor. We will rely on good content parsing instead. See #19570, #23347.
git-svn-id: http://core.svn.wordpress.org/trunk@23753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 17:18:07 +00:00
Ryan Boren
57b2fc1c04 In refresh_blog_details(), make sure clean_blog_cache() gets the blog ID when the blog has been previously cached as non-existent. This ensures that -1 values in blog-details are cleared after blogs are created.
Props beezeee, hirozed
fixes #23405


git-svn-id: http://core.svn.wordpress.org/trunk@23752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 05:05:19 +00:00
Bot (Assets)
9d9d86eea8 Compress scripts/styles: 3.6-alpha-23751.
git-svn-id: http://core.svn.wordpress.org/trunk@23751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 04:58:37 +00:00
Ryan Boren
87db798028 Clarify phpdoc for the vertical and horizontal arguments to the flip() method in WP_Image_Editor*.
Props dh-shredder
fixes #23775


git-svn-id: http://core.svn.wordpress.org/trunk@23750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 03:30:04 +00:00
Ryan Boren
9890179bce Make the before() and after() methods in Bulk_Plugin_Upgrader_Skin and Bulk_Theme_Upgrader_Skin declarations match Bulk_Upgrader_Skin. Eliminates strict standards warning.
Props charlestonsw
fixes #23807


git-svn-id: http://core.svn.wordpress.org/trunk@23749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 03:24:51 +00:00
Ryan Boren
43273611b8 RTL for Nav Menu tweaks. see #23641. see #23645. props DrewAPicture
git-svn-id: http://core.svn.wordpress.org/trunk@23748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 03:16:24 +00:00
Andrew Ozz
043d31609f Bulk actions: do not move locked posts to the trash, props pdclark, see #23792
git-svn-id: http://core.svn.wordpress.org/trunk@23747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 21:11:06 +00:00
Bot (Assets)
e3590b9637 Compress scripts/styles: 3.6-alpha-23746. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@23746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 20:58:39 +00:00
Andrew Ozz
829a6f541b Editor: preserve the textarea content when saving, wpautop is not used and TinyMCE is hidden. Props WraithKenny, fixes #23743
git-svn-id: http://core.svn.wordpress.org/trunk@23745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 20:40:39 +00:00
Ryan Boren
b09f9fa157 Make WP_Image_Editor::make_image() safe for replication plugins by making sure the directory for the image being made exists.
Props batmoo
fixes #23306


git-svn-id: http://core.svn.wordpress.org/trunk@23744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 18:05:23 +00:00
Ryan Boren
dfd8479246 Fix i18n for revision diff strings displaying human time.
Props johnbillion
fixes #23723


git-svn-id: http://core.svn.wordpress.org/trunk@23743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 17:58:30 +00:00
Ryan Boren
830c802c90 Don't allow changing the post format from quick edit and bulk edit. These do not have sufficient context to set the post format.
Props kovshenin
fixes #23426


git-svn-id: http://core.svn.wordpress.org/trunk@23742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 17:24:24 +00:00
Ryan Boren
1638f8f59e Pass tag ID and args array to topic_count_text_callback from wp_generate_tag_cloud().
Props najamelan, toscho
fixes #21198


git-svn-id: http://core.svn.wordpress.org/trunk@23741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 17:17:55 +00:00
Ryan Boren
77f431ec4c Bail early with correct WP_Error when an invalid post ID is passed to wp_insert_post() and wp_update_post().
Props simonwheatley
fixes #23474


git-svn-id: http://core.svn.wordpress.org/trunk@23740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 14:33:09 +00:00
Ryan Boren
469d1a3099 Escape form action urls with esc_url() rather than esc_attr().
Props SergeyBiryukov
fixes #23266


git-svn-id: http://core.svn.wordpress.org/trunk@23739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 14:01:25 +00:00
Ryan Boren
9f44cb4038 Remove old phpdoc that incorrectly marks wp_timezone_choice() as temporary.
Props danielbachhuber
fixes #23804


git-svn-id: http://core.svn.wordpress.org/trunk@23738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 13:35:34 +00:00
Ryan Boren
d967428a04 Cleanup additional capabilities display in user-edit.php. Mark a string for translation.
Props johnjamesjacoby, SergeyBiryukov
fixes #14267


git-svn-id: http://core.svn.wordpress.org/trunk@23737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 13:27:57 +00:00
Bot (Assets)
36813b5b24 Compress scripts/styles: 3.6-alpha-23736.
git-svn-id: http://core.svn.wordpress.org/trunk@23736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 22:58:39 +00:00
Andrew Ozz
30ad180d6a Create one autosave per user rather than a single autosave for all users. Remove unused code from autosave.js and wp_ajax_autosave(). See #23665.
git-svn-id: http://core.svn.wordpress.org/trunk@23735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 21:15:43 +00:00
Bot (Assets)
d8421edcc5 Compress scripts/styles: 3.6-alpha-23734.
git-svn-id: http://core.svn.wordpress.org/trunk@23734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 20:58:37 +00:00
Andrew Ozz
10f565cd6c Post locks: when a dialog is shown move focus to the text, see #23697
git-svn-id: http://core.svn.wordpress.org/trunk@23733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 20:46:37 +00:00
Dion Hulse
566e3764c3 Move the Mediaelement.js include into the wp-includes/js folder, rather than wp-includes directly. Fixes the mediaplayer in browsers which don't support <audio> directly.
Props DrewAPicture See #23282.


git-svn-id: http://core.svn.wordpress.org/trunk@23732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 08:43:19 +00:00
Bot (Assets)
7a5b2c1e81 Compress scripts/styles: 3.6-alpha-23731.
git-svn-id: http://core.svn.wordpress.org/trunk@23731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 06:58:41 +00:00
Andrew Ozz
2c5ad0030f Pass post format as a class to TinyMCE's body, props adamsilverstein, fixes #23198
git-svn-id: http://core.svn.wordpress.org/trunk@23730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 05:57:54 +00:00
Mark Jaquith
53d12e91bc Introduce [audio] and [video] shortcodes, and use MediaElement.js to play them.
props wonderboymusic. see #23282.

git-svn-id: http://core.svn.wordpress.org/trunk@23729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 05:25:44 +00:00
Bot (Assets)
af4dcdbef0 Compress scripts/styles: 3.6-alpha-23728.
git-svn-id: http://core.svn.wordpress.org/trunk@23728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 04:58:37 +00:00
Mark Jaquith
9bd740f616 Accessibility revamp for nav menus.
props lessbloat. fixes #14045

git-svn-id: http://core.svn.wordpress.org/trunk@23727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 04:47:19 +00:00
Bot (Assets)
46baddba34 Compress scripts/styles: 3.6-alpha-23726.
git-svn-id: http://core.svn.wordpress.org/trunk@23726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 22:58:35 +00:00
Andrew Ozz
99488cb638 Post locks: add Preview button when post is locked, fix the suggested places, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 21:09:20 +00:00
Bot (Translations)
7ed5d35d92 POT, generated from r23722
git-svn-id: http://core.svn.wordpress.org/trunk@23724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 19:19:53 +00:00
Bot (Translations)
25fe67aebf POT, generated from r23722
git-svn-id: http://core.svn.wordpress.org/trunk@23723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 19:19:45 +00:00
Sergey Biryukov
27298cd802 Remove redundant code from post_type_supports() and remove_post_type_support(). props obenland, bilalcoder. fixes #21527.
git-svn-id: http://core.svn.wordpress.org/trunk@23722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:28:33 +00:00
Lance Willett
f4b2484cc9 Twenty Ten: use callback in functions.php to enqueue scripts and styles rather than putting them directly in header.php template file. Props obenland, fixes #23772.
git-svn-id: http://core.svn.wordpress.org/trunk@23721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:24:45 +00:00
Lance Willett
dd99d5ce94 Twenty Eleven: use callback in functions.php to enqueue scripts and styles rather than putting them directly in header.php template file. Props obenland, see #23772.
git-svn-id: http://core.svn.wordpress.org/trunk@23720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:24:04 +00:00
Lance Willett
24e099bb3e Twenty Ten: use a filter to modify the output of wp_title(). Props obenland, closes #23774.
git-svn-id: http://core.svn.wordpress.org/trunk@23719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:16:47 +00:00
Lance Willett
c6720facd9 Twenty Eleven: use a filter to modify the output of wp_title(). Props obenland, see #23774.
git-svn-id: http://core.svn.wordpress.org/trunk@23718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:15:58 +00:00
Lance Willett
87f4924dc9 Twenty Twelve: improve Appearance > Header styles to match front end view better -- including loading special Google Font there. Props obenland, fixes #23790.
git-svn-id: http://core.svn.wordpress.org/trunk@23717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:03:43 +00:00
Lance Willett
6cd06ec784 Twenty Twelve: update post author comment markup and styles, improving hCard data parsing and simplifying styles. Fixes #23128.
git-svn-id: http://core.svn.wordpress.org/trunk@23716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 17:54:36 +00:00
Bot (Translations)
8bb3d5c112 POT, generated from r23713
git-svn-id: http://core.svn.wordpress.org/trunk@23715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 17:19:37 +00:00
Sergey Biryukov
11229adad7 Add phpdoc for $attr argument of wp_get_attachment_image(). props GaryJ. fixes #23791.
git-svn-id: http://core.svn.wordpress.org/trunk@23714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 17:19:10 +00:00
Lance Willett
8415217e90 Twenty Twelve: load our special Google Font in the visual editor to improve user experience. Props to the Konstanthemes: kovshenin and obenland.
Closes #22499. See also r23672.

git-svn-id: http://core.svn.wordpress.org/trunk@23713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 17:09:12 +00:00
Sergey Biryukov
63dfa74c9f Remove unused variables. props GaryJ. fixes #23789.
git-svn-id: http://core.svn.wordpress.org/trunk@23712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 17:08:04 +00:00
Lance Willett
f41b21f4f6 Twenty Twelve: fix regression introduced in r23572, allow hide/show of Header Text in Customizer. Fixes #23600.
Also remove another `!important` -- and there was much rejoicing.

Props SergeyBiryukov and obenland.

git-svn-id: http://core.svn.wordpress.org/trunk@23711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 16:42:10 +00:00
Sergey Biryukov
099c3c6422 Remove unused variable. props DrewAPicture. fixes #23782.
git-svn-id: http://core.svn.wordpress.org/trunk@23710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 16:23:36 +00:00
Sergey Biryukov
6d64756433 Fix placeholder reference in translator comment. props devesine. fixes #23766.
git-svn-id: http://core.svn.wordpress.org/trunk@23709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 16:20:15 +00:00
Bot (Assets)
0627279350 Compress scripts/styles: 3.6-alpha-23708.
git-svn-id: http://core.svn.wordpress.org/trunk@23708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 14:58:36 +00:00
Mark Jaquith
83bb916b81 Turn the Nav Menu meta boxes into an accordion. Less sprawling and overwhelming.
* Registration stays the same — they're meta boxes
* Call `do_accordion_sections()` instead of `do_meta_boxes()` and they render as an accordion

props DrewAPicture, lessbloat, jkudish. fixes #23450. see #23449

git-svn-id: http://core.svn.wordpress.org/trunk@23707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 13:16:38 +00:00
Bot (Assets)
173ed0a72c Compress scripts/styles: 3.6-alpha-23706.
git-svn-id: http://core.svn.wordpress.org/trunk@23706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 06:58:36 +00:00
Andrew Ozz
9a695d70bf Local autosave: remove the temp cookie after first use. Prevents false negative if the browser crashes. Add some temp logging to aid testing. See #23220
git-svn-id: http://core.svn.wordpress.org/trunk@23705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 06:15:14 +00:00