Update Akismet external to 2.5.7.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Encode brackets in the load-scripts.php URL, as these are considered unsafe characters and can be misunderstood. (See RFC 1738.) In particular, a "security" rewrite rule from a plugin blocked URLs with unencoded brackets. fixes #22899 for the 3.5 branch.

--Thia and those below, will be ignored--

M    script-loader.php


git-svn-id: http://core.svn.wordpress.org/branches/3.5@23202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove the now defunct wp-admin/options-privacy.php PHP file on the next core update.

props duck_
fixes #22855
for the 3.5 branch



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revert [21942] and have wp_publish_post() deal with the database directly. clean_post_cache() is now also called directly due to [21943].

Ports [23206] to the 3.5 branch.
fixes #22944.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Always call get_post() in get_page_uri() to ensure we have a WP_Post object, which lazy-loads the ancestors this function requires.

Merges [23208] to the 3.5 branch.
props dd32.
fixes #22883.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Return WP_Error from wp_update_user() on a non-existent user, avoiding a fatal error in the process.

Merges [23210] to the 3.5 branch.

props n7studios, SergeyBiryukov.
fixes #22858.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Always return arrays from get_post_ancestors(). Return an array when passed a value that evaluates to false.

Merges [23212] to the 3.5 branch.

props dannydehaan.
fixes #22882.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
In 3.5.1, have $wpdb->prepare() issue a notice for an insufficient number of arguments, instead of a warning. see #22873.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove accidental sprintf(), which also requires at least two arguments. :-)

see #22873.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
TinyMCE: update to latest source including the WebKit backspace fix, fixes #23010, fixes #22766 for 3.5

git-svn-id: http://core.svn.wordpress.org/branches/3.5@23217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
TinyMCE: prevent <a> from wrapping block elements, fixes #22888 for 3.5

git-svn-id: http://core.svn.wordpress.org/branches/3.5@23218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
TinyMCE: don't remove empty <i>, <b>, <em> and <strong> matching the behavior in WordPress 3.4/TinyMCE 3.4.9, fixes #22477 for 3.5

git-svn-id: http://core.svn.wordpress.org/branches/3.5@23221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5.1-alpha-23224. TinyMCE updated.

git-svn-id: http://core.svn.wordpress.org/branches/3.5@23224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Switch to a string already available in the wordpress.pot, via the XML-RPC server class. The other string is only available in the wordpress-admin.pot.

Prevents any string movements in the 3.5 branch. see #22858.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
POT, generated from r23230

git-svn-id: http://core.svn.wordpress.org/branches/3.5@23237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
POT, generated from r23230

git-svn-id: http://core.svn.wordpress.org/branches/3.5@23242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
POT, generated from r23230

git-svn-id: http://core.svn.wordpress.org/branches/3.5@23244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Don't include the default columns="3" in a gallery shortcode.

Shortcode attributes are strings; fix a variable type error in wp.media.gallery defaults.

Merges [23247] to the 3.5 branch.

props adamsilverstein.
fixes #22919.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
HTTP API: Use win_is_writable() on Windows when checking the directory to which we are streaming.

props dd32.
see #22900.
for the 3.5 branch only.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
When copying new bundled themes & plugins, bail early if the distro doesn't include the bundled item. This prevents us from creating an empty directory in the destination when the source doesn't exist. See #22856. Merges [23179] to the 3.5 branch


git-svn-id: http://core.svn.wordpress.org/branches/3.5@23251 1a063a9b-81f0-0310-95a4-ce76da25c4cd