Commit Graph

12004 Commits

Author SHA1 Message Date
bumpbot
d42e1e99ed Compress scripts/styles: 3.6-beta4-24632.
git-svn-id: https://develop.svn.wordpress.org/trunk@24632 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 04:58:53 +00:00
Andrew Nacin
05a9369919 Switch to a transient for is_multi_author(). props markjaquith, fixes #24445.
git-svn-id: https://develop.svn.wordpress.org/trunk@24628 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 04:20:41 +00:00
Andrew Nacin
9d6d4ce11d XML-RPC: Save enclosures with a trailing new line. fixes #23219.
git-svn-id: https://develop.svn.wordpress.org/trunk@24623 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 03:34:35 +00:00
bumpbot
9d31473e23 Compress scripts/styles: 3.6-beta4-24620.
git-svn-id: https://develop.svn.wordpress.org/trunk@24620 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 22:58:53 +00:00
bumpbot
01f8aa101e Compress scripts/styles: 3.6-beta4-24618.
git-svn-id: https://develop.svn.wordpress.org/trunk@24618 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 20:58:49 +00:00
Andrew Nacin
634d743ccd Have get_footer() match get_header() etc in [24616]. fixes #24714.
git-svn-id: https://develop.svn.wordpress.org/trunk@24617 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 20:48:02 +00:00
Andrew Nacin
0df685da44 In general template functions, cast to string then ensure we actually have a template name before proceeding. Affects get_sidebar(), get_header(), get_footer(), get_template_part().
props tivnet for initial patch.
fixes #24714.



git-svn-id: https://develop.svn.wordpress.org/trunk@24616 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 20:31:04 +00:00
bumpbot
26bb582335 Compress scripts/styles: 3.6-beta4-24612.
git-svn-id: https://develop.svn.wordpress.org/trunk@24612 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 10:58:49 +00:00
bumpbot
28c43dfb05 Compress scripts/styles: 3.6-beta4-24610.
git-svn-id: https://develop.svn.wordpress.org/trunk@24610 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 08:58:52 +00:00
Andrew Nacin
8f24ab263d Avoid getting tripped up on post content that starts with <!--nextpage-->. props SergeyBiryukov. fixes #16746.
git-svn-id: https://develop.svn.wordpress.org/trunk@24599 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 05:23:53 +00:00
Andrew Nacin
65bf560b9d Remove wp_parse_post_content(), get_paged_content(), paginate_content() from 3.6, and remove the new $id parameters for get_the_content() and the_content().
The content parsing functions are good abstractions, but are no longer needed by core and are too closely tied to legacy globals, rather than paving a new path.

For get_the_content() and the_content(), this only worsens the function prototype. It muddies theme-specific display (more links, etc) with filtered content. `apply_filters( 'the_content', $post->post_content )` is sufficient practice for now.

see #24330, [24301]. see #23625, [23804].



git-svn-id: https://develop.svn.wordpress.org/trunk@24598 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 05:22:50 +00:00
Andrew Nacin
7f0bd4bbd6 XML-RPC: For wp.getOptions, set readonly to true for writable options that the user does not have permission to edit.
props westi.
fixes #20201.



git-svn-id: https://develop.svn.wordpress.org/trunk@24597 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 02:22:57 +00:00
bumpbot
f1bf096eab Compress scripts/styles: 3.6-beta4-24596.
git-svn-id: https://develop.svn.wordpress.org/trunk@24596 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 22:35:26 +00:00
Andrew Nacin
772c90d846 Support IIS 8 and above.
props hurtige for initial patch.
fixes #23533.



git-svn-id: https://develop.svn.wordpress.org/trunk@24594 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 20:27:06 +00:00
Andrew Nacin
f3b332e9bb Use meta caps edit_post, read_post, and delete_post directly, rather than consulting the post type object. map_meta_cap() handles that for us. props markjaquith, kovshenin. fixes #23226.
git-svn-id: https://develop.svn.wordpress.org/trunk@24593 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 20:05:42 +00:00
bumpbot
e16dca6fc9 Compress scripts/styles: 3.6-beta4-24592.
git-svn-id: https://develop.svn.wordpress.org/trunk@24592 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 18:58:16 +00:00
Andrew Nacin
74e84dae23 Use correct variable in the deprecated and abandoned Snoopy HTTP client. see #24210.
See also:
 * http://sourceforge.net/p/snoopy/bugs/60/
 * http://sourceforge.net/p/snoopy/bugs/62/
 * http://sourceforge.net/p/snoopy/bugs/73/
 * http://sourceforge.net/p/snoopy/bugs/77/
 * and probably more. This project is abandoned.

