Commit Graph

22676 Commits

Author SHA1 Message Date
Andrew Ozz 92c30a26fb 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: https://develop.svn.wordpress.org/trunk@23661 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 03:22:30 +00:00
Sergey Biryukov 9dc7a6a22f Avoid an undefined index notice in get_post_type_archive_feed_link(). props ericlewis. fixes #23744.
git-svn-id: https://develop.svn.wordpress.org/trunk@23660 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 01:50:46 +00:00
Sergey Biryukov 99392425cb Fix typo in phpdoc. props fanquake. fixes #23737.
git-svn-id: https://develop.svn.wordpress.org/trunk@23659 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-11 09:39:55 +00:00
Sergey Biryukov aea7b67a2e Replace deprecated WP_Screen::is_network property with WP_Screen::in_admin( 'network' ). props bpetty. fixes #23215.
git-svn-id: https://develop.svn.wordpress.org/trunk@23658 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-09 03:52:27 +00:00
Sergey Biryukov aa44600be8 Update Network Dashboard help text. props DrewAPicture, raggedrobins. see #23163.
git-svn-id: https://develop.svn.wordpress.org/trunk@23657 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-09 03:18:26 +00:00
Sergey Biryukov d25b3c5c19 Prevent plugins with certain filenames from breaking links in the admin menu. props lightningspirit. fixes #22079.
git-svn-id: https://develop.svn.wordpress.org/trunk@23656 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-09 02:48:49 +00:00
Sergey Biryukov 44e0f5ff09 Pass the post ID to the_title filter in post_formats_compat(). see #23347.
git-svn-id: https://develop.svn.wordpress.org/trunk@23655 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-09 02:29:29 +00:00
Lance Willett d1dbcb0062 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: https://develop.svn.wordpress.org/trunk@23654 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-08 18:58:27 +00:00
Sergey Biryukov 16f38de702 Make wp_link_pages() filterable. Add 'separator' argument. Simplify the function logic. props obenland, brianlayman. fixes #13578.
git-svn-id: https://develop.svn.wordpress.org/trunk@23653 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-08 18:33:52 +00:00
Lance Willett f3a271cde8 Twenty Thirteen: show portrait images correctly in gallery post formats. Props obenland, fixes #23649.
git-svn-id: https://develop.svn.wordpress.org/trunk@23652 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-08 17:01:33 +00:00
Lance Willett 36d826c002 Twenty Thirteen: improve contrast for quote post format links, props sabreuse. See #23513.
git-svn-id: https://develop.svn.wordpress.org/trunk@23651 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-08 16:55:05 +00:00
Lance Willett 8420ee4a9f 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: https://develop.svn.wordpress.org/trunk@23650 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-08 16:49:31 +00:00
Sergey Biryukov 82b5f9e128 Add orientation information to gallery items. props obenland. fixes #23695.
git-svn-id: https://develop.svn.wordpress.org/trunk@23649 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-08 16:13:15 +00:00
Lance Willett 8bcef0d438 Twenty Thirteen: first pass at print styles, see #23552.
git-svn-id: https://develop.svn.wordpress.org/trunk@23648 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-08 16:10:57 +00:00
Lance Willett de697c34cc Twenty Eleven: fix showcase template display in IE7 and IE8, props obenland. Fixes #18024.
git-svn-id: https://develop.svn.wordpress.org/trunk@23647 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-08 16:08:50 +00:00
bumpbot 5d98f47677 Compress scripts/styles: 3.6-alpha-23646.
git-svn-id: https://develop.svn.wordpress.org/trunk@23646 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 22:58:48 +00:00
Lance Willett b1bfd753a6 Twenty Thirteen: simpler isRTL check for masonry, props obenland. See #23550.
git-svn-id: https://develop.svn.wordpress.org/trunk@23645 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 18:22:58 +00:00
Lance Willett d7bb51b7a9 Twenty Thirteen: RTL JS support, fix class selector, see #23550.
git-svn-id: https://develop.svn.wordpress.org/trunk@23644 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 18:00:26 +00:00
Lance Willett 658afdeb2f Twenty Thirteen: first pass at RTL CSS and JS support. Props DrewAPicture and maor, see #23550.
git-svn-id: https://develop.svn.wordpress.org/trunk@23643 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 17:57:16 +00:00
Lance Willett 2be4925f70 Twenty Thirteen: remove redundant `esc_url()` calls, props SergeyBiryukov, fixes #23663.
git-svn-id: https://develop.svn.wordpress.org/trunk@23642 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 17:18:02 +00:00
Mark Jaquith 2f09df84f3 Add back "Add New" next to h2 on Nav Menus screen.
props DrewAPicture. see #23641

