Commit Graph

21357 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 a3666566fc Better cap checks in _wp_translate_post_data().
Merges [24478] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 06:02:58 +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 51c0db7262 More robust escaping in the plugin/theme upgrader.
Merges [24474] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 05:55:56 +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 1c2d6c2231 Pass $post to hooks in edit-form-advanced.php including edit_form_advanced and edit_form_after_*. fixes #24611.
Merges [24446] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 02:50:58 +00:00
Andrew Nacin a30bbee8cc Show a relative path in an upload error message.
Merges [24463] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 02:31:39 +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 289cf3fd26 Update the Akismet external to 2.5.8. For the 3.5 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-20 02:45:26 +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 e7379e4c5d Use correct option name when deleting embed_autourls. props SergeyBiryukov. see #23715.
Merges [23902] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:08:04 +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
Bot (Translations) d2954b8476 POT, generated from r24100
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 13:58:47 +00:00
Bot (Translations) 2c62f7c99d POT, generated from r24100
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 13:58:43 +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
Bot (Translations) 335f26a40d POT, generated from r23404
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-13 22:19:41 +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 5c5168e039 3.5.1
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-24 20:50:28 +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 Nacin 887a4ade28 Don't stomp existing sizes inside wp_save_image().
Merges [23246] to the 3.5 branch.

props markoheijnen.
see #22985.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-24 18:40:14 +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 Ozz cbc80a5ab8 Main editor: when setting or saving the height, look only at elements that have style="height:..." set. Reset a previously saved erroneous "ed_size" value (over 5000px) to the default height of 360px. Fixes #23042 for 3.5.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 18:07:38 +00:00
Andrew Nacin 3ad3b6278e Core Update: Fix a issue which caused automatic upgrades from 2.7 to 3.5+ to fail. Pre-2.7 WP_Filesystem::wp_content_dir() returned unslashed paths. Introduced in [22227].
Merges [23297] to the 3.5 branch.

props dd32
fixes #23177



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 16:52:15 +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