Commit Graph

19343 Commits

Author SHA1 Message Date
Dion Hulse 5467b0c48c Update Akismet externals
git-svn-id: http://core.svn.wordpress.org/branches/3.4@35107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-13 17:19:01 +00:00
Bot (Translations) b535358120 POT, generated from r24100
git-svn-id: http://core.svn.wordpress.org/branches/3.4@24105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 13:58:41 +00:00
Andrew Nacin 9bd6a810f2 Validate pingback source URIs. Less verbose errors.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@23331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:32:59 +00:00
Andrew Nacin d281b16d1e Use correct escaping function. props duck_.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@23323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 16:39:36 +00:00
Andrew Nacin 1bcc0a8f03 Verify tags used in the gallery shortcode.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@23318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 15:39:56 +00:00
Bot (Translations) 1988caa71e POT, generated from r23230
git-svn-id: http://core.svn.wordpress.org/branches/3.4@23241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-01 00:19:38 +00:00
Bot (Translations) 42fc03912d POT, generated from r23230
git-svn-id: http://core.svn.wordpress.org/branches/3.4@23236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-01 00:19:27 +00:00
Andrew Nacin b99ea12611 Namespace the dashboard widget nonce to avoid collisions with plugins.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@23148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 09:14:59 +00:00
Andrew Nacin 1db09a2201 Verify attachment parent during upload.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 00:23:02 +00:00
Andrew Nacin 2c07e893dd Use jQuery .html() when processing HTML.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 00:08:31 +00:00
Andrew Nacin e045d57af2 Update TinyMCE Spellchecker plugin to 2.0.6.1.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 00:06:00 +00:00
Andrew Nacin 4932b7edca Nonces for dashboard controls.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 00:02:03 +00:00
Andrew Nacin c526bfbc7a Show plugin activation message when activating a network only plugin on a single site installation. fixes #22576 for the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-29 02:49:19 +00:00
Andrew Nacin c57a46c8a6 WP_Theme: If the parent theme is missing, instantiate a WP_Theme object anyway, so it can hold errors.
Fixes the installation of parent themes when installing a child theme from WordPress.org.

see #22515.
for the 3.4 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@22862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-27 04:32:16 +00:00
Andrew Nacin 72dc6fe170 Revert [22372].
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 18:07:51 +00:00
Andrew Nacin 426393722a Patch TinyMCE to not strip the zero-width u200B space, which the Khmer language uses. for the 3.4 branch. fixes #21025.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 17:59:52 +00:00
Andrew Nacin 5ba6c76bd4 Fix ajax adding of custom fields and link categories. props SergeyBiryukov. for the 3.4 branch. see #21829.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 17:47:55 +00:00
Andrew Nacin abae837a6a Add page templates to the Twenty Twelve POT file. Remove tags from theme POT files. fixes #22016.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 17:51:53 +00:00
Andrew Nacin 73a9bbff20 Fix nesting on themes.php when there are no options links to display for the current theme. props sterlo. fixes #21980 for the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 04:05:40 +00:00
Andrew Nacin 85ebae0f3d 3.4.2.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 19:41:17 +00:00
Andrew Nacin f5d25321ab ~20 bugs fixed
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 18:15:36 +00:00
Andrew Nacin a1c3445b2c Unfiltered HTML is only valid for super admins in multisite.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 18:04:58 +00:00
Andrew Nacin 7f2f650717 Compress scripts/styles: 3.4.2-RC1. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 01:55:55 +00:00
Andrew Nacin a03c9bdfcb Validate $order in wp_get_object_terms(). props duck_. for 3.4.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 01:25:47 +00:00
Andrew Nacin a494a04d6f A more generic message for wp_upload_dir(). see #21796, for 3.4.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 01:08:23 +00:00
Andrew Nacin 15a9987ecd Fix old-school Preview links when a theme directory contains spaces. Fix the theme-editor.php link from MS themes screens when a theme directory contains spaces. see #21749. Merges [21752] to the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 22:27:52 +00:00
Andrew Nacin 670417ddc0 URL encode the theme stylesheet passed into wp_customize_url(). see #21749. Merges [21713] to the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 22:26:14 +00:00
Andrew Nacin a3b74177bf Improve API usage in wp-app.php for post operations and attachment deletion. Proper cap checks. Unregister put_file and delete_file as core itself doesn't provide for file replacement. for 3.4.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:58:32 +00:00
Andrew Nacin 8d088077fb Only allow operations on network plugins through the network admin. fixes #21187. merges [21700] and [21740] to the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:53:05 +00:00
Andrew Nacin 2e7ff32b82 Ensure we are parseable by PHP4 until wp_check_php_mysql_versions() has a chance to run.
Merges [21715], [21716] to the 3.4 branch.
props SergeyBiryukov.
fixes #21316.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:31:14 +00:00
Andrew Nacin 88e30886f2 Modify a few jQuery selectors to prevent overflows and lagging. props SergeyBiryukov. fixes #21106. merges [21737] to the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:28:52 +00:00
Andrew Nacin de850b0761 Remove custom header uploads from the customizer.
For the 3.4 branch. It will return when crop ability is added.

