Commit Graph

21806 Commits

Author SHA1 Message Date
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
Andrew Ozz 860ccd0cba Logged out warnings: remove the logged out warning from autosave when in login_grace_period, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23699 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 21:31:02 +00:00
Lance Willett c95af4823b Twenty Thirteen: remove several more `px` unit values.
git-svn-id: https://develop.svn.wordpress.org/trunk@23698 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 17:53:06 +00:00
Lance Willett 7925ce48b5 Twenty Thirteen: a bit wider search input in main content area. Props obenland, fixes #23765.
Also clean out one case of unneeded "px" value unit.

git-svn-id: https://develop.svn.wordpress.org/trunk@23697 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 17:36:39 +00:00
Lance Willett a1b7cf3cfd Twenty Thirteen: remove custom comment callback in favor of core `comment_form()` defaults. Props obenland, closes #22005. See #20088.
git-svn-id: https://develop.svn.wordpress.org/trunk@23696 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 16:36:14 +00:00
bumpbot 458058760f Compress scripts/styles: 3.6-alpha-23695.
git-svn-id: https://develop.svn.wordpress.org/trunk@23695 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 04:58:39 +00:00
Mark Jaquith 134fb4f257 Improve wp_list_comments() markup.
* Whitespace cleanup
* Accepts format=html5 which uses some of the HTML5 elements
* Some helpful HTML comments to help untangle the HTML
* Other misc code cleanup

props lancewillett, obenland, georgestephanis. fixes #20088.

git-svn-id: https://develop.svn.wordpress.org/trunk@23694 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 04:26:04 +00:00
Andrew Ozz 5e71fb3992 Local autosave: set a temp cookie on submitting the form and change it on redirecting after the post is saved/updated, then use it to determine if saving worked properly. Removes the chance for false positives after saving/updating a post. See #23220
git-svn-id: https://develop.svn.wordpress.org/trunk@23693 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 03:06:07 +00:00
Andrew Ozz a1ae5c0d28 Logged out warnings, heartbeat: remove nopriv_autosave as it doubles the functionality of the logged out warnings, move wp_ajax_nopriv_heartbeat() under No-privilege Ajax handlers in ajax-actions.php, see #23295, see #23216
git-svn-id: https://develop.svn.wordpress.org/trunk@23692 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 23:54:12 +00:00