git-svn-id: https://develop.svn.wordpress.org/trunk@23641 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 17:04:32 +00:00
Andrew Nacin d049a2b1ed Remove message slide-down effect on the nav-menus.php page. props lessbloat, fixes #23714.
git-svn-id: https://develop.svn.wordpress.org/trunk@23640 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 17:03:15 +00:00
Peter Westwood ae4522b5f1 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: https://develop.svn.wordpress.org/trunk@23639 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 15:32:26 +00:00
Peter Westwood b88687d67e Revisions: Update the Styling for the Revisions UI props karmatosed see #23497.
git-svn-id: https://develop.svn.wordpress.org/trunk@23638 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 15:11:23 +00:00
Andrew Nacin 4bd1d84c02 Revert [23411] until encoding differences are worked out. see #20771.
git-svn-id: https://develop.svn.wordpress.org/trunk@23637 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 06:57:56 +00:00
Andrew Nacin 0a1b374283 XML-RPC: Return an error for getRecentPosts (mw and blogger) if the user does not have edit_posts.
props redsweater.
fixes #22320.



git-svn-id: https://develop.svn.wordpress.org/trunk@23636 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 06:52:37 +00:00
Andrew Nacin f5de3b88a8 Allow get_post_ancestors() to inspect the $post global, when null/0 is received. see #23708.
git-svn-id: https://develop.svn.wordpress.org/trunk@23635 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 06:49:46 +00:00
Sergey Biryukov 7e7cf2bb94 When adding a new user in the admin, strip slashes from the password sent to the user by email. props hakre for initial patch. fixes #17018.
git-svn-id: https://develop.svn.wordpress.org/trunk@23634 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 06:00:16 +00:00
Sergey Biryukov 3213c4ca46 Always escape the URL echoed by header_image(). fixes #23664.
git-svn-id: https://develop.svn.wordpress.org/trunk@23633 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 05:30:00 +00:00
Sergey Biryukov 458b77814c Declare the variable before using it. props danielbachhuber. fixes #23710.
git-svn-id: https://develop.svn.wordpress.org/trunk@23632 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 04:46:19 +00:00
Andrew Nacin e2fa722fbb Use auto-draft rather than post_ID = 0 to detect whether we are adding a new post. see #23665.
git-svn-id: https://develop.svn.wordpress.org/trunk@23631 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 23:55:54 +00:00
Lance Willett bc771611ae Twenty Thirteen: align comment "bypostauthor" star correctly, props taupecat. Fixes #23696.
git-svn-id: https://develop.svn.wordpress.org/trunk@23630 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 23:38:06 +00:00
Lance Willett c48a280f3b Twenty Thirteen: minor tweaks and fixes, props obenland. Fixes #23698.
* Add 1px to top margin for second level menus to align child menus with parent height
 * Remove text-decoration on hover for cancel-comment-reply-link
 * Pull floated images only in post content
 * Close edit link span element correctly

git-svn-id: https://develop.svn.wordpress.org/trunk@23629 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 23:36:42 +00:00
Lance Willett 36ca3b7622 Twenty Thirteen: better styling for text input elements in small viewports. Props obenland and karmatosed, fixes #23629.
git-svn-id: https://develop.svn.wordpress.org/trunk@23628 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 23:09:26 +00:00
bumpbot bc37473b87 Compress scripts/styles: 3.6-alpha-23627.
git-svn-id: https://develop.svn.wordpress.org/trunk@23627 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 22:58:49 +00:00
Andrew Nacin 87bea49dc5 Add shortcode_atts_$shortcode filter for when the name of the shortcode is passed to shortcode_atts(). props coffee2code. fixes #15155.
git-svn-id: https://develop.svn.wordpress.org/trunk@23626 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 20:07:40 +00:00
Mark Jaquith 89da4c1451 Unhyphenate "log-in". see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23625 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 20:06:19 +00:00
Andrew Nacin 11b772ea05 Add filters to comments_link_feed(), comment_link(), and get_comments_link(). esc_url() the echoed output of comments_link().
props MarcusPope.
fixes #19210.



