Commit Graph

21846 Commits

Author SHA1 Message Date
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
Bot (Assets) b84dfe36bf Compress scripts/styles: 3.6-alpha-23662.
git-svn-id: http://core.svn.wordpress.org/trunk@23662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 04:58:35 +00:00
Andrew Ozz edb9333d40 Check post locks with heartbeat and display modal notifications when a post is locked or a user takes over editing, props dh-shredder, see #23697
git-svn-id: http://core.svn.wordpress.org/trunk@23661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 03:22:30 +00:00
Sergey Biryukov 4c85664703 Avoid an undefined index notice in get_post_type_archive_feed_link(). props ericlewis. fixes #23744.
git-svn-id: http://core.svn.wordpress.org/trunk@23660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 01:50:46 +00:00
Sergey Biryukov 88e8c501ab Fix typo in phpdoc. props fanquake. fixes #23737.
git-svn-id: http://core.svn.wordpress.org/trunk@23659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-11 09:39:55 +00:00
Sergey Biryukov 539ad97c8b Replace deprecated WP_Screen::is_network property with WP_Screen::in_admin( 'network' ). props bpetty. fixes #23215.
git-svn-id: http://core.svn.wordpress.org/trunk@23658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-09 03:52:27 +00:00
Sergey Biryukov b1d55a5796 Update Network Dashboard help text. props DrewAPicture, raggedrobins. see #23163.
git-svn-id: http://core.svn.wordpress.org/trunk@23657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-09 03:18:26 +00:00
Sergey Biryukov 973985c2ce Prevent plugins with certain filenames from breaking links in the admin menu. props lightningspirit. fixes #22079.
git-svn-id: http://core.svn.wordpress.org/trunk@23656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-09 02:48:49 +00:00
Sergey Biryukov f3fb286c0a Pass the post ID to the_title filter in post_formats_compat(). see #23347.
git-svn-id: http://core.svn.wordpress.org/trunk@23655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-09 02:29:29 +00:00
Lance Willett 3ac13b6e6a Twenty Eleven: set images without WordPress-generated class to 100% maximum width, and fix spacing of images within caption containers. Props obenland, fixes #22366.
git-svn-id: http://core.svn.wordpress.org/trunk@23654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 18:58:27 +00:00
Sergey Biryukov 17a24f8400 Make wp_link_pages() filterable. Add 'separator' argument. Simplify the function logic. props obenland, brianlayman. fixes #13578.
git-svn-id: http://core.svn.wordpress.org/trunk@23653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 18:33:52 +00:00
Lance Willett 39223fde2a Twenty Thirteen: show portrait images correctly in gallery post formats. Props obenland, fixes #23649.
git-svn-id: http://core.svn.wordpress.org/trunk@23652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 17:01:33 +00:00
Lance Willett 9c1c3f2bc5 Twenty Thirteen: improve contrast for quote post format links, props sabreuse. See #23513.
git-svn-id: http://core.svn.wordpress.org/trunk@23651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 16:55:05 +00:00
Lance Willett 8151fc8c77 Twenty Thirteen: lighten orange color for link text in footer widgets, props sabreuse. See #23513.
Also use same shade for paging links, to be consistent and not have thousands of small color variations in the the theme.

git-svn-id: http://core.svn.wordpress.org/trunk@23650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 16:49:31 +00:00
Sergey Biryukov 2e4d128fe0 Add orientation information to gallery items. props obenland. fixes #23695.
git-svn-id: http://core.svn.wordpress.org/trunk@23649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 16:13:15 +00:00
Lance Willett c4963814d3 Twenty Thirteen: first pass at print styles, see #23552.
git-svn-id: http://core.svn.wordpress.org/trunk@23648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 16:10:57 +00:00
Lance Willett 34cebfe18d Twenty Eleven: fix showcase template display in IE7 and IE8, props obenland. Fixes #18024.
git-svn-id: http://core.svn.wordpress.org/trunk@23647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 16:08:50 +00:00
Bot (Assets) 65e8f3e3cd Compress scripts/styles: 3.6-alpha-23646.
git-svn-id: http://core.svn.wordpress.org/trunk@23646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 22:58:48 +00:00
Lance Willett 7b26a36756 Twenty Thirteen: simpler isRTL check for masonry, props obenland. See #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 18:22:58 +00:00
Lance Willett d96b1ca8e2 Twenty Thirteen: RTL JS support, fix class selector, see #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 18:00:26 +00:00
Lance Willett 79163b239b Twenty Thirteen: first pass at RTL CSS and JS support. Props DrewAPicture and maor, see #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 17:57:16 +00:00
Lance Willett 10d48f7478 Twenty Thirteen: remove redundant `esc_url()` calls, props SergeyBiryukov, fixes #23663.
git-svn-id: http://core.svn.wordpress.org/trunk@23642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 17:18:02 +00:00
Mark Jaquith adecc9f798 Add back "Add New" next to h2 on Nav Menus screen.
props DrewAPicture. see #23641

git-svn-id: http://core.svn.wordpress.org/trunk@23641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 17:04:32 +00:00
Andrew Nacin 1e555a03a1 Remove message slide-down effect on the nav-menus.php page. props lessbloat, fixes #23714.
git-svn-id: http://core.svn.wordpress.org/trunk@23640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 17:03:15 +00:00
Peter Westwood 51db623107 Revisions: Updates to the new Revisions UI.
Various Updates including:
 * i18n fixes
 * Added tracking of what revision ID was restored
 * async fetching of diffs so that slider works sooner even with many revisions

See #23497 props adamsilverstein, ethitter


git-svn-id: http://core.svn.wordpress.org/trunk@23639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 15:32:26 +00:00
Peter Westwood 082e9342b7 Revisions: Update the Styling for the Revisions UI props karmatosed see #23497.
git-svn-id: http://core.svn.wordpress.org/trunk@23638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 15:11:23 +00:00
Andrew Nacin af53edb696 Revert [23411] until encoding differences are worked out. see #20771.
git-svn-id: http://core.svn.wordpress.org/trunk@23637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 06:57:56 +00:00