Commit Graph

11363 Commits

Author SHA1 Message Date
Andrew Nacin 8474aae314 New build of SWFUpload that ignores URL query strings. Merges [24880] to 3.5.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 19:21:45 +00:00
Andrew Nacin 7cdde24a9a The 3.5 branch is now 3.5.3-alpha.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 20:38:54 +00:00
Andrew Nacin 2a8bc01a57 Only call wp_kses_bad_protocol() in WP_HTTP if it exists. It does not in setup-config.php. Merges [24497] to the 3.5 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 19:11:57 +00:00
Andrew Nacin f4a942b9c8 Partially revert [24460] and only flush insert_id on the next insert or replace query, as we had been doing before.
Merges [24494] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 18:23:56 +00:00
Andrew Nacin 8b327835cd 3.5.2
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 17:26:11 +00:00
Andrew Nacin 6388fc15c0 Remove redundant swfupload-all.js file. Merges [24488] to the 3.5 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 09:29:58 +00:00
Andrew Nacin 0aeb856fa0 3.5.2-RC1
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 07:22:36 +00:00
Bot (Assets) a405443f70 Compress scripts/styles: 3.5.2-beta1-24486. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 07:20:58 +00:00
Andrew Nacin cdc0809128 TinyMCE: Fix backspace and line break issues in WebKit. Updates TinyMCE 3.5.8 to include 3 upstream commits.
props azaozz.
for the 3.5 branch.
see [23402] for trunk.

fixes #23337.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 06:37:45 +00:00
Andrew Nacin 9892cd4968 Merge [23603] and [23608] to the 3.5 branch. This funnels all redirect requests through WP_HTTP::request() via wp_remote_request(). see #23682.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 06:22:16 +00:00
Andrew Nacin edeeeb885d Better validation of the URL used in core HTTP requests.
Merges [24480] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 06:12:17 +00:00
Andrew Nacin 214baf3835 Update TinyMCE media plugin's moxieplayer.swf to latest.
Merges [24476] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 05:58:32 +00:00
Andrew Nacin ddffbdae37 Build the media item HTML in a clearer manner in the legacy Plupload handler JS. Also update the retired SWFUpload handler JS.
Merges [24472] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:46:51 +00:00
Andrew Nacin 554726cba0 Better sanity checks in oEmbed XML handling.
Merges [24470] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:33:52 +00:00
Andrew Nacin f8af737acf Update swfupload binary.
Merges [24468] for the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:23:41 +00:00
Andrew Nacin 12135b9829 Validate post password hash.
Merges [24466] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:02:28 +00:00
Andrew Nacin c1acd7920e Add strict check to wp_verify_nonce() to avoid issues when it is improperly called.
Merges [24461] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 02:15:55 +00:00
Andrew Nacin d6d7c84f2a Have wpdb::flush() reset more variables.
Merges [24459] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 01:35:32 +00:00
Andrew Nacin 14e91da99e Add strict check to phpass's CheckPassword() method to avoid issues when the method is improperly called.
Merges [24457] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 01:26:34 +00:00
Andrew Nacin 5b36ed4986 3.5.2-beta1
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-20 07:22:38 +00:00
Andrew Nacin 0b81eae776 Fix storage of illegal_names. Add an upgrade routine to fix bad values.
Merges [24448] to the 3.5 branch. Bump DB version by one.

props SergeyBiryukov.
fixes #23418.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 22:12:36 +00:00
Andrew Nacin cdb3358861 Use correct variable order in add_query_arg(). This had mostly just filled error logs; it also broke some obscure URL situations.
Merges [24444] to the 3.5 branch.

fixes #23284.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:36:46 +00:00
Andrew Nacin 11435aac3b Don't render the screen reader shortcut 'Log Out' link in the toolbar when the user is not logged in.
Merges [24442] to the 3.5 branch.

props SergeyBiryukov.
fixes #23178.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:16:09 +00:00
Andrew Nacin 77bcadf65a Avoid a fatal error in WP_User_Query. See #23683, [23664]. For the 3.5 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:13:49 +00:00
Andrew Nacin 07cabe2b02 Fall back to non-translated strings in _doing_it_wrong() if the translation function doesn't exist. This may be the case in sunrise, for example.
Merges [24439] to the 3.5 branch.

props SergeyBiryukov.
fixes #23555.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:12:48 +00:00
Andrew Nacin cb01fda9e4 Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602.
Merges [24436] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:00:13 +00:00
Ryan Boren 8f142e64c1 Respect the link to setting when inserting a gallery.
Props SergeyBiryukov
fixes #23298 for 3.5


