Commit Graph

21302 Commits

Author SHA1 Message Date
bumpbot 3463baa996 Compress scripts/styles: 3.6-alpha-23230.
git-svn-id: https://develop.svn.wordpress.org/trunk@23230 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-29 22:58:34 +00:00
Mark Jaquith 7533dbadfe Add .webm (video/webm) to wp_get_mime_types(). props wonderboymusic. fixes #14659
git-svn-id: https://develop.svn.wordpress.org/trunk@23229 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-29 18:07:23 +00:00
Mark Jaquith 654154ad89 Move 'endif;' to its own line instead of having it room with a right curly brace. props dimadin. fixes #22586
git-svn-id: https://develop.svn.wordpress.org/trunk@23228 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-29 18:01:41 +00:00
Mark Jaquith 5e8cd5433a Fix the PHPDoc for the_post_thumbnail(). props georgestephanis. fixes #22885
git-svn-id: https://develop.svn.wordpress.org/trunk@23227 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-29 17:59:08 +00:00
Andrew Nacin a3e17acb53 RTL fixes for internal linking. props SergeyBiryukov, helen. see #22835, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23226 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-28 22:57:32 +00:00
bumpbot 140881a378 Compress scripts/styles: 3.6-alpha-23223. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@23223 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-27 22:58:50 +00:00
Andrew Ozz c6d566d726 TinyMCE: don't remove empty <i>, <b>, <em> and <strong> matching the behavior in WordPress 3.4/TinyMCE 3.4.9, see #22477 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@23222 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-27 22:44:10 +00:00
Andrew Nacin 410dda2a96 Update the script loader to reflect the actual version of Underscore.js in trunk. props markoheijnen.
git-svn-id: https://develop.svn.wordpress.org/trunk@23220 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-27 21:29:29 +00:00
Andrew Ozz d0a1164c15 TinyMCE: prevent <a> from wrapping block elements, fixes #22888 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@23219 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-27 21:01:56 +00:00
Andrew Nacin 035eb58af9 Limit the execution of wp_enqueue_media() to once per page. Prevents multiple _wpMediaViewsL10n variables. see #22843.
git-svn-id: https://develop.svn.wordpress.org/trunk@23214 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-27 16:07:12 +00:00
Andrew Nacin 32b79f7d61 Always return arrays from get_post_ancestors(). Return an array when passed a value that evaluates to false.
props dannydehaan.
fixes #22882 for trunk.
Test: [1177/tests].



git-svn-id: https://develop.svn.wordpress.org/trunk@23212 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-27 15:48:18 +00:00
Andrew Nacin 41f3ab73ff Return WP_Error from wp_update_user() on a non-existent user, avoiding a fatal error in the process.
props n7studios, SergeyBiryukov.
fixes #22858 for trunk.
Unit tests: [11776/tests].



git-svn-id: https://develop.svn.wordpress.org/trunk@23210 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-27 15:36:08 +00:00
Andrew Nacin d7640fc5d2 Always call get_post() in get_page_uri() to ensure we have a WP_Post object, which lazy-loads the ancestors this function requires.
props dd32
fixes #22883
Unit tests: [1175/tests]



git-svn-id: https://develop.svn.wordpress.org/trunk@23208 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-27 15:26:05 +00:00
Andrew Nacin 975dbe9b12 Revert [21942] and have wp_publish_post() deal with the database directly. clean_post_cache() is now also called directly due to [21943].
fixes #22944 for trunk.
Unit tests: [1174/tests].

see #11399. see #21963.



git-svn-id: https://develop.svn.wordpress.org/trunk@23206 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-27 15:14:43 +00:00
Andrew Nacin 9d74b713b5 Correct the deprecated notice in AtomPub's deprecated class. see #22855.
git-svn-id: https://develop.svn.wordpress.org/trunk@23204 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-26 20:35:27 +00:00
Andrew Nacin 416f98b7c8 Remove deleted files on upgrade, including wp-app.php and class-wp-atom-server.php.
props duck_
see #22855
for trunk



