Commit Graph

21764 Commits

Author SHA1 Message Date
Ryan Boren 01ca819c6f 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: https://develop.svn.wordpress.org/trunk@23749 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 03:24:51 +00:00
Ryan Boren c920cfa3a0 RTL for Nav Menu tweaks. see #23641. see #23645. props DrewAPicture
git-svn-id: https://develop.svn.wordpress.org/trunk@23748 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 03:16:24 +00:00
Andrew Ozz 2c201632a2 Bulk actions: do not move locked posts to the trash, props pdclark, see #23792
git-svn-id: https://develop.svn.wordpress.org/trunk@23747 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 21:11:06 +00:00
bumpbot e3023dcdbb Compress scripts/styles: 3.6-alpha-23746. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@23746 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 20:58:39 +00:00
Andrew Ozz cc7ca57f85 Editor: preserve the textarea content when saving, wpautop is not used and TinyMCE is hidden. Props WraithKenny, fixes #23743
git-svn-id: https://develop.svn.wordpress.org/trunk@23745 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 20:40:39 +00:00
Ryan Boren 1c2a9008c5 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: https://develop.svn.wordpress.org/trunk@23744 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 18:05:23 +00:00
Ryan Boren 72c65a3145 Fix i18n for revision diff strings displaying human time.
Props johnbillion
fixes #23723


git-svn-id: https://develop.svn.wordpress.org/trunk@23743 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 17:58:30 +00:00
Ryan Boren 75dcc983d7 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: https://develop.svn.wordpress.org/trunk@23742 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 17:24:24 +00:00
Ryan Boren b16e4eaf58 Pass tag ID and args array to topic_count_text_callback from wp_generate_tag_cloud().
Props najamelan, toscho
fixes #21198


git-svn-id: https://develop.svn.wordpress.org/trunk@23741 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 17:17:55 +00:00
Ryan Boren 5cf0bc9be0 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: https://develop.svn.wordpress.org/trunk@23740 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 14:33:09 +00:00
Ryan Boren be67f3c550 Escape form action urls with esc_url() rather than esc_attr().
Props SergeyBiryukov
fixes #23266


git-svn-id: https://develop.svn.wordpress.org/trunk@23739 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 14:01:25 +00:00
Ryan Boren 18e3a300ab Remove old phpdoc that incorrectly marks wp_timezone_choice() as temporary.
Props danielbachhuber
fixes #23804


git-svn-id: https://develop.svn.wordpress.org/trunk@23738 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 13:35:34 +00:00
Ryan Boren f1a3189b22 Cleanup additional capabilities display in user-edit.php. Mark a string for translation.
Props johnjamesjacoby, SergeyBiryukov
fixes #14267


git-svn-id: https://develop.svn.wordpress.org/trunk@23737 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-18 13:27:57 +00:00
bumpbot 9e7cac887b Compress scripts/styles: 3.6-alpha-23736.
git-svn-id: https://develop.svn.wordpress.org/trunk@23736 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 22:58:39 +00:00
Andrew Ozz c996f27c4d 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: https://develop.svn.wordpress.org/trunk@23735 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 21:15:43 +00:00
bumpbot 54dff9f493 Compress scripts/styles: 3.6-alpha-23734.
git-svn-id: https://develop.svn.wordpress.org/trunk@23734 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 20:58:37 +00:00
Andrew Ozz 66e4fa4d92 Post locks: when a dialog is shown move focus to the text, see #23697
git-svn-id: https://develop.svn.wordpress.org/trunk@23733 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 20:46:37 +00:00
Dion Hulse eff3a330f8 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: https://develop.svn.wordpress.org/trunk@23732 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 08:43:19 +00:00
bumpbot e4071c0d8b Compress scripts/styles: 3.6-alpha-23731.
git-svn-id: https://develop.svn.wordpress.org/trunk@23731 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 06:58:41 +00:00
Andrew Ozz e4b6b84d8e Pass post format as a class to TinyMCE's body, props adamsilverstein, fixes #23198
git-svn-id: https://develop.svn.wordpress.org/trunk@23730 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 05:57:54 +00:00
Mark Jaquith 0132e8100c Introduce [audio] and [video] shortcodes, and use MediaElement.js to play them.
props wonderboymusic. see #23282.

git-svn-id: https://develop.svn.wordpress.org/trunk@23729 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 05:25:44 +00:00
bumpbot 050124e6ce Compress scripts/styles: 3.6-alpha-23728.
git-svn-id: https://develop.svn.wordpress.org/trunk@23728 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 04:58:37 +00:00
Mark Jaquith 19e1d8076d Accessibility revamp for nav menus.
props lessbloat. fixes #14045

