Commit Graph

21722 Commits

Author SHA1 Message Date
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
Bot (Assets)
0fc6c4eca2 Compress scripts/styles: 3.6-alpha-23704.
git-svn-id: http://core.svn.wordpress.org/trunk@23704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 02:58:53 +00:00
Mark Jaquith
6cfdb8a0e2 Wrap self.run in an anonymous function wrapper so self always gets the same scope.
props azaozz. fixes #23780

git-svn-id: http://core.svn.wordpress.org/trunk@23703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 02:32:05 +00:00
Lance Willett
634b9e93a1 Twenty Thirteen: ensure footer position if Masonry unavailable for changing the layout. Props obenland, fixes #23771.
git-svn-id: http://core.svn.wordpress.org/trunk@23702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 22:27:58 +00:00
Lance Willett
6de85ee884 Twenty Thirteen: better caption styles for short words and sentences. Props kwight, fixes #23773.
git-svn-id: http://core.svn.wordpress.org/trunk@23701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 22:18:40 +00:00
Lance Willett
24cf418767 Twenty Thirteen: hide gallery captions from small screens and when a gallery has 7 columns or more. Props kwight, fixes #23769.
git-svn-id: http://core.svn.wordpress.org/trunk@23700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 22:11:41 +00:00
Andrew Ozz
21c2d8662c Logged out warnings: remove the logged out warning from autosave when in login_grace_period, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 21:31:02 +00:00
Lance Willett
07e5008d04 Twenty Thirteen: remove several more px unit values.
git-svn-id: http://core.svn.wordpress.org/trunk@23698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 17:53:06 +00:00
Lance Willett
e1acdbf40f 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: http://core.svn.wordpress.org/trunk@23697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 17:36:39 +00:00
Lance Willett
29753503f5 Twenty Thirteen: remove custom comment callback in favor of core comment_form() defaults. Props obenland, closes #22005. See #20088.
git-svn-id: http://core.svn.wordpress.org/trunk@23696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 16:36:14 +00:00
Bot (Assets)
6fde4c8c93 Compress scripts/styles: 3.6-alpha-23695.
git-svn-id: http://core.svn.wordpress.org/trunk@23695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 04:58:39 +00:00
Mark Jaquith
b3f6427c6f 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: http://core.svn.wordpress.org/trunk@23694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 04:26:04 +00:00
Andrew Ozz
a224d8aaf7 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: http://core.svn.wordpress.org/trunk@23693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 03:06:07 +00:00
Andrew Ozz
d46102d258 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: http://core.svn.wordpress.org/trunk@23692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 23:54:12 +00:00
Andrew Ozz
5398ac438c Logged out warnings: clear previous errors when interim_login is set, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 23:32:52 +00:00
Lance Willett
0c694a7500 Twenty Thirteen: use new HTML5 comment form argument, and adjust CSS selectors a bit. Closes #23702, see #15080.
git-svn-id: http://core.svn.wordpress.org/trunk@23690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 22:45:08 +00:00
Mark Jaquith
a1e32d3217 Add the ability to use HTML5 input types in the comment form.
props jorbin, georgestephanis, obenland. fixes #15080