git-svn-id: https://develop.svn.wordpress.org/trunk@23203 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-26 20:34:30 +00:00
Andrew Nacin 3486bf6668 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 trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23201 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-26 20:26:19 +00:00
bumpbot cff4199f69 Compress scripts/styles: 3.6-alpha-23200.
git-svn-id: https://develop.svn.wordpress.org/trunk@23200 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-23 22:58:43 +00:00
Helen Hou-Sandi d97220fa2c Minor phpdoc fixes for register_sidebar(). props SergeyBiryukov. fixes #22905.
git-svn-id: https://develop.svn.wordpress.org/trunk@23199 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-23 22:11:37 +00:00
Helen Hou-Sandi 021167d954 Allow non-hierarchical taxonomy labels in Bulk Edit to span the available width. Props SergeyBiryukov, tar.gz. fixes #22703.
git-svn-id: https://develop.svn.wordpress.org/trunk@23198 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-23 16:30:12 +00:00
Helen Hou-Sandi f4b20c062c Add missing @ to phpdoc for gd_edit_image_support(). props tw2113. fixes #23046.
git-svn-id: https://develop.svn.wordpress.org/trunk@23197 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-23 16:22:22 +00:00
Helen Hou-Sandi a0d5de09fd Refresh phpdoc for register_sidebar(). props jeremyfelt, SergeyBiryukov. fixes #22905.
git-svn-id: https://develop.svn.wordpress.org/trunk@23196 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-23 16:18:16 +00:00
Andrew Nacin 0ef634db93 Update Akismet external to 2.5.7.
git-svn-id: https://develop.svn.wordpress.org/trunk@23194 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-22 22:03:05 +00:00
bumpbot 5999474328 Compress scripts/styles: 3.6-alpha-23193. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@23193 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-21 18:52:36 +00:00
Andrew Ozz 349efcf8cb TinyMCE: update to latest source including the WebKit backspace fix, see #23010
git-svn-id: https://develop.svn.wordpress.org/trunk@23192 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-21 18:18:58 +00:00
Helen Hou-Sandi 1303e7377a its <=> it's in documentation, along with a rogue the, The, and looses. props trepmal. fixes #22665.
git-svn-id: https://develop.svn.wordpress.org/trunk@23191 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-20 15:55:32 +00:00
Helen Hou-Sandi 1ebf4c8cb4 Correct phpdoc for wp-includes/plugin.php: wp-content/plugins/, not wp-content/plugin/. props technosailor. fixes #23024.
git-svn-id: https://develop.svn.wordpress.org/trunk@23190 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-20 15:49:55 +00:00
Helen Hou-Sandi c43802b342 s/Santizes/Sanitizes/ in phpdoc for sanitize_html_class(). props cais. fixes #22890.
git-svn-id: https://develop.svn.wordpress.org/trunk@23189 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-20 15:40:37 +00:00
Andrew Nacin 145789f191 Convert to the HTML5 doctype for readme.html. props gish, fixes #22932.
git-svn-id: https://develop.svn.wordpress.org/trunk@23188 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-20 15:35:17 +00:00
Helen Hou-Sandi 44c44b54d6 Curly quotes for readme.html. props anatolbroder. fixes #23011.
git-svn-id: https://develop.svn.wordpress.org/trunk@23187 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-20 15:30:40 +00:00
Helen Hou-Sandi 15147020c8 Correct phpdoc @since for wp_oembed_remove_provider(). props hebbet. fixes #22788.
git-svn-id: https://develop.svn.wordpress.org/trunk@23186 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-20 15:22:21 +00:00
Helen Hou-Sandi 6c094b35ce Nav menu item selection lists no longer need to be specifically de-whitespaced to match hierarchical taxonomy metaboxes. props corvannoorloos. See #22954 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23185 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-19 19:43:22 +00:00
Helen Hou-Sandi a194505ae7 Align the "Available Themes" header with the search form. props wycks. fixes #22928.
git-svn-id: https://develop.svn.wordpress.org/trunk@23184 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-18 19:45:49 +00:00
Andrew Nacin 19dcf9dae0 Have the 'jquery' script handle be a parent of both jQuery core and jQuery Migrate. see #22975.
git-svn-id: https://develop.svn.wordpress.org/trunk@23183 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-18 00:56:27 +00:00
Andrew Nacin eb3fc35a3d Update jQuery Migrate plugin to latest, fixing .toggle(boolean) usage. see #22975.
git-svn-id: https://develop.svn.wordpress.org/trunk@23182 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-17 20:08:08 +00:00
Andrew Nacin 5eb6ded111 Update to jQuery 1.9 Beta 1 in trunk (3.6-alpha).
Temporarily includes jQuery in original, unminified form, for ease of testing and bug reporting.