git-svn-id: https://develop.svn.wordpress.org/trunk@23727 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 04:47:19 +00:00
bumpbot 23427e8e51 Compress scripts/styles: 3.6-alpha-23726.
git-svn-id: https://develop.svn.wordpress.org/trunk@23726 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 22:58:35 +00:00
Andrew Ozz 9288856e55 Post locks: add Preview button when post is locked, fix the suggested places, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23725 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 21:09:20 +00:00
potbot a818ebcd58 POT, generated from r23722
git-svn-id: https://develop.svn.wordpress.org/trunk@23724 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 19:19:53 +00:00
potbot 91acb96461 POT, generated from r23722
git-svn-id: https://develop.svn.wordpress.org/trunk@23723 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 19:19:45 +00:00
Sergey Biryukov c4f8e11df0 Remove redundant code from post_type_supports() and remove_post_type_support(). props obenland, bilalcoder. fixes #21527.
git-svn-id: https://develop.svn.wordpress.org/trunk@23722 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:28:33 +00:00
Lance Willett b989307db1 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: https://develop.svn.wordpress.org/trunk@23721 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:24:45 +00:00
Lance Willett 528a3acd89 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: https://develop.svn.wordpress.org/trunk@23720 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:24:04 +00:00
Lance Willett e9945c2fb4 Twenty Ten: use a filter to modify the output of `wp_title()`. Props obenland, closes #23774.
git-svn-id: https://develop.svn.wordpress.org/trunk@23719 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:16:47 +00:00
Lance Willett 633a2d66ef Twenty Eleven: use a filter to modify the output of `wp_title()`. Props obenland, see #23774.
git-svn-id: https://develop.svn.wordpress.org/trunk@23718 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:15:58 +00:00
Lance Willett 825bdb0ff2 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: https://develop.svn.wordpress.org/trunk@23717 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:03:43 +00:00
Lance Willett 861dd21d4f Twenty Twelve: update post author comment markup and styles, improving hCard data parsing and simplifying styles. Fixes #23128.
git-svn-id: https://develop.svn.wordpress.org/trunk@23716 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:54:36 +00:00
potbot b4eeecdae7 POT, generated from r23713
git-svn-id: https://develop.svn.wordpress.org/trunk@23715 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:19:37 +00:00
Sergey Biryukov 03aac4585d Add phpdoc for $attr argument of wp_get_attachment_image(). props GaryJ. fixes #23791.
git-svn-id: https://develop.svn.wordpress.org/trunk@23714 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:19:10 +00:00
Lance Willett f87083c0eb 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: https://develop.svn.wordpress.org/trunk@23713 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:09:12 +00:00
Sergey Biryukov 06649a7832 Remove unused variables. props GaryJ. fixes #23789.
git-svn-id: https://develop.svn.wordpress.org/trunk@23712 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:08:04 +00:00
Lance Willett 5fd51d5403 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: https://develop.svn.wordpress.org/trunk@23711 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 16:42:10 +00:00
Sergey Biryukov e7d746e561 Remove unused variable. props DrewAPicture. fixes #23782.
git-svn-id: https://develop.svn.wordpress.org/trunk@23710 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 16:23:36 +00:00
Sergey Biryukov d8f3366704 Fix placeholder reference in translator comment. props devesine. fixes #23766.
git-svn-id: https://develop.svn.wordpress.org/trunk@23709 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 16:20:15 +00:00
bumpbot 117e132a94 Compress scripts/styles: 3.6-alpha-23708.
git-svn-id: https://develop.svn.wordpress.org/trunk@23708 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 14:58:36 +00:00
Mark Jaquith 6c5a64408a 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: https://develop.svn.wordpress.org/trunk@23707 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 13:16:38 +00:00
bumpbot 951a73e486 Compress scripts/styles: 3.6-alpha-23706.
git-svn-id: https://develop.svn.wordpress.org/trunk@23706 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 06:58:36 +00:00
Andrew Ozz ded373a640 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: https://develop.svn.wordpress.org/trunk@23705 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 06:15:14 +00:00
bumpbot a4b13093c4 Compress scripts/styles: 3.6-alpha-23704.
git-svn-id: https://develop.svn.wordpress.org/trunk@23704 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 02:58:53 +00:00
Mark Jaquith 4163b21746 Wrap self.run in an anonymous function wrapper so self always gets the same scope.
props azaozz. fixes #23780

git-svn-id: https://develop.svn.wordpress.org/trunk@23703 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 02:32:05 +00:00
Lance Willett b10ce356ac Twenty Thirteen: ensure footer position if Masonry unavailable for changing the layout. Props obenland, fixes #23771.
git-svn-id: https://develop.svn.wordpress.org/trunk@23702 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 22:27:58 +00:00
Lance Willett a056be4a80 Twenty Thirteen: better caption styles for short words and sentences. Props kwight, fixes #23773.
git-svn-id: https://develop.svn.wordpress.org/trunk@23701 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 22:18:40 +00:00
Lance Willett 7d4f3daad4 Twenty Thirteen: hide gallery captions from small screens and when a gallery has 7 columns or more. Props kwight, fixes #23769.
git-svn-id: https://develop.svn.wordpress.org/trunk@23700 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 22:11:41 +00:00