Commit Graph

21860 Commits

Author SHA1 Message Date
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
Lance Willett
8142dd4466 Twenty Thirteen: move IE-specific properties out of main stylesheet. Props obenland, see #23507.
git-svn-id: https://develop.svn.wordpress.org/trunk@23611 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 22:51:27 +00:00
Lance Willett
053ff74b93 Twenty Thirteen: fix text overflow with sidebar in IE8, props obenland. Fixes #23579.
git-svn-id: https://develop.svn.wordpress.org/trunk@23610 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 22:46:44 +00:00
Dion Hulse
5c1c214b26 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: https://develop.svn.wordpress.org/trunk@23609 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 05:40:43 +00:00
Dion Hulse
c267aa97a8 WP_HTTP: Fix returning WP_Error's on too-many-redirects after r23603 See #23682
git-svn-id: https://develop.svn.wordpress.org/trunk@23608 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 05:17:05 +00:00
Dion Hulse
86a9ca48a1 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: https://develop.svn.wordpress.org/trunk@23607 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 04:47:39 +00:00
Sergey Biryukov
b87d12f45f Add description for wp_dashboard_rss_output(). props aaronholbrook for initial patch. fixes #23301.
git-svn-id: https://develop.svn.wordpress.org/trunk@23606 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 04:34:39 +00:00
Dion Hulse
c5ebf25b8e WP_HTTP: Enable developers to request the first x bytes of a document using the 'limit-response-size' parameter.
The connection to the remote server will be disconnected after x number of bytes has been received.
See #23472


git-svn-id: https://develop.svn.wordpress.org/trunk@23605 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 04:24:26 +00:00
Sergey Biryukov
67a775ec5b Fix typos in phpdoc. props bradparbs. fixes #23481.
git-svn-id: https://develop.svn.wordpress.org/trunk@23604 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 04:23:00 +00:00
Dion Hulse
b3e461dddd WP_HTTP: Funnel all redirect requests through WP_HTTP::request() via wp_remote_request() to ensure that the proper transport is chosen for redirects.
This change also moves PHP Streams from redirecting internally, to us handling the redirections in PHP, which brings a more consistent behaviour between transports.
Fixes #23682



git-svn-id: https://develop.svn.wordpress.org/trunk@23603 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 04:10:36 +00:00
Dion Hulse
f936278590 WP_HTTP: Specifically mark a static function as being static
git-svn-id: https://develop.svn.wordpress.org/trunk@23602 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 03:36:08 +00:00
Dion Hulse
d15b5ca24b WP_HTTP: Do not send a Accept-Encoding header when we're streaming to file, or decompression has been disabled by the caller, See #22913
git-svn-id: https://develop.svn.wordpress.org/trunk@23601 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 03:33:12 +00:00
Dion Hulse
349fb6ed6d WP_HTTP: Allow developers to specify a Accept-Encoding header. Fixes #20142
git-svn-id: https://develop.svn.wordpress.org/trunk@23600 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 03:11:25 +00:00
Sergey Biryukov
1df0c7277c Remove unnecessary error suppression from get_terms(). fixes #21887.
git-svn-id: https://develop.svn.wordpress.org/trunk@23599 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 02:52:43 +00:00
Sergey Biryukov
2158fa203b Fix array formatting. props WraithKenny. fixes #21210.
git-svn-id: https://develop.svn.wordpress.org/trunk@23598 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 02:48:20 +00:00
Sergey Biryukov
4cfc8178cf Simplify logic in WP_Widget_Recent_Posts and WP_Widget_Recent_Comments. fixes #23089.
git-svn-id: https://develop.svn.wordpress.org/trunk@23597 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 02:14:23 +00:00
bumpbot
cb9f18d20f Compress scripts/styles: 3.6-alpha-23596.
git-svn-id: https://develop.svn.wordpress.org/trunk@23596 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-03 22:58:36 +00:00