git-svn-id: https://develop.svn.wordpress.org/trunk@23624 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 19:57:31 +00:00
Mark Jaquith 5fdeae8ffd RTL for Nav Menu tweaks. see #23641. fixes #23645. props DrewAPicture.
git-svn-id: https://develop.svn.wordpress.org/trunk@23623 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 19:37:25 +00:00
Mark Jaquith d422fd5331 Tweak the Nav Menu UX, especially around menu creation.
props lessbloat, DrewAPicture, jkudish. fixes #23641

git-svn-id: https://develop.svn.wordpress.org/trunk@23622 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 19:34:01 +00:00
Lance Willett 32d99413f3 Twenty Thirteen: remove extraneous comment link on single post views, props markmcwilliams. Fixes #23657.
git-svn-id: https://develop.svn.wordpress.org/trunk@23621 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-05 21:44:38 +00:00
Lance Willett cc2340d683 Twenty Thirteen: fixed layout for search inputs, props kwight. Fixes #23679.
git-svn-id: https://develop.svn.wordpress.org/trunk@23620 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-05 18:47:29 +00:00
Ryan Boren ec09b27a71 Call them network upgrades rather than network updates to better indicate that they are DB upgrades rather than code/file upgrades.
Improve the contextual help for the Network Upgrade screen.

Props DrewAPicture
fixes #23540


git-svn-id: https://develop.svn.wordpress.org/trunk@23619 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-05 17:02:31 +00:00
Andrew Nacin ddb81178b7 Properly handle timezones in get_date_from_gmt() rather than relying on the implicit gmt_offset. This offset is only good for the current time, rather than the passed time, which causes problems when converting a DST date when DST is not in effect, or vice versa.
Update get_gmt_from_date() to make these functions match in formatting, as they are complementary and just reverse a few operations.

props scholesmafia
Tests: [1233/tests]

fixes #20328.



git-svn-id: https://develop.svn.wordpress.org/trunk@23618 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-05 16:14:14 +00:00
bumpbot 32e9ee9d42 Compress scripts/styles: 3.6-alpha-23617.
git-svn-id: https://develop.svn.wordpress.org/trunk@23617 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-05 14:49:17 +00:00
Andrew Nacin 8f97270ec5 Add heartbeat and revisions .min.js files.
git-svn-id: https://develop.svn.wordpress.org/trunk@23616 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-05 14:47:29 +00:00
Helen Hou-Sandi a847ce2f36 Prevent an unseemly gap on the edit screen when nothing else displays before normal meta boxes. Give better HTML and visual structure to items added via `edit_form_after_title` and `edit_form_after_editor`. Using a class of `.edit-form-section` will now get you a 20px bottom margin; perfect for your additions to the post edit screen. fixes #23240.
git-svn-id: https://develop.svn.wordpress.org/trunk@23615 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 23:22:17 +00:00
Lance Willett a8a63c13c6 Twenty Thirteen: better contrast for page links, props sabreuse. See #23513.
git-svn-id: https://develop.svn.wordpress.org/trunk@23614 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 23:19:35 +00:00
Lance Willett 10343746ab Twenty Thirteen: better contrast for footer text and form "allowed tags" text, props sabreuse. See #23513.
git-svn-id: https://develop.svn.wordpress.org/trunk@23613 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 23:18:44 +00:00
Lance Willett 33f53dcf8c Twenty Thirteen: adjust caption color in footer widgets, props obenland. Fixes #23660.
git-svn-id: https://develop.svn.wordpress.org/trunk@23612 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 22:57:40 +00:00