props koopersmith.
see #21355. fixes #21515. fixes #21707.
merges [21379] [21380] [21383] [21385] [21386] [21497] [21722].



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 04:54:01 +00:00
Andrew Nacin bc5a6f6c6b Properly delimit URLs by \r, \n, \t *or* a space in sanitize_trackback_urls(). Fixes multiple trackback URL usage. props SergeyBiryukov, fixes #21624 for the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 03:37:29 +00:00
Andrew Nacin aa7083ed5c Merge [21205] and [21688] to the 3.4 branch. props SergeyBiryukov, yoavf. fixes #21590. see #21106.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 03:17:11 +00:00
Andrew Nacin 149e698a77 URL encode the stylesheet directory values passed to WP_Theme's get_stylesheet_directory_uri() and get_template_directory_uri(). props SergeyBiryukov, see #21749. for the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 02:16:12 +00:00
Andrew Nacin 309b4fe8fe Fix oEmbed when the provider only supports XML responses.
[20539] removed string casts that would have taken place on SimpleXMLElement
objects, which implement toString. Instead, convert the SimpleXMLElement object
to a stdClass object before we leave _parse_xml(), for consistency with the
simple object returned from _parse_json().

fixes #20246.
for the 3.4 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 23:25:58 +00:00
Andrew Nacin d067f633e5 Version bumps for the 3.4 branch, including a DB version bump for [21709] (see [21707]).
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 23:23:49 +00:00
Andrew Nacin 4aae4f0b2c Reinstate paged rewrite rules for the post permalink structure.
Removal of this stopped pagination working for bare category URLs when
certain %category% based permalink structures were in used.

Reverts one more piece of [19737].
Props SergeyBiryukov.
fixes #21209 for 3.4.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 23:21:38 +00:00
Andrew Nacin 8110849221 Return post_parent, menu_order, guid, and post_mime_type from wp.getPost(). Props maxcutler. fixes #21308 for the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 22:12:14 +00:00
Andrew Nacin 967a674789 Fix a placeholder in a string without breaking said string in a branch. fixes #21511.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 22:07:34 +00:00
Andrew Nacin e7586186ac Don't call self_admin_url() or esc_url() when declaring that WordPress updated successfully, as they may not exist in the current (just updated) version.
props SergeyBiryukov.
see #21511.
for the 3.4 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 22:01:55 +00:00
Andrew Nacin 06bf0a4e31 Restore the 'allowed_themes' filter.
This filter has wrapped the network-wide themes, outside of the network-wide
allowed function (dating back to MU), hence the unusual placement. This restores
previous behavior; we will introduce new filters to enable greater flexibility.

see #21099.
for the 3.4 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 18:11:42 +00:00
Andrew Nacin c86a724dea Fix WP_Theme's get_template_directory_uri() method. props batmoo. fixes #21549 for the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 04:32:01 +00:00
azaozz 786e83a6d4 Update ImgAreaSelect to 0.9.9 that fixes IE7 stack overflow error, props c3mdigital, fixes #21363, fixes #21348 for 3.4
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 22:42:05 +00:00
azaozz b9674e7b1c Bail out themes and plugins that have copied code from core and don't maintain it by requiring class-wp-editor.php in wp-langs.php, fixes #21350 for 3.4
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:58:10 +00:00
azaozz 9d73aca54c Fix internal linking search spinner position by reverting the search field's type to "text", fixes #21351 for 3.4
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:38:52 +00:00
azaozz 2ab6aeca78 TinyMCE: don't throw fatal errors for malformed/invalid image caption shortcodes, props SergeyBiryukov, fixes #21145 for 3.4
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-16 19:57:03 +00:00
nacin f5df7e19ad Add a check that previously fell through to the next branch in map_meta_cap(). for 3.4.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-27 19:29:16 +00:00
nacin 85989342d4 Bump
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 21:54:32 +00:00
bumpbot 0bd3d8b59a Compress scripts/styles: 3.4.1-alpha-21149.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 21:51:24 +00:00