If any plugins are using this (instead of the WordPress HTTP API), this at least ensures that temp files are cleaned up.



git-svn-id: https://develop.svn.wordpress.org/trunk@24591 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 17:17:46 +00:00
Andrew Nacin
2b64842c3b SimplePie: Merge 5e046a3 from upstream. props rlerdorf, see #24210.
5e046a3e68



git-svn-id: https://develop.svn.wordpress.org/trunk@24589 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 17:10:16 +00:00
Andrew Nacin
32528edd1b Patch Services_JSON to use the proper function name and avoid a fatal error. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24587 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 16:55:34 +00:00
Andrew Nacin
cdaa82bc9b Use wp_basename() in newer media code for filenames to avoid encoding issues on display. props SergeyBiryukov, fixes #23267.
git-svn-id: https://develop.svn.wordpress.org/trunk@24585 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 13:55:50 +00:00
Andrew Nacin
1c76a5218c Revert [23394] until there is a consensus on target="_blank" (or not) for these external links. see #20839.
git-svn-id: https://develop.svn.wordpress.org/trunk@24583 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 13:04:07 +00:00
Andrew Nacin
77238aa5ee Expand human_time_diff() from minutes/hours/days to also include weeks/months/years. Fix off-by-one issue.
props SergeyBiryukov, westi.
fixes #9272.



git-svn-id: https://develop.svn.wordpress.org/trunk@24582 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 13:00:34 +00:00
Andrew Nacin
903be842a3 Documentation for [24564]. see #23811.
git-svn-id: https://develop.svn.wordpress.org/trunk@24581 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 12:59:10 +00:00
Sergey Biryukov
4fea95b6ab Avoid an undefined index notice. props DrewAPicture. fixes #22096.
git-svn-id: https://develop.svn.wordpress.org/trunk@24580 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 01:49:13 +00:00
Dominik Schilling (ocean90)
814c36baea Revisions improvements
* Corrected routing behavior
* Simplified CSS for tooltips
* Compare two mode for RTL
* Support for posts without titles 

props adamsilverstein, ocean90. see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24578 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-06 10:48:14 +00:00
Andrew Ozz
0d71651c9f Heartbeat:
- Pass the actual error to the jQuery event 'heartbeat-connection-lost'.
- When in error state, keep trying to connect even when no response is expected until the error is cleared.
See #23216.

git-svn-id: https://develop.svn.wordpress.org/trunk@24577 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 23:33:47 +00:00
Andrew Nacin
6e96c1d7db Remove pattern="" in the comment form (HTML5 mode) to avoid mistaken :invalid styles.
This was originally included for Opera 10, but is not needed as of Opera 11, and current is Opera 15.

props jorbin, markjaquith.
fixes #24475.



git-svn-id: https://develop.svn.wordpress.org/trunk@24573 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 21:59:10 +00:00
Mark Jaquith
e47e61424f Make sure get_post_gallery() doesn't ever return an array when asked for a string.
props kovshenin, wonderboymusic, ocean90. fixes #24270.

git-svn-id: https://develop.svn.wordpress.org/trunk@24572 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 20:54:46 +00:00
Mark Jaquith
70eedabc2b Drop some wrapper functions
* `get_attached_audio()` (use `get_attached_media( 'audio' )`)
* `get_attached_images()` (use `get_attached_media( 'image' )`)
* `get_attached_videos()` (use `get_attached_media( 'video' )`)

props wonderboymusic. fixes #23843.

git-svn-id: https://develop.svn.wordpress.org/trunk@24571 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 20:41:49 +00:00
Dominik Schilling (ocean90)
38e7f8d441 Remove the_post_format_gallery(). see #24452.
git-svn-id: https://develop.svn.wordpress.org/trunk@24570 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 20:37:12 +00:00
Dominik Schilling (ocean90)
f89a4f5b21 Remove img_html_to_post_id(). It's unused since [24555]. fixes #24610.
git-svn-id: https://develop.svn.wordpress.org/trunk@24569 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 18:45:41 +00:00
Mark Jaquith
101031bcf4 @-silence an Imagick call that causes a warning in PHP 5.4.
props DH-Shredder. fixes #24539.

git-svn-id: https://develop.svn.wordpress.org/trunk@24568 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 18:43:45 +00:00
Mark Jaquith
159b426ef5 Don't display errors for XML-RPC requests, as they malform the response.
fixes #23811. props kovshenin, markoheijnen.

