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
Andrew Nacin
799ac18951
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: http://core.svn.wordpress.org/trunk@23636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 06:52:37 +00:00
Andrew Nacin
3828d67fad
Allow get_post_ancestors() to inspect the $post global, when null/0 is received. see #23708 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 06:49:46 +00:00
Sergey Biryukov
831afad92c
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: http://core.svn.wordpress.org/trunk@23634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 06:00:16 +00:00
Sergey Biryukov
aa842e13b1
Always escape the URL echoed by header_image(). fixes #23664 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 05:30:00 +00:00
Sergey Biryukov
caf591b7aa
Declare the variable before using it. props danielbachhuber. fixes #23710 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 04:46:19 +00:00
Andrew Nacin
ebe758b5c6
Use auto-draft rather than post_ID = 0 to detect whether we are adding a new post. see #23665 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 23:55:54 +00:00
Lance Willett
c585d3f1c7
Twenty Thirteen: align comment "bypostauthor" star correctly, props taupecat. Fixes #23696 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 23:38:06 +00:00
Lance Willett
05cbeaff52
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: http://core.svn.wordpress.org/trunk@23629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 23:36:42 +00:00
Lance Willett
ecb47456fd
Twenty Thirteen: better styling for text input elements in small viewports. Props obenland and karmatosed, fixes #23629 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 23:09:26 +00:00
Bot (Assets)
ee6d4020c9
Compress scripts/styles: 3.6-alpha-23627.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 22:58:49 +00:00
Andrew Nacin
c3a174becd
Add shortcode_atts_$shortcode filter for when the name of the shortcode is passed to shortcode_atts(). props coffee2code. fixes #15155 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 20:07:40 +00:00
Mark Jaquith
3fcf3e1134
Unhyphenate "log-in". see #23295
...
git-svn-id: http://core.svn.wordpress.org/trunk@23625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 20:06:19 +00:00
Andrew Nacin
f994ff39ac
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: http://core.svn.wordpress.org/trunk@23624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 19:57:31 +00:00
Mark Jaquith
dded305ec0
RTL for Nav Menu tweaks. see #23641 . fixes #23645 . props DrewAPicture.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 19:37:25 +00:00
Mark Jaquith
68bc33d128
Tweak the Nav Menu UX, especially around menu creation.
...
props lessbloat, DrewAPicture, jkudish. fixes #23641
git-svn-id: http://core.svn.wordpress.org/trunk@23622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 19:34:01 +00:00
Lance Willett
191272ff82
Twenty Thirteen: remove extraneous comment link on single post views, props markmcwilliams. Fixes #23657 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-05 21:44:38 +00:00
Lance Willett
377714954f
Twenty Thirteen: fixed layout for search inputs, props kwight. Fixes #23679 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-05 18:47:29 +00:00
Ryan Boren
da7db424de
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: http://core.svn.wordpress.org/trunk@23619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-05 17:02:31 +00:00
Andrew Nacin
2ca0cdcdfe
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: http://core.svn.wordpress.org/trunk@23618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-05 16:14:14 +00:00
Bot (Assets)
06762563eb
Compress scripts/styles: 3.6-alpha-23617.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-05 14:49:17 +00:00
Andrew Nacin
895b6b3bb6
Add heartbeat and revisions .min.js files.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-05 14:47:29 +00:00
Helen Hou-Sandí
fffc2e1ab1
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: http://core.svn.wordpress.org/trunk@23615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 23:22:17 +00:00
Lance Willett
aeff1ebf2f
Twenty Thirteen: better contrast for page links, props sabreuse. See #23513 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 23:19:35 +00:00
Lance Willett
4651adfccf
Twenty Thirteen: better contrast for footer text and form "allowed tags" text, props sabreuse. See #23513 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 23:18:44 +00:00
Lance Willett
a3df6848f5
Twenty Thirteen: adjust caption color in footer widgets, props obenland. Fixes #23660 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 22:57:40 +00:00
Lance Willett
399da0f9ae
Twenty Thirteen: move IE-specific properties out of main stylesheet. Props obenland, see #23507 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 22:51:27 +00:00
Lance Willett
69fb0e379c
Twenty Thirteen: fix text overflow with sidebar in IE8, props obenland. Fixes #23579 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 22:46:44 +00:00
Dion Hulse
1f7fc4281f
WP_HTTP: Prevent the 'max_body_length' and 'stream_handle' properties of the curl class from leaking between requests by specifically initializing them in every case. See #23472 & r23605
...
git-svn-id: http://core.svn.wordpress.org/trunk@23609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 05:40:43 +00:00
Dion Hulse
d4b814df2f
WP_HTTP: Fix returning WP_Error's on too-many-redirects after r23603 See #23682
...
git-svn-id: http://core.svn.wordpress.org/trunk@23608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 05:17:05 +00:00
Dion Hulse
46a4d2d295
WP_HTTP: Return error responses from cURL for non-blocking requests. Contrary to popular belief, cURL's non-blocking requests are not exact non-blocking, we still wait for cURL to make the request before returning, so making this change aids in development debugging. Props SergeyBiryukov Fixes #23310
...
git-svn-id: http://core.svn.wordpress.org/trunk@23607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 04:47:39 +00:00