commit d088de7 refs/heads/master (HEAD, origin/master, origin/HEAD, master) Author: Boone Gorges Date: 2014-10-09 18:12:20 +0000 Return an error when adding a term to a non-existent parent. Parallels the logic of wp_insert_term(), introduced in [29196]. Props jesin. Fixes #29614. Built from https://develop.svn.wordpress.org/trunk@29867 git-svn-id: http://core.svn.wordpress.org/trunk@29627 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/taxonomy.php commit a724b43 refs/heads/master Author: Drew Jaynes Date: 2014-10-09 15:41:18 +0000 Add more complete inline documentation for `get_term_link()`. Adds more complete parameter descriptions for the `$term` and `$taxonomy` parameters. Props amruta123.b for the initial patch. Fixes #29901. Built from https://develop.svn.wordpress.org/trunk@29866 git-svn-id: http://core.svn.wordpress.org/trunk@29626 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/taxonomy.php commit 587599c refs/heads/master Author: Boone Gorges Date: 2014-10-09 03:16:18 +0000 Don't bail out of term_exists() when term sanitizes to an empty string. This change brings return values for failures of this sort in line with other failed lookups in term_exists(): a null value is now returned in all cases where the queried term is not found. Adds unit test for the sanitization issue. Modifies existing unit test to reflect the change in return value for empty term strings. Props boonebgorges, georgestephanis. Fixes #29589. Built from https://develop.svn.wordpress.org/trunk@29865 git-svn-id: http://core.svn.wordpress.org/trunk@29625 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/taxonomy.php commit 659a6b3 refs/heads/master Author: Dion Hulse Date: 2014-10-09 03:01:18 +0000 Add some unit tests for WP_HTTP::parse_url() to cover the Date: 2014-10-09 02:49:18 +0000 Fix term_exists() for parent = 0. Passing a 0 (or '0') as the 'parent' param of term_exists() should limit results to terms with no parent. Adds unit test. Fixes #29851. Built from https://develop.svn.wordpress.org/trunk@29863 git-svn-id: http://core.svn.wordpress.org/trunk@29623 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/taxonomy.php commit 3ceee6c refs/heads/master Author: Boone Gorges Date: 2014-10-09 02:32:19 +0000 Improve 'alias_of' handling in wp_insert_term() and wp_update_term(). Using get_term_by() rather than direct SQL queries to fetch the alias term fixes a number of issues: * Object cache for aliased term is properly cleared after update. * If the aliased term is in the object cache, it's served from there, saving a database query. * Duplicate 'edit_terms' and 'edited_terms' hooks can be removed. * Fix a PHP notice when the 'alias_of' term is not found. * Prevent the incorrect creation of a new term group for the primary term when the 'alias_of' term is not found. Adds unit tests for 'alias_of' functionality in both functions. Fixes #29848. Built from https://develop.svn.wordpress.org/trunk@29862 git-svn-id: http://core.svn.wordpress.org/trunk@29622 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/taxonomy.php commit dbb6750 refs/heads/master Author: Dion Hulse Date: 2014-10-09 01:11:18 +0000 Handle deficiencies in PHP's parse_url in older versions of PHP (<5.4.7) in WP_HTTP::make_absolute_url(). In older versions of PHP: - parse_url() will fail to parse a url where the scheme break (://) is present in a relative URL's path - parse_url() will include the hostname of a schemeless URL in the path component This handles those two types of URL's by correcting the response from parse_url(). Fixes #28001, #29886 Built from https://develop.svn.wordpress.org/trunk@29861 git-svn-id: http://core.svn.wordpress.org/trunk@29621 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-http.php commit 17631e3 refs/heads/master Author: Boone Gorges Date: 2014-10-09 00:58:20 +0000 Explicitly declare hierarchical=false for post_tag in create_initial_taxonomies(). In certain edge cases, such as during the automated test suite, create_initial_taxonomies() can be called in a situation where a non-default permastruct setting has been saved outside of wp-admin. This causes the 'hierarchical' setting for the post_tag taxonomy to remain unset, leading to PHP notices in get_term_link(). See #29827. Built from https://develop.svn.wordpress.org/trunk@29859 git-svn-id: http://core.svn.wordpress.org/trunk@29620 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/taxonomy.php M wp-includes/version.php commit 57c4126 refs/heads/master Author: Dominik Schilling Date: 2014-10-08 19:05:20 +0000 Language packs: Remove translations when deleting a theme or a plugin. This is for translation files in WP_LANG_DIR which are installed through a language pack. Change `wp_get_installed_translations()` to only return a translation if the .mo file also exists. fixes #29860. Built from https://develop.svn.wordpress.org/trunk@29856 git-svn-id: http://core.svn.wordpress.org/trunk@29619 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/plugin.php M wp-admin/includes/theme.php M wp-admin/network/themes.php M wp-admin/plugins.php M wp-includes/l10n.php commit 5f17e09 refs/heads/master Author: Konstantin Kovshenin Date: 2014-10-08 15:12:20 +0000 Use the primary `meta_query` clause when parsing `orderby` in `WP_Query`. When using legacy `meta_key`, `meta_value`, etc. arguments in `WP_Query`, they're converted into the first clause of a `meta_query`. By using that clause instead of the original arguments, we make sure that behavior is consistent between the two available formats. props boonebgorges. fixes #16814. Built from https://develop.svn.wordpress.org/trunk@29855 git-svn-id: http://core.svn.wordpress.org/trunk@29618 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/query.php commit 2b88252 refs/heads/master Author: Konstantin Kovshenin Date: 2014-10-08 07:12:18 +0000 New `remove()` method and some unit tests for the `WP_Error` class. props stephenharris. fixes #28092. Built from https://develop.svn.wordpress.org/trunk@29854 git-svn-id: http://core.svn.wordpress.org/trunk@29617 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-wp-error.php commit 98ff885 refs/heads/master Author: Dion Hulse Date: 2014-10-08 06:44:19 +0000 Avoid a PHP Notice when requesting a url without a path component (http://example.com) in the Streams HTTP component. Props barrykooij for inital patch; Fixes #27668 Built from https://develop.svn.wordpress.org/trunk@29853 git-svn-id: http://core.svn.wordpress.org/trunk@29616 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-http.php commit f09c515 refs/heads/master Author: Dion Hulse Date: 2014-10-08 06:15:18 +0000 When making a HTTP request to a non-standard port, include the port in the Host header for the Streams HTTP transport. This bring parity to the cURL transport and respects the HTTP RFC. Props kamelkev for the initial patch; Fixes #28982 Built from https://develop.svn.wordpress.org/trunk@29852 git-svn-id: http://core.svn.wordpress.org/trunk@29615 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-http.php commit 78f4cd2 refs/heads/master Author: Dion Hulse Date: 2014-10-08 05:58:19 +0000 Correctly support Schemeless URLs in WP_HTTP::make_absolute_url() by respecting the 'host' field if present in the relative url. Fixes #29886 Built from https://develop.svn.wordpress.org/trunk@29851 git-svn-id: http://core.svn.wordpress.org/trunk@29614 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-http.php commit 9962cef refs/heads/master Author: Dion Hulse Date: 2014-10-08 05:38:18 +0000 Correctly handle url's containing url's in WP_HTTP::make_absolute_url(). A valid relative URL could be mistaken for an absolute url if it contained a :// in any position of the url. Fixes #28001 Built from https://develop.svn.wordpress.org/trunk@29850 git-svn-id: http://core.svn.wordpress.org/trunk@29613 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-http.php commit 88b6352 refs/heads/master Author: Dion Hulse Date: 2014-10-08 05:21:19 +0000 Always cast the 'code' server response to an int, this provides consistency between both of the HTTP transports. Previously cURL would return an int and Streams a numeric string. Fixes #28887 Built from https://develop.svn.wordpress.org/trunk@29849 git-svn-id: http://core.svn.wordpress.org/trunk@29612 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-http.php commit 88ceaba refs/heads/master Author: Dion Hulse Date: 2014-10-08 05:19:20 +0000 Return the correct server response for the 'message' response field from the server. Previously this would use the generic message corresponding to the response code, which isn't always accurate. Since we're already parsing the headers, we can simply return that directly (This also has the benefit that it's the same code for both Streams and Curl header handling). Fixes #28919 Built from https://develop.svn.wordpress.org/trunk@29848 git-svn-id: http://core.svn.wordpress.org/trunk@29611 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-http.php M wp-includes/version.php commit 04edb0a refs/heads/master Author: Dominik Schilling Date: 2014-10-07 15:28:24 +0000 Update jQuery UI to 1.11.1. Because jQUI's build process no longer provides individual minified files we need some additional changes: * Rename all files, remove the "jquery.ui." prefix. Add old files to `$_old_files`. * Add and use non-minified files in /src. * Add grunt task to minify jQuery UI files. * (Non-minified files will not be shipped.) Changelogs: * http://jqueryui.com/changelog/1.11.0/ * http://jqueryui.com/changelog/1.11.1/ props Fab1en, ocean90. fixes #29833. Built from https://develop.svn.wordpress.org/trunk@29847 git-svn-id: http://core.svn.wordpress.org/trunk@29610 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/update-core.php A wp-includes/js/jquery/ui/accordion.min.js A wp-includes/js/jquery/ui/autocomplete.min.js A wp-includes/js/jquery/ui/button.min.js A wp-includes/js/jquery/ui/core.min.js A wp-includes/js/jquery/ui/datepicker.min.js A wp-includes/js/jquery/ui/dialog.min.js A wp-includes/js/jquery/ui/draggable.min.js A wp-includes/js/jquery/ui/droppable.min.js A wp-includes/js/jquery/ui/effect-blind.min.js A wp-includes/js/jquery/ui/effect-bounce.min.js A wp-includes/js/jquery/ui/effect-clip.min.js A wp-includes/js/jquery/ui/effect-drop.min.js A wp-includes/js/jquery/ui/effect-explode.min.js A wp-includes/js/jquery/ui/effect-fade.min.js A wp-includes/js/jquery/ui/effect-fold.min.js A wp-includes/js/jquery/ui/effect-highlight.min.js A wp-includes/js/jquery/ui/effect-puff.min.js A wp-includes/js/jquery/ui/effect-pulsate.min.js A wp-includes/js/jquery/ui/effect-scale.min.js A wp-includes/js/jquery/ui/effect-shake.min.js A wp-includes/js/jquery/ui/effect-size.min.js A wp-includes/js/jquery/ui/effect-slide.min.js A wp-includes/js/jquery/ui/effect-transfer.min.js A wp-includes/js/jquery/ui/effect.min.js D wp-includes/js/jquery/ui/jquery.ui.accordion.min.js D wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js D wp-includes/js/jquery/ui/jquery.ui.button.min.js D wp-includes/js/jquery/ui/jquery.ui.core.min.js D wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js D wp-includes/js/jquery/ui/jquery.ui.dialog.min.js D wp-includes/js/jquery/ui/jquery.ui.draggable.min.js D wp-includes/js/jquery/ui/jquery.ui.droppable.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-blind.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-bounce.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-clip.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-explode.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-fade.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-highlight.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-pulsate.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-scale.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-slide.min.js D wp-includes/js/jquery/ui/jquery.ui.effect-transfer.min.js D wp-includes/js/jquery/ui/jquery.ui.effect.min.js D wp-includes/js/jquery/ui/jquery.ui.menu.min.js D wp-includes/js/jquery/ui/jquery.ui.mouse.min.js D wp-includes/js/jquery/ui/jquery.ui.position.min.js D wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js D wp-includes/js/jquery/ui/jquery.ui.resizable.min.js D wp-includes/js/jquery/ui/jquery.ui.selectable.min.js D wp-includes/js/jquery/ui/jquery.ui.slider.min.js D wp-includes/js/jquery/ui/jquery.ui.sortable.min.js D wp-includes/js/jquery/ui/jquery.ui.spinner.min.js D wp-includes/js/jquery/ui/jquery.ui.tabs.min.js D wp-includes/js/jquery/ui/jquery.ui.tooltip.min.js D wp-includes/js/jquery/ui/jquery.ui.widget.min.js A wp-includes/js/jquery/ui/menu.min.js A wp-includes/js/jquery/ui/mouse.min.js A wp-includes/js/jquery/ui/position.min.js A wp-includes/js/jquery/ui/progressbar.min.js A wp-includes/js/jquery/ui/resizable.min.js A wp-includes/js/jquery/ui/selectable.min.js A wp-includes/js/jquery/ui/selectmenu.min.js A wp-includes/js/jquery/ui/slider.min.js A wp-includes/js/jquery/ui/sortable.min.js A wp-includes/js/jquery/ui/spinner.min.js A wp-includes/js/jquery/ui/tabs.min.js A wp-includes/js/jquery/ui/tooltip.min.js A wp-includes/js/jquery/ui/widget.min.js M wp-includes/script-loader.php M wp-includes/version.php commit 965b6d5 refs/heads/master Author: Sergey Biryukov Date: 2014-10-06 22:11:15 +0000 Add aria-describedby attributes to comment_form(). props joedolson, bramd. fixes #24148. Built from https://develop.svn.wordpress.org/trunk@29846 git-svn-id: http://core.svn.wordpress.org/trunk@29609 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/comment-template.php commit 0c64fe3 refs/heads/master Author: Boone Gorges Date: 2014-10-06 22:05:18 +0000 In get_terms(), select term taxonomy count for all values of 'fields'. Not having the count caused queries with 'fields' values of 'id=>name' and 'id=>slug' to return incorrect results when querying a hierarchical taxonomy with 'hide_empty=true'. Includes unit tests for get_terms() when using various combinations of 'fields', 'hide_empty', and 'hierarchical' arguments. Props technical_mastermind. Fixes #29859. Built from https://develop.svn.wordpress.org/trunk@29845 git-svn-id: http://core.svn.wordpress.org/trunk@29608 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/taxonomy.php commit 8ec2d2a refs/heads/master Author: Drew Jaynes Date: 2014-10-06 15:36:17 +0000 Add inline documentation for `WP_User_Query` default arguments in the form of a hash notation. Adds documentation pointers from the class-level doc for `WP_User_Query`, as well as the `get_users()` doc. Props tschutter. Fixes #29846. Built from https://develop.svn.wordpress.org/trunk@29843 git-svn-id: http://core.svn.wordpress.org/trunk@29607 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/user.php commit 75484f9 refs/heads/master Author: Sergey Biryukov Date: 2014-10-06 12:44:17 +0000 Bundled themes: Add an alt attribute with the site title for header images linked to the home page. props rianrietveld. fixes #15926. Built from https://develop.svn.wordpress.org/trunk@29842 git-svn-id: http://core.svn.wordpress.org/trunk@29606 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-content/themes/twentyeleven/header.php M wp-content/themes/twentyfourteen/header.php M wp-content/themes/twentytwelve/header.php commit a57e99e refs/heads/master Author: Andrew Ozz Date: 2014-10-06 02:00:16 +0000 Add default z-index to the admin menu, see #29806 Built from https://develop.svn.wordpress.org/trunk@29841 git-svn-id: http://core.svn.wordpress.org/trunk@29605 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/css/admin-menu-rtl.css M wp-admin/css/admin-menu.css M wp-admin/css/wp-admin-rtl.min.css M wp-admin/css/wp-admin.min.css M wp-includes/version.php commit bf856e3 refs/heads/master Author: Sergey Biryukov Date: 2014-10-05 21:06:15 +0000 Translate some previously untranslated _doing_it_wrong() messages. props georgestephanis. fixes #25614. Built from https://develop.svn.wordpress.org/trunk@29840 git-svn-id: http://core.svn.wordpress.org/trunk@29604 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/functions.wp-styles.php M wp-includes/theme.php M wp-includes/wp-db.php commit 53642c5 refs/heads/master Author: Sergey Biryukov Date: 2014-10-05 20:37:17 +0000 Network Admin: Properly check if the theme is active on the main site to avoid deleting it via bulk actions. props ocean90. fixes #29861. Built from https://develop.svn.wordpress.org/trunk@29839 git-svn-id: http://core.svn.wordpress.org/trunk@29603 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/network/themes.php commit b269a9c refs/heads/master Author: Sergey Biryukov Date: 2014-10-05 18:40:15 +0000 Fix misleading documentation in customize-loader.js. props ericlewis. fixes #29866. Built from https://develop.svn.wordpress.org/trunk@29838 git-svn-id: http://core.svn.wordpress.org/trunk@29602 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/js/customize-loader.js commit 45062d7 refs/heads/master Author: Sergey Biryukov Date: 2014-10-05 17:52:15 +0000 Update @param docs for wp_get_attachment_image(). see #29869. Built from https://develop.svn.wordpress.org/trunk@29837 git-svn-id: http://core.svn.wordpress.org/trunk@29601 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/media.php commit d769e29 refs/heads/master Author: Sergey Biryukov Date: 2014-10-05 17:50:16 +0000 Pass the requested size to 'wp_get_attachment_image_attributes' filter. props mattheu. fixes #29869. Built from https://develop.svn.wordpress.org/trunk@29836 git-svn-id: http://core.svn.wordpress.org/trunk@29600 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/media.php commit f981067 refs/heads/master Author: Andrew Ozz Date: 2014-10-05 03:09:20 +0000 Pin the admin menu on scrolling similarly to how the side metaboxes are pinned on the Edit Post screen, first run. See #29806. Built from https://develop.svn.wordpress.org/trunk@29835 git-svn-id: http://core.svn.wordpress.org/trunk@29599 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/css/admin-menu-rtl.css M wp-admin/css/admin-menu.css M wp-admin/css/wp-admin-rtl.min.css M wp-admin/css/wp-admin.min.css M wp-admin/js/common.js M wp-admin/js/common.min.js M wp-includes/version.php commit 221db8f refs/heads/master Author: Sergey Biryukov Date: 2014-10-04 13:12:15 +0000 Fix setting default quality in WP_Image_Editor. props markoheijnen. fixes #29856 for trunk. Built from https://develop.svn.wordpress.org/trunk@29834 git-svn-id: http://core.svn.wordpress.org/trunk@29598 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-wp-image-editor-gd.php M wp-includes/class-wp-image-editor-imagick.php M wp-includes/class-wp-image-editor.php M wp-includes/version.php commit b98f036 refs/heads/master Author: Scott Taylor Date: 2014-10-03 19:52:17 +0000 Allow PSDs (Photoshop documents) to be uploaded. Props michalzuber, ccprice. Fixes #28805. Built from https://develop.svn.wordpress.org/trunk@29833 git-svn-id: http://core.svn.wordpress.org/trunk@29597 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/functions.php commit db0b378 refs/heads/master Author: Scott Taylor Date: 2014-10-03 19:08:16 +0000 In the admin, give media list table icons `auto` for `width` and `height`. In the post thumbnail metabox, apply `width: auto`. If someone turns on support SVG files, this will allow them to show up. Props arippberger for an initial patch. Fixes #26256. Built from https://develop.svn.wordpress.org/trunk@29832 git-svn-id: http://core.svn.wordpress.org/trunk@29596 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/css/common-rtl.css M wp-admin/css/common.css M wp-admin/css/edit-rtl.css M wp-admin/css/edit.css M wp-admin/css/wp-admin-rtl.min.css M wp-admin/css/wp-admin.min.css commit 821f9f4 refs/heads/master Author: Scott Taylor Date: 2014-10-03 18:43:20 +0000 For `attachment-compat` fields, show a spinner while `wp.media.model.Attachment.saveCompat()` is firing. Fixes #27028. Built from https://develop.svn.wordpress.org/trunk@29831 git-svn-id: http://core.svn.wordpress.org/trunk@29595 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/js/media-views.js M wp-includes/js/media-views.min.js commit 197f0a3 refs/heads/master Author: Dominik Schilling Date: 2014-10-03 13:08:16 +0000 Plugin search: Wrap results in a form to fix pagination's `paged` input field. props jesin, ocean90. see #18724, for trunk. Built from https://develop.svn.wordpress.org/trunk@29829 git-svn-id: http://core.svn.wordpress.org/trunk@29594 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/class-wp-plugin-install-list-table.php M wp-admin/includes/plugin-install.php M wp-admin/plugin-install.php commit 5bf20b4 refs/heads/master Author: Sergey Biryukov Date: 2014-10-03 09:42:16 +0000 Switch line-height added in [29790] to a unitless value. props janhenckens. fixes #29451. Built from https://develop.svn.wordpress.org/trunk@29828 git-svn-id: http://core.svn.wordpress.org/trunk@29593 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/css/dashboard-rtl.css M wp-admin/css/dashboard.css M wp-admin/css/wp-admin-rtl.min.css M wp-admin/css/wp-admin.min.css commit 05fb60a refs/heads/master Author: Sergey Biryukov Date: 2014-10-03 08:43:15 +0000 Twenty Fourteen: Move custom description for background color and image from sections to controls in the customizer. props jb510. fixes #29490. Built from https://develop.svn.wordpress.org/trunk@29827 git-svn-id: http://core.svn.wordpress.org/trunk@29592 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-content/themes/twentyfourteen/inc/customizer.php commit e59c624 refs/heads/master Author: Sergey Biryukov Date: 2014-10-03 08:09:17 +0000 Use correct links for filtering plugin reviews. props OriginalEXE. fixes #29754. Built from https://develop.svn.wordpress.org/trunk@29826 git-svn-id: http://core.svn.wordpress.org/trunk@29591 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/plugin-install.php commit 7dde12f refs/heads/master Author: Sergey Biryukov Date: 2014-10-03 00:02:14 +0000 Avoid a PHP notice in list_plugin_updates() if plugins_api() returned a WP_Error object. fixes #29583. Built from https://develop.svn.wordpress.org/trunk@29825 git-svn-id: http://core.svn.wordpress.org/trunk@29590 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/update-core.php M wp-includes/version.php commit 6d0f2dc refs/heads/master Author: Sergey Biryukov Date: 2014-10-02 20:45:16 +0000 Make link construction in get_comment_reply_link() and get_post_reply_link() more readable. see #16433. Built from https://develop.svn.wordpress.org/trunk@29823 git-svn-id: http://core.svn.wordpress.org/trunk@29589 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/comment-template.php commit 70c88e5 refs/heads/master Author: Sergey Biryukov Date: 2014-10-02 20:41:16 +0000 Add an aria-label attribute with commenter's name to get_comment_reply_link(). props joedolson, merty, andrewryno. fixes #16433. Built from https://develop.svn.wordpress.org/trunk@29822 git-svn-id: http://core.svn.wordpress.org/trunk@29588 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/comment-template.php commit 87ff969 refs/heads/master Author: Sergey Biryukov Date: 2014-10-02 20:01:16 +0000 * Use correct context for 'Name' and 'Parent' strings on taxonomy screens. * Remove unnecessary context for 'Slug' and 'Description' strings. props andg. fixes #29824. Built from https://develop.svn.wordpress.org/trunk@29821 git-svn-id: http://core.svn.wordpress.org/trunk@29587 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/edit-tag-form.php M wp-admin/edit-tags.php commit a47214c refs/heads/master Author: Sergey Biryukov Date: 2014-10-02 19:40:16 +0000 Use a more consistent markup on taxonomy and user screens. props paulwilde. fixes #29842. Built from https://develop.svn.wordpress.org/trunk@29820 git-svn-id: http://core.svn.wordpress.org/trunk@29586 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/edit-tag-form.php M wp-admin/user-edit.php commit 2dad79f refs/heads/master Author: Boone Gorges Date: 2014-10-02 18:54:17 +0000 Always sanitize user_nicename in wp_insert_user(). Previously, a 'user_nicename' parameter passed into the function was unsanitized. This could result in a mismatch between the sanitized nicename generated automatically at user creation, resulting in broken author archive permalinks. Props joemcgill. Fixes #29696. Built from https://develop.svn.wordpress.org/trunk@29819 git-svn-id: http://core.svn.wordpress.org/trunk@29585 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/user.php commit 59ef20d refs/heads/master Author: Scott Taylor Date: 2014-10-02 15:56:14 +0000 In `activate_plugin()`, do not re-run the activation routine for already-active network-wide plugins. Adds unit test. Props jbrinley. Fixes #28651. Built from https://develop.svn.wordpress.org/trunk@29818 git-svn-id: http://core.svn.wordpress.org/trunk@29584 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/plugin.php commit 71bca51 refs/heads/master Author: Scott Taylor Date: 2014-10-02 15:49:17 +0000 Network Admin Menu: * Don't display update count for Themes when the user doesn't have the 'update_themes' cap * Don't display update count for Plugins when there aren't any/count is `0` Props peterchester. Fixes #29651. Built from https://develop.svn.wordpress.org/trunk@29817 git-svn-id: http://core.svn.wordpress.org/trunk@29583 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/network/menu.php commit fd4e302 refs/heads/master Author: Scott Taylor Date: 2014-10-02 15:32:16 +0000 In `wp_delete_attachment()`: account for orphan sizes by looping over the sizes stored in metadata, instead of relying on the current sizes stored in `$_wp_additional_image_sizes`. Props JoshuaAbenazer, desrosj, markoheijnen. Fixes #24518. Built from https://develop.svn.wordpress.org/trunk@29816 git-svn-id: http://core.svn.wordpress.org/trunk@29582 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/post.php commit 468dc35 refs/heads/master Author: Sergey Biryukov Date: 2014-10-02 12:46:16 +0000 When switching to the Text editor, make the textarea visible to screen readers. props afercia. fixes #29815. Built from https://develop.svn.wordpress.org/trunk@29815 git-svn-id: http://core.svn.wordpress.org/trunk@29581 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/js/editor.js M wp-admin/js/editor.min.js commit 067feb9 refs/heads/master Author: Scott Taylor Date: 2014-10-02 05:28:16 +0000 Remember when we added the `style` attribute to playlists? Fix `dark`. Props karpstrucking. Fixes #29530. Built from https://develop.svn.wordpress.org/trunk@29814 git-svn-id: http://core.svn.wordpress.org/trunk@29580 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/js/mediaelement/wp-mediaelement.css commit d8c913b refs/heads/master Author: Scott Taylor Date: 2014-10-02 04:32:16 +0000 Add the `date` filter from media grid to the media modal. Props janhenckens, wonderboymusic. Fixes #28990. Built from https://develop.svn.wordpress.org/trunk@29813 git-svn-id: http://core.svn.wordpress.org/trunk@29579 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/js/media-grid.js M wp-includes/js/media-grid.min.js M wp-includes/js/media-views.js M wp-includes/js/media-views.min.js commit 202ede7 refs/heads/master Author: Scott Taylor Date: 2014-10-02 04:16:17 +0000 After [29811], combine 2 `if` statements. Built from https://develop.svn.wordpress.org/trunk@29812 git-svn-id: http://core.svn.wordpress.org/trunk@29578 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/js/media-views.js commit b885885 refs/heads/master Author: Scott Taylor Date: 2014-10-02 04:13:16 +0000 Media Grid/List Table parity: when `MEDIA_TRASH` is `true` and `trash` is the current filter for the grid, add a second bulk action button: "Delete Selected" Fixes #29742. Built from https://develop.svn.wordpress.org/trunk@29811 git-svn-id: http://core.svn.wordpress.org/trunk@29577 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/css/media-rtl.css M wp-admin/css/media.css M wp-admin/css/wp-admin-rtl.min.css M wp-admin/css/wp-admin.min.css M wp-includes/js/media-grid.js M wp-includes/js/media-grid.min.js M wp-includes/js/media-views.js M wp-includes/js/media-views.min.js commit cf31ee0 refs/heads/master Author: Scott Taylor Date: 2014-10-02 03:12:18 +0000 Media List Table: account for `MEDIA_TRASH` in the bulk action dropdown. See #29742. Built from https://develop.svn.wordpress.org/trunk@29810 git-svn-id: http://core.svn.wordpress.org/trunk@29576 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/class-wp-media-list-table.php commit 0797823 refs/heads/master Author: Sergey Biryukov Date: 2014-10-02 01:44:15 +0000 Add a class attribute for submit button in comment form. props bainternet. fixes #20446. Built from https://develop.svn.wordpress.org/trunk@29809 git-svn-id: http://core.svn.wordpress.org/trunk@29575 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/comment-template.php commit 7d8322a refs/heads/master Author: Boone Gorges Date: 2014-10-02 01:41:16 +0000 WP_Comment_Query: comment__in, comment__not_in, post__in, post__not_in. Props nofearinc, mordauk, boonebgorges Fixes #25386 Built from https://develop.svn.wordpress.org/trunk@29808 git-svn-id: http://core.svn.wordpress.org/trunk@29574 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/comment.php commit be631b3 refs/heads/master Author: Sergey Biryukov Date: 2014-10-02 01:38:15 +0000 Reorder placeholders for consistency. see [29806]. see #21089. Built from https://develop.svn.wordpress.org/trunk@29807 git-svn-id: http://core.svn.wordpress.org/trunk@29573 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/upgrade.php commit 258496e refs/heads/master Author: Scott Taylor Date: 2014-10-02 01:28:16 +0000 In the `wp_new_blog_notification()` email template, include the login url. Props obenland, georgestephanis. Fixes #21089. Built from https://develop.svn.wordpress.org/trunk@29806 git-svn-id: http://core.svn.wordpress.org/trunk@29572 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/schema.php M wp-admin/includes/upgrade.php M wp-includes/ms-functions.php commit eccf8e1 refs/heads/master Author: Sergey Biryukov Date: 2014-10-02 00:56:16 +0000 Add classes to form containers on Edit User screen. props jarednova. fixes #29348. Built from https://develop.svn.wordpress.org/trunk@29804 git-svn-id: http://core.svn.wordpress.org/trunk@29571 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/user-edit.php commit 6ee7e60 refs/heads/master Author: Sergey Biryukov Date: 2014-10-02 00:29:16 +0000 Add classes to form containers on taxonomy screens. props jarednova. fixes #28196. Built from https://develop.svn.wordpress.org/trunk@29803 git-svn-id: http://core.svn.wordpress.org/trunk@29570 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/edit-tag-form.php M wp-admin/edit-tags.php M wp-includes/version.php commit ebe813c refs/heads/master Author: Scott Taylor Date: 2014-10-01 19:08:16 +0000 Add a namespace to the click handler registration for `.insert-media` in `media-editor.js`: `click.add-media-button`. This is a stopgap to allow devs to override the default behavior. Fixes #23096. Built from https://develop.svn.wordpress.org/trunk@29802 git-svn-id: http://core.svn.wordpress.org/trunk@29569 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/js/media-editor.js M wp-includes/js/media-editor.min.js commit d2c99a5 refs/heads/master Author: Scott Taylor Date: 2014-10-01 18:58:16 +0000 Add a default filter to `title_save_pre`: `trim`, because extra whitespace. Props nikolov.tmw, avryl. Fixes #19904. Built from https://develop.svn.wordpress.org/trunk@29801 git-svn-id: http://core.svn.wordpress.org/trunk@29568 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/default-filters.php commit 3f1fcc7 refs/heads/master Author: Sergey Biryukov Date: 2014-10-01 14:59:19 +0000 Version bump. Built from https://develop.svn.wordpress.org/trunk@29800 git-svn-id: http://core.svn.wordpress.org/trunk@29567 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/version.php commit 40dd52b refs/heads/master Author: Boone Gorges Date: 2014-09-30 14:04:18 +0000 Improve parameter sanitization in WP_Date_Query::build_query(). * Don't run non-numeric values through intval() for sanitization; this transforms them into 1s and 0s, which can cause unintended results. * Be more generous about numeric array keys (don't require 0 and 1) in BETWEEN and NOT BETWEEN clauses. Fixes #29801. Built from https://develop.svn.wordpress.org/trunk@29797 git-svn-id: http://core.svn.wordpress.org/trunk@29566 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/date.php commit bf52618 refs/heads/master Author: Drew Jaynes Date: 2014-09-29 23:35:17 +0000 Update documentation for `wp_get_nav_menus()` to reflect that the default value for the the 'orderby' argument was changed from 'none' to 'name' in 4.1. Props curtjen. Fixes #29460. Built from https://develop.svn.wordpress.org/trunk@29796 git-svn-id: http://core.svn.wordpress.org/trunk@29565 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/nav-menu.php commit 504d4ad refs/heads/master Author: Sergey Biryukov Date: 2014-09-29 15:45:16 +0000 Change the default orderby value in wp_get_nav_menus() to 'name'. props voldemortensen, igmoweb. fixes #29460. Built from https://develop.svn.wordpress.org/trunk@29792 git-svn-id: http://core.svn.wordpress.org/trunk@29564 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/nav-menus.php M wp-includes/default-widgets.php M wp-includes/nav-menu-template.php M wp-includes/nav-menu.php commit b96ba57 refs/heads/master Author: Sergey Biryukov Date: 2014-09-29 14:10:15 +0000 Fix padding for parent theme link on Edit Themes screen. props kraftner. fixes #27825. Built from https://develop.svn.wordpress.org/trunk@29791 git-svn-id: http://core.svn.wordpress.org/trunk@29563 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/css/common-rtl.css M wp-admin/css/common.css M wp-admin/css/wp-admin-rtl.min.css M wp-admin/css/wp-admin.min.css commit 32cd803 refs/heads/master Author: Sergey Biryukov Date: 2014-09-29 13:57:16 +0000 Account for longer translations of 'Customize Your Site' button label. props shooper. fixes #29451. Built from https://develop.svn.wordpress.org/trunk@29790 git-svn-id: http://core.svn.wordpress.org/trunk@29562 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/css/dashboard-rtl.css M wp-admin/css/dashboard.css M wp-admin/css/wp-admin-rtl.min.css M wp-admin/css/wp-admin.min.css commit e1f2b3b refs/heads/master Author: Mark Jaquith Date: 2014-09-29 13:37:16 +0000 Use HTTPS URLs for trac.wordpress.org (and use core.trac.wordpress.org) see #27115 Built from https://develop.svn.wordpress.org/trunk@29789 git-svn-id: http://core.svn.wordpress.org/trunk@29561 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/class-wp-upgrader.php M wp-admin/includes/plugin.php M wp-includes/canonical.php M wp-includes/class-http.php M wp-includes/general-template.php M wp-includes/http.php M wp-includes/pluggable.php M wp-includes/plugin.php commit 0d3b835 refs/heads/master Author: Mark Jaquith Date: 2014-09-29 13:28:16 +0000 Use HTTPS URLs for core.trac.wordpress.org see #27115 Built from https://develop.svn.wordpress.org/trunk@29788 git-svn-id: http://core.svn.wordpress.org/trunk@29560 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/class-wp-upgrader.php M wp-content/themes/twentyeleven/style.css M wp-content/themes/twentyfourteen/style.css M wp-content/themes/twentyfourteen/taxonomy-post_format.php M wp-content/themes/twentythirteen/style.css M wp-content/themes/twentytwelve/style.css M wp-includes/class-http.php M wp-includes/class-wp-customize-manager.php M wp-includes/class-wp-embed.php M wp-includes/comment.php M wp-includes/functions.php M wp-includes/functions.wp-scripts.php M wp-includes/general-template.php M wp-includes/js/media-editor.js M wp-includes/js/plupload/wp-plupload.js M wp-includes/rewrite.php M wp-includes/wp-db.php commit 184fa46 refs/heads/master Author: Mark Jaquith Date: 2014-09-29 13:24:15 +0000 Use HTTPS links for planet.wordpress.org see #27115 Built from https://develop.svn.wordpress.org/trunk@29787 git-svn-id: http://core.svn.wordpress.org/trunk@29559 1a063a9b-81f0-0310-95a4-ce76da25c4cd M readme.html M wp-admin/includes/dashboard.php M wp-admin/index.php commit 18606f2 refs/heads/master Author: Sergey Biryukov Date: 2014-09-29 13:07:17 +0000 Use a more specific selector for the count displayed on Add Themes network admin screen. props mantismamita, nikolov.tmw. fixes #29421. Built from https://develop.svn.wordpress.org/trunk@29786 git-svn-id: http://core.svn.wordpress.org/trunk@29558 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/js/theme.js M wp-admin/js/theme.min.js commit 28bf972 refs/heads/master Author: Mark Jaquith Date: 2014-09-29 12:42:16 +0000 Show the number of approved comments instead of all comments on the dashboard in the "At a glance" section. fixes #26738. props benjmay Built from https://develop.svn.wordpress.org/trunk@29785 git-svn-id: http://core.svn.wordpress.org/trunk@29557 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/includes/dashboard.php commit 740df91 refs/heads/master Author: Sergey Biryukov Date: 2014-09-29 10:30:16 +0000 Remove unnecessary semicolon. props ixkaito. fixes #29784. Built from https://develop.svn.wordpress.org/trunk@29784 git-svn-id: http://core.svn.wordpress.org/trunk@29556 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/wp-db.php commit 5516c48 refs/heads/master Author: Andrew Nacin Date: 2014-09-29 10:28:17 +0000 PHPMailer: Merge upstream commit (PR274). props zodiac1978. fixes #27946. Built from https://develop.svn.wordpress.org/trunk@29783 git-svn-id: http://core.svn.wordpress.org/trunk@29555 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/class-smtp.php commit 1595d6a refs/heads/master Author: Scott Taylor Date: 2014-09-29 04:54:16 +0000 In the form handler logic for `edit-tags.php`, don't redirect until `$_REQUEST['paged']` has been checked. All `switch` cases (except `edit`) now use `break` instead of `exit`. Fixes #16162. Built from https://develop.svn.wordpress.org/trunk@29782 git-svn-id: http://core.svn.wordpress.org/trunk@29554 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-admin/edit-tags.php commit 37a0c36 refs/heads/master Author: Scott Taylor Date: 2014-09-29 04:07:15 +0000 The joys of `wptexturize()`: * Revert parts of [28773] and [28727] and [29748]. * Do not crash PHP. Make the shortcode quantifier possessive to avoid backtracks. * Reduce backtracking in long HTML comments by 100x. * Do not ignore unclosed HTML comments. * Do not break unregistered shortcodes, e.g. `[hello attr="value"]`. * Do not break HTML in shortcode attributes, e.g. `[hello attr="<"]`. * Do not match for shortcodes when there is extra whitespace, e.g. `[ hello ]`. * Add unit tests to show #12690 was not fully resolved. * Tested PHP 5.2.4, 5.2.13, 5.4.32, and 5.5.8. Adds/modifies unit tests. Props miqrogroove. See #29557. Built from https://develop.svn.wordpress.org/trunk@29781 git-svn-id: http://core.svn.wordpress.org/trunk@29553 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/formatting.php M wp-includes/shortcodes.php commit 1967dfe refs/heads/master Author: Scott Taylor Date: 2014-09-29 04:03:16 +0000 In `paginate_links()`, ensure that query string args are propagated to the resulting paginated links. Adds unit tests that use `DOMDocument` since `assertTag` is being deprecated - see #29545, [29746]. Props obenland, wonderboymusic. Fixes #29636. Built from https://develop.svn.wordpress.org/trunk@29780 git-svn-id: http://core.svn.wordpress.org/trunk@29552 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/general-template.php commit 75d347b refs/heads/master Author: Scott Taylor Date: 2014-09-29 03:45:16 +0000 Add `size` to the UI for Gallery Settings in the media modal. Ensure that the TinyMCE view is refreshed when size changes. Props richardmtl, noplanman, wonderboymusic. Fixes #18143. Built from https://develop.svn.wordpress.org/trunk@29779 git-svn-id: http://core.svn.wordpress.org/trunk@29551 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/js/mce-view.js M wp-includes/js/mce-view.min.js M wp-includes/media-template.php commit b646f9d refs/heads/master Author: Scott Taylor Date: 2014-09-29 03:12:17 +0000 Allow bookmarks to be ordered by `link_description` in `get_bookmarks()`. Fixes #29763. Built from https://develop.svn.wordpress.org/trunk@29778 git-svn-id: http://core.svn.wordpress.org/trunk@29550 1a063a9b-81f0-0310-95a4-ce76da25c4cd M wp-includes/bookmark.php commit 668e758 refs/heads/master Author: Scott Taylor Date: 2014-09-29 03:00:17 +0000 Media Grid: when the modal is open, don't respond to arrow keys when `