jQuery 1.9 introduces a "migrate" script for deprecated and removed behavior. Warnings are issued for methods we should not be using, and should be fixed in core. These warnings are sent to the JavaScript console and are collected in `jQuery.migrateWarnings`.

See http://blog.jquery.com/2012/12/17/jquery-1-9-beta-1-released/ for more.

props ocean90, see #22975.



git-svn-id: https://develop.svn.wordpress.org/trunk@23180 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-17 17:29:40 +00:00
Dion Hulse 0c9c23936b 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
git-svn-id: https://develop.svn.wordpress.org/trunk@23179 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-15 03:09:50 +00:00
Mark Jaquith 30ead1f605 Fix code vomit in IIS rewrite rule generation. fixes #22920 for trunk. props toscho.
git-svn-id: https://develop.svn.wordpress.org/trunk@23177 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-13 22:54:36 +00:00
Andrew Nacin 59bb81f264 Remove additional acute accents from permalink slugs via sanitize_title_with_dashes(). props SergeyBiryukov. fixes #22395.
git-svn-id: https://develop.svn.wordpress.org/trunk@23176 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-13 09:59:28 +00:00
Andrew Nacin 05861ebb8c Use 3 * HOUR_IN_SECONDS rather than 10800.
git-svn-id: https://develop.svn.wordpress.org/trunk@23175 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-12 07:30:28 +00:00
potbot ec381a51c0 POT, generated from r23173
git-svn-id: https://develop.svn.wordpress.org/trunk@23174 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-11 18:24:21 +00:00
Andrew Nacin 2fb42f526f Bump Twenty Twelve's version to 1.1.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@23173 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-11 18:21:31 +00:00
Andrew Nacin 404efd8304 Trunk is now 3.6-alpha again.
git-svn-id: https://develop.svn.wordpress.org/trunk@23172 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-11 16:22:58 +00:00
Andrew Nacin b9ead1d148 Trunk is now 3.5 again. (Translators need an anchor point.)
git-svn-id: https://develop.svn.wordpress.org/trunk@23171 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-11 16:22:26 +00:00
Andrew Nacin bd4b5f955d We no longer care if wp-admin/index.php is parseable by PHP 4. (And it's not, anyway.) If a user hits the root or wp-admin/install.php, they do get a proper warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@23170 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-11 16:08:58 +00:00
Andrew Nacin 9840429658 Trunk is now 3.6-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@23168 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-11 15:58:52 +00:00
Andrew Nacin 90f71fd703 3.5-RC6-23166
git-svn-id: https://develop.svn.wordpress.org/trunk@23166 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-10 23:32:04 +00:00
Andrew Nacin b386a936e1 Makes sure attachment sizes are correctly deselected in IE. Fixes size selections on insert in IE9. props koopersmith. fixes #22851.
git-svn-id: https://develop.svn.wordpress.org/trunk@23163 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-10 23:15:53 +00:00
Mark Jaquith b7a4314cbc Ignore failed uploads. props koopersmith. fixes #22849
git-svn-id: https://develop.svn.wordpress.org/trunk@23162 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-10 22:58:28 +00:00
Andrew Nacin f2b89e27be Check for DOMDocument when parsing oEmbed XML responses.
git-svn-id: https://develop.svn.wordpress.org/trunk@23160 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-10 22:49:45 +00:00