git-svn-id: http://core.svn.wordpress.org/branches/3.5@24162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 22:08:33 +00:00
Andrew Nacin 0804e392a2 Allow get_post_ancestors() to inspect the $post global, when null/0 is received.
Merges [23635] to the 3.5 branch.
fixes #23708.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 15:57:46 +00:00
Andrew Nacin d229e92d14 Treat URL schemes as case insensitive when sanitizing them in esc_url().
Merges [23303] to the 3.5 branch.

props mdawaffe.
fixes #23187.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-25 19:28:47 +00:00
Andrew Nacin 177479d46c The 3.5 branch is now 3.5.2-alpha.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-25 19:28:09 +00:00
Andrew Nacin 8453c9995d 3.5.1
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-24 20:14:49 +00:00
Andrew Ozz a8e00bfcaf Update Plupload to 1.5.5, fixes #23277 for 3.5
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-23 21:04:45 +00:00
Bot (Assets) 658254c7c2 Compress scripts/styles: 3.5.1-RC1-23335.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:58:58 +00:00
Andrew Nacin 84553a1167 3.5.1 RC1.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:55:51 +00:00
Andrew Nacin a6f0c33129 Comment Query: Use $this->query_vars instead of the nonexistent shorthand $q.
Merges [23325] to the 3.5 branch.
fixes #23208.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:38:46 +00:00
Andrew Nacin 73b2d6f568 Validate pingback source URIs. Less verbose errors.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:32:06 +00:00
Andrew Nacin 42c012e4d0 Use correct escaping function. props duck_.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 16:38:32 +00:00
Andrew Nacin 296684d9cf Verify tags used in the gallery shortcode.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 15:37:36 +00:00
Bot (Assets) 90fd3a0afc Compress scripts/styles: 3.5.1-beta1-23304.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-18 00:07:39 +00:00
Andrew Ozz 6111c51168 Media: when copying from "caption" (textarea) to "alt" (text input) also remove line breaks, props kovshenin, fixes #23176 for 3.5
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-14 17:37:00 +00:00
Andrew Nacin d57fc78570 3.5.1-beta1. Hopefully short-lived.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-05 07:31:41 +00:00
Bot (Assets) b29fa0b746 Compress scripts/styles: 3.5.1-alpha-23289.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-05 02:35:02 +00:00
Ryan Boren 62e8b8965a Media: Properly reset the "add to gallery" library to ensure it accurately reflects the current gallery.
fixes #22815
for 3.5


git-svn-id: http://core.svn.wordpress.org/branches/3.5@23285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-05 02:02:29 +00:00
Andrew Nacin c6e7287774 Don't unnecessarily re-render the attachment details view when editing the title and caption. Re-rendering causes issues with tabbing and focus, and is only necessary for other views (such as "Caption this image..." when editing a gallery).
Merges [23283] to the 3.5 branch.

props koopersmith.
fixes #23054.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 23:31:52 +00:00
Ryan Boren 6d70312b1f Media: Pass thumbnail and medium sizes to image_constrain_size_for_editor() to force constraints based on the current DB options for those sizes. History: see #22598, #22738.
props jond3r
fixes #23102
for 3.5


git-svn-id: http://core.svn.wordpress.org/branches/3.5@23282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 23:27:26 +00:00
Ryan Boren 2384622a2c Try not to send Last-Modified, even with an empty value. Some servers interpret an empty value as the epoch.
Props nacin, slene, SergeyBiryukov, andy
fixes #23021 for 3.5


git-svn-id: http://core.svn.wordpress.org/branches/3.5@23281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 22:52:10 +00:00
Bot (Assets) f2c53a1c42 Compress scripts/styles: 3.5.1-alpha-23280.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 22:36:35 +00:00
Andrew Nacin 676f52118b Restore TinyMCE dropdowns to their 3.4 appearance in RTL.
Merges [23275] to the 3.5 branch.
props helen.
fixes #23101.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:13:22 +00:00
Andrew Nacin a14b862757 RTL fixes for internal linking. props SergeyBiryukov, helen.
merges [23226] to the 3.5 branch.
fixes #22835.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:10:28 +00:00
Andrew Nacin 899312d2e7 Media: Restore 3.4 behavior by consulting the old-school DB options for default align, size, and link properties.
This restores linking to media files as the default, over attachment pages. This 'default' cannot currently be changed by a user setting (per 3.4 behavior), due to the default database schema.

Merges [23262] to the 3.5 branch.
fixes #22841.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:08:45 +00:00