Commit Graph

21727 Commits

Author SHA1 Message Date
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
Andrew Ozz b653d65c1c Logged out warnings: clear previous errors when interim_login is set, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23691 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 23:32:52 +00:00
Lance Willett 92ffd6850f Twenty Thirteen: use new HTML5 comment form argument, and adjust CSS selectors a bit. Closes #23702, see #15080.
git-svn-id: https://develop.svn.wordpress.org/trunk@23690 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 22:45:08 +00:00
Mark Jaquith b95b9917f1 Add the ability to use HTML5 input types in the comment form.
props jorbin, georgestephanis, obenland. fixes #15080

git-svn-id: https://develop.svn.wordpress.org/trunk@23689 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 20:31:43 +00:00
Lance Willett 5aed50bd3c Twenty Thirteen: adjust header max-width value for older IE browsers. Props jvisick77, see #23732.
git-svn-id: https://develop.svn.wordpress.org/trunk@23688 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 17:48:46 +00:00
Lance Willett dc52b692e8 Twenty Thirteen: revert three changes to content attributes, props obenland. See #23550.
git-svn-id: https://develop.svn.wordpress.org/trunk@23687 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 17:14:00 +00:00
Peter Westwood 7e33770010 Multisite: Ensure that get_blogaddress_by_name does not mangle blognames with leading digits.
Correctly specify the backreference in the regular expression so that it can not become ambiguous when there is a leading digit on the blogname.

Fixes #23689 props dllh.


git-svn-id: https://develop.svn.wordpress.org/trunk@23686 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 16:00:38 +00:00
Peter Westwood 6c937208e7 Formatting: Pass the blog charset to htmlspecialchars so that we don't eat non-UTF8 strings in PHP 5.4
Fixes #23688


git-svn-id: https://develop.svn.wordpress.org/trunk@23685 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 15:24:38 +00:00
bumpbot 4ff35bd528 Compress scripts/styles: 3.6-alpha-23684.
git-svn-id: https://develop.svn.wordpress.org/trunk@23684 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 10:58:39 +00:00
Andrew Ozz 4ad27d6d14 Autosave to the browser's sessionStorage, compare this autosave to the post content on page load and let the user restore it when the data is not the same. First run, see #23220
git-svn-id: https://develop.svn.wordpress.org/trunk@23683 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 10:08:16 +00:00
bumpbot 5e439e799e Compress scripts/styles: 3.6-alpha-23682.
git-svn-id: https://develop.svn.wordpress.org/trunk@23682 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 00:58:39 +00:00
Andrew Ozz 631980b5fa Post locks on the posts list screen: new icons for the lock, props empireoflight, show avatar for the user currently editing, props dh-shredder, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23681 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 00:28:07 +00:00
Lance Willett eab76eac4a Twenty Thirteen: fix SVN properties.
git-svn-id: https://develop.svn.wordpress.org/trunk@23680 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 22:44:55 +00:00
Lance Willett 05c0f14024 Twenty Thirteen: pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@23679 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 22:42:34 +00:00
Lance Willett 57587835b4 Twenty Thirteen: improve header area padding to ensure stable layout at any size screen. Props jvisick77, fixes #23732. (Small props also to Google TV for revealing the bug.)
git-svn-id: https://develop.svn.wordpress.org/trunk@23678 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 22:41:58 +00:00
Lance Willett e60535aff1 Twenty Thirteen: revert addition of `twentythirteen_attachment_link()` in r23523 -- as discussed in the following ticket comments, the tradeoff means simpler code instead of a minor UX enhancement. Closes #23543 and #23719.
git-svn-id: https://develop.svn.wordpress.org/trunk@23677 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 22:07:27 +00:00
Lance Willett 297f1c0f20 Twenty Thirteen: enable a JavaScript-based fix for long sidebar areas that overflow the footer. Props obenland, fixes #23557.
git-svn-id: https://develop.svn.wordpress.org/trunk@23676 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 21:42:53 +00:00
Lance Willett 90d4a19ced Twenty Thirteen: gallery styles fixed to allow image thumbnails larger than 150 to align properly. Props obenland, fixes #23742.
git-svn-id: https://develop.svn.wordpress.org/trunk@23675 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 21:27:13 +00:00
Lance Willett c8fc6ad2a9 Twenty Thirteen: second pass at RTL support and minor style.css fixes, props obenland. See #23550.
git-svn-id: https://develop.svn.wordpress.org/trunk@23674 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 21:18:15 +00:00
Lance Willett a25ed6bb60 Twenty Thirteen: remove searchform.php template once core search form accepts HTML5 argument. Props obenland, fixes #23701.
git-svn-id: https://develop.svn.wordpress.org/trunk@23673 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 17:44:27 +00:00
Lance Willett 72f5afa6e9 Twenty Thirteen: first pass at editor styles. Props Frank Klein and obenland. See #23551.
git-svn-id: https://develop.svn.wordpress.org/trunk@23672 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 17:27:24 +00:00
Lance Willett 7074dfb416 Twenty Thirteen: better styles for gallery captions. Props obenland, see #23584.
git-svn-id: https://develop.svn.wordpress.org/trunk@23671 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 16:59:38 +00:00
Lance Willett b7ff0b27e9 Twenty Thirteen: fix toggling header text display in Customizer. Props obenland, fixes #23722.
git-svn-id: https://develop.svn.wordpress.org/trunk@23670 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 16:52:30 +00:00
Sergey Biryukov 69566bbd21 Make get_home_path() return consistent slashes. fixes #23175.
git-svn-id: https://develop.svn.wordpress.org/trunk@23669 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 11:04:14 +00:00
Sergey Biryukov 317d45f452 Fix array formatting. see #21210.
git-svn-id: https://develop.svn.wordpress.org/trunk@23668 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 10:30:58 +00:00
Sergey Biryukov c4c4c09c43 Add $format argument to get_search_form() to allow HTML5 markup. props georgestephanis, lancewillett. fixes #15081.
git-svn-id: https://develop.svn.wordpress.org/trunk@23667 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 10:25:08 +00:00
Sergey Biryukov f4a77a66b4 Always respect $echo argument in get_search_form(). props garyc40, kawauso. fixes #16541.
git-svn-id: https://develop.svn.wordpress.org/trunk@23666 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 09:51:56 +00:00
Sergey Biryukov a33ecb5f56 Improve punctuation in phpdoc. see #23090.
git-svn-id: https://develop.svn.wordpress.org/trunk@23665 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 09:30:13 +00:00
Sergey Biryukov 514e6ca11f Fix fatal error in WP_User_Query when searching users by URL. Move wp_is_large_network() to wp-includes. fixes #23683 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23664 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 09:19:55 +00:00
Sergey Biryukov 18d4ae9d54 Fix missing i18n in auto-draft titles. fixes #23565.
git-svn-id: https://develop.svn.wordpress.org/trunk@23663 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 08:57:27 +00:00