git-svn-id: https://develop.svn.wordpress.org/trunk@24564 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 17:38:14 +00:00
Mark Jaquith
12ff8a31c3 Prevent invalid queries in certain empty-array-passing meta_query cases.
fixes #22096. props wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24563 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 16:40:46 +00:00
bumpbot
2fd98a828c Compress scripts/styles: 3.6-beta4-24560.
git-svn-id: https://develop.svn.wordpress.org/trunk@24561 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:42:57 +00:00
Mark Jaquith
b275c9418f Keep the Nav Menu walker from blowing up the layout on empty-titled items.
fixes #23254. props cais, SergeyBiryukov.

git-svn-id: https://develop.svn.wordpress.org/trunk@24560 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:41:46 +00:00
Ryan Boren
2093f293c7 Don't sync the blog public option from noindex(). This can cause race conditions.
fixes #23155


git-svn-id: https://develop.svn.wordpress.org/trunk@24559 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:17:31 +00:00
Mark Jaquith
977c747f43 Hide the Revisions meta box content if no-JS, as JS is required to actually do anything with revisions.
fixes #24405. props DrewAPicture, MikeHansenMe.

git-svn-id: https://develop.svn.wordpress.org/trunk@24557 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:04:24 +00:00
Mark Jaquith
00e2ca3b6f Remove some more post format functions.
props wonderboymusic. fixes #24610.

git-svn-id: https://develop.svn.wordpress.org/trunk@24555 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-04 06:57:00 +00:00
Dominik Schilling (ocean90)
cf6a29cfa1 Lose content removal and splitting from get_content_url(). And remove unneeded lines from [24400].
fixes #24484.

git-svn-id: https://develop.svn.wordpress.org/trunk@24554 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 22:36:13 +00:00
Andrew Nacin
bc4b7fd0a5 Allow gallery to be inserted with no links on the images. props chipbennett, helgatheviking, aaroncampbell, wonderboymusic. fixes #18178.
git-svn-id: https://develop.svn.wordpress.org/trunk@24550 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:43:19 +00:00
Andrew Nacin
9bac10425e Remove attachment_url_to_postid(). props kovshenin, wonderboymusic. see #24458.
git-svn-id: https://develop.svn.wordpress.org/trunk@24548 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:23:48 +00:00
Andrew Nacin
58b96f9dd5 Call shortcode functions directly. props kovshenin, fixes #24505.
git-svn-id: https://develop.svn.wordpress.org/trunk@24547 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:19:00 +00:00
Andrew Nacin
8ceb51f88e jQuery 1.10.2. props ocean90. fixes #24426.
git-svn-id: https://develop.svn.wordpress.org/trunk@24546 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:11:44 +00:00
Andrew Ozz
fb5b41aa7b TinyMCE: normalize font size for H1 - H6 submenu, fixes #24586.
git-svn-id: https://develop.svn.wordpress.org/trunk@24545 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 02:03:19 +00:00
Dominik Schilling (ocean90)
925e2f67ee Replace the cite element with a b element to markup the comment author in comment_html5().
In HTML5 the `cite` element isn't valid for just an author's name.
"The cite element represents the title of a work [..] A person's name is not the title of a work" (http://www.w3.org/TR/html5/text-level-semantics.html#the-cite-element)

fixed #24522.

git-svn-id: https://develop.svn.wordpress.org/trunk@24539 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 18:26:16 +00:00
bumpbot
5e24625852 Compress scripts/styles: 3.6-beta4-24534.
git-svn-id: https://develop.svn.wordpress.org/trunk@24534 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 16:11:01 +00:00
Dominik Schilling (ocean90)
a0aa4fa4b0 RTL: Use direction: ltr for the URL inputs in the media frame. props DrewAPicture. fixed #24326.
git-svn-id: https://develop.svn.wordpress.org/trunk@24533 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 10:15:07 +00:00
Sergey Biryukov
21704cfdc0 Make wp_mail() return the actual result of PHPMailer::Send() instead of always returning true. props chmac. fixes #23642.
git-svn-id: https://develop.svn.wordpress.org/trunk@24530 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-29 23:03:13 +00:00
Andrew Ozz
1819e0f2c2 Nonce refresh:
- Update the heartbeat nonce when refreshing nonces on the Edit Post screen.
- After a user logs in from the auth-check dialog, speed up heatrbeat to check/refresh nonces on the Edit Post screen.
- Speeding up heartbeat: bring back the setting how long it should last (how many ticks).
- Add 'heartbeat-nonces-expired' jQuery event when nonces have expired and the user is logged in.
See #23295, see #23216.

git-svn-id: https://develop.svn.wordpress.org/trunk@24528 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-29 01:31:44 +00:00