git-svn-id: http://core.svn.wordpress.org/trunk@23689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 20:31:43 +00:00
Lance Willett
0eaa363b8e Twenty Thirteen: adjust header max-width value for older IE browsers. Props jvisick77, see #23732.
git-svn-id: http://core.svn.wordpress.org/trunk@23688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 17:48:46 +00:00
Lance Willett
d902afb04b Twenty Thirteen: revert three changes to content attributes, props obenland. See #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 17:14:00 +00:00
Peter Westwood
ffe2292a8f 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: http://core.svn.wordpress.org/trunk@23686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 16:00:38 +00:00
Peter Westwood
072cccd0e4 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: http://core.svn.wordpress.org/trunk@23685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 15:24:38 +00:00
Bot (Assets)
5b7cee2834 Compress scripts/styles: 3.6-alpha-23684.
git-svn-id: http://core.svn.wordpress.org/trunk@23684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 10:58:39 +00:00
Andrew Ozz
e9245269a7 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: http://core.svn.wordpress.org/trunk@23683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 10:08:16 +00:00
Bot (Assets)
1cafcbf0bb Compress scripts/styles: 3.6-alpha-23682.
git-svn-id: http://core.svn.wordpress.org/trunk@23682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 00:58:39 +00:00
Andrew Ozz
3b4b058275 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: http://core.svn.wordpress.org/trunk@23681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 00:28:07 +00:00
Lance Willett
cea868f0e5 Twenty Thirteen: fix SVN properties.
git-svn-id: http://core.svn.wordpress.org/trunk@23680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:44:55 +00:00
Lance Willett
16c33f55b2 Twenty Thirteen: pinking shears.
git-svn-id: http://core.svn.wordpress.org/trunk@23679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:42:34 +00:00
Lance Willett
2c38199fd2 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: http://core.svn.wordpress.org/trunk@23678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:41:58 +00:00
Lance Willett
6355d286ba 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: http://core.svn.wordpress.org/trunk@23677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:07:27 +00:00
Lance Willett
e18309bc0e Twenty Thirteen: enable a JavaScript-based fix for long sidebar areas that overflow the footer. Props obenland, fixes #23557.
git-svn-id: http://core.svn.wordpress.org/trunk@23676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 21:42:53 +00:00
Lance Willett
9adef0fcec Twenty Thirteen: gallery styles fixed to allow image thumbnails larger than 150 to align properly. Props obenland, fixes #23742.
git-svn-id: http://core.svn.wordpress.org/trunk@23675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 21:27:13 +00:00
Lance Willett
9a17fd3dec Twenty Thirteen: second pass at RTL support and minor style.css fixes, props obenland. See #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 21:18:15 +00:00
Lance Willett
9e4ce0a952 Twenty Thirteen: remove searchform.php template once core search form accepts HTML5 argument. Props obenland, fixes #23701.
git-svn-id: http://core.svn.wordpress.org/trunk@23673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 17:44:27 +00:00
Lance Willett
76f2325439 Twenty Thirteen: first pass at editor styles. Props Frank Klein and obenland. See #23551.
git-svn-id: http://core.svn.wordpress.org/trunk@23672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 17:27:24 +00:00
Lance Willett
f8cc149328 Twenty Thirteen: better styles for gallery captions. Props obenland, see #23584.
git-svn-id: http://core.svn.wordpress.org/trunk@23671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 16:59:38 +00:00
Lance Willett
92852af835 Twenty Thirteen: fix toggling header text display in Customizer. Props obenland, fixes #23722.
git-svn-id: http://core.svn.wordpress.org/trunk@23670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 16:52:30 +00:00
Sergey Biryukov
28248c1b08 Make get_home_path() return consistent slashes. fixes #23175.
git-svn-id: http://core.svn.wordpress.org/trunk@23669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 11:04:14 +00:00
Sergey Biryukov
f68ac01d4c Fix array formatting. see #21210.
git-svn-id: http://core.svn.wordpress.org/trunk@23668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 10:30:58 +00:00
Sergey Biryukov
bbae368b81 Add $format argument to get_search_form() to allow HTML5 markup. props georgestephanis, lancewillett. fixes #15081.
git-svn-id: http://core.svn.wordpress.org/trunk@23667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 10:25:08 +00:00
Sergey Biryukov
d30cda3702 Always respect $echo argument in get_search_form(). props garyc40, kawauso. fixes #16541.
git-svn-id: http://core.svn.wordpress.org/trunk@23666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 09:51:56 +00:00
Sergey Biryukov
763e039b0b Improve punctuation in phpdoc. see #23090.
git-svn-id: http://core.svn.wordpress.org/trunk@23665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 09:30:13 +00:00
Sergey Biryukov
f86b1502a0 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: http://core.svn.wordpress.org/trunk@23664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 09:19:55 +00:00
Sergey Biryukov
f29bb91f05 Fix missing i18n in auto-draft titles. fixes #23565.
git-svn-id: http://core.svn.wordpress.org/trunk@23663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 08:57:27 +00:00