Permalink
Commits on Jan 9, 2016
  1. Introduce `comments_template_query_args` filter.

    This new filter gives developers a way to target the arguments used for comment
    queries specifically when populating the main comment template.
    
    Props birgire.
    Fixes #34442.
    Built from https://develop.svn.wordpress.org/trunk@36235
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    boonebgorges committed Jan 9, 2016
  2. Clarify return types in `get_option()` documentation.

    The new note specifies that scalar values will always be returned as strings.
    
    Fixes #31820.
    Built from https://develop.svn.wordpress.org/trunk@36234
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    boonebgorges committed Jan 9, 2016
  3. Media: fix undefined error that prevents showing a preview in the med…

    …ia modal when replacing video or audio.
    
    Fixes #35363.
    Built from https://develop.svn.wordpress.org/trunk@36233
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Andrew Ozz committed Jan 9, 2016
  4. Docs: `@param` fixes for a variety of docblocks.

    See #32246
    
    Built from https://develop.svn.wordpress.org/trunk@36232
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    johnbillion committed Jan 9, 2016
  5. Docs: Correct the parameter docs for various Heartbeat filters and fu…

    …nctions.
    
    See #32246
    
    Built from https://develop.svn.wordpress.org/trunk@36231
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    johnbillion committed Jan 9, 2016
Commits on Jan 8, 2016
  1. Use a more generous selector when setting up tag suggestion.

    This allows taxonomy metaboxes to be registered in a greater variety of
    locations on the Dashboard.
    
    Props johnjamesjacoby..
    Fixes #35349.
    Built from https://develop.svn.wordpress.org/trunk@36227
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    boonebgorges committed Jan 8, 2016
  2. In `comments_template()`, don't run hierarchical queries if comment t…

    …hreading is disabled.
    
    When hierarchical=true, `WP_Comment_Query` will always fetch comments according
    to the comment hierarchy, even if 'thread_comments' is disabled for the site.
    This can cause problems when comment threading is disabled after threaded
    comments have been recorded on the site; comments will no longer be returned in
    a strictly chronological order.
    
    We address the issue by refraining from querying hierarchically when comment
    threading is disabled.
    
    Props jmdodd.
    Fixes #35378.
    Built from https://develop.svn.wordpress.org/trunk@36226
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    boonebgorges committed Jan 8, 2016
  3. Permalinks: Make `get_post_type_archive_link()` work for the 'post' p…

    …ost type.
    
    Props jjj.
    See #19902. 
    
    Built from https://develop.svn.wordpress.org/trunk@36225
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ericandrewlewis committed Jan 8, 2016
  4. Introduce 'author_url' param to `WP_Comment_Query`.

    Props swissspidy.
    Fixes #35377.
    Built from https://develop.svn.wordpress.org/trunk@36224
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    boonebgorges committed Jan 8, 2016
  5. Media: make the Image Editor usable with a keyboard.

    For accessibility, all interactive controls must be operable from the keyboard.
    Replaces `<div>`s used as UI controls with buttons. Groups some logically-related
    form elements.
    
    Fixes #28864.
    Built from https://develop.svn.wordpress.org/trunk@36223
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    afercia committed Jan 8, 2016
  6. Accessibility: remove the title attribute from the `get_search_form()…

    …` HTML5 search field.
    
    It was added in [23801] as a workaround for issues with very old browser/screen reader combos (Jaws7/IE6).
    No more necessary today. Reduces redundancy and noise for screen reader users.
    
    See #16539.
    Fixes #33952.
    Built from https://develop.svn.wordpress.org/trunk@36222
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    afercia committed Jan 8, 2016
  7. Plugins: Use plugin file rather than slug as identifier

    The plugin file is unique while there can be more than one plugin with the
    same slug. This also allows us to simplify the way updates from the plugin
    detail iframe are executed.
    
    See [36205].
    Fixes #35350.
    
    
    Built from https://develop.svn.wordpress.org/trunk@36221
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    obenland committed Jan 8, 2016
  8. Update to Random_Compat 1.1.5 to fix an issue with older libSodium mo…

    …dules.
    
    Props sarciszewski.
    Fixes #35327 for trunk.
    
    Built from https://develop.svn.wordpress.org/trunk@36220
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    dd32 committed Jan 8, 2016
Commits on Jan 7, 2016
  1. Customizer: Improve `_doing_it_wrong()` message when `widgets` or `na…

    …v_menus` are manually removed via `WP_Customize_Manager::remove_panel()`.
    
    * Link to code reference page for `customize_loaded_components` instead of linking to a Trac comment.
    * Remove HTML code from being included in translated string.
    * Add missing translator comment for the specifiers in the translated string.
    
    Amends [36216].
    Props DrewAPicture.
    Fixes #35242.
    
    Built from https://develop.svn.wordpress.org/trunk@36219
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    westonruter committed Jan 7, 2016
  2. Tests: Fix unit tests after [36217].

    See #35236.
    Built from https://develop.svn.wordpress.org/trunk@36218
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jan 7, 2016
  3. Rewrite: Add a `remove_rewrite_tag()` helper function.

    It can be used to properly remove registered rewrite tags. Adds unit tests.
    
    Fixes #35236.
    Built from https://develop.svn.wordpress.org/trunk@36217
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jan 7, 2016
  4. Customizer: Call `_doing_it_wrong()` if `widgets` or `nav_menus` are …

    …manually removed via `WP_Customize_Manager::remove_panel()`.
    
    Advise that the `customize_loaded_components` filter should be used instead.
    
    Props voldemortensen.
    See #33552.
    Fixes #35242.
    
    Built from https://develop.svn.wordpress.org/trunk@36216
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    westonruter committed Jan 7, 2016
  5. Allow comment agent and author IP to be set via `wp_update_comment()`.

    Props adamsilverstein, welcher.
    Fixes #35276.
    Built from https://develop.svn.wordpress.org/trunk@36215
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    boonebgorges committed Jan 7, 2016
  6. Ensure 'description' is a string in `wp_insert_term()`.

    Passing `'description' => null` when creating a term can cause MySQL notices,
    as the description column in the terms table does not allow for null values.
    We correct this by intepreting a `null` description as an empty string.
    
    Props TimothyBlynJacobs.
    Fixes #35321.
    Built from https://develop.svn.wordpress.org/trunk@36214
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    boonebgorges committed Jan 7, 2016
Commits on Jan 6, 2016
  1. Plugins: Avoid ID attribute collisions in plugins list table.

    Removes id attributes with non-unique plugin slug and adds a data attribute
    with the unique plugin file.
    
    Props khag7.
    Fixes #18974.
    
    
    Built from https://develop.svn.wordpress.org/trunk@36205
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    obenland committed Jan 6, 2016
  2. Themes: Avoid changing the count of themes with updates in network ad…

    …min.
    
    Makes the count bubble selector a little more specific to avoid interfering
    with the admin menu, but not too specific for installed theme searches not to
    update the bubble.
    
    See [29786], [31495].
    Fixes #35332.
    
    
    Built from https://develop.svn.wordpress.org/trunk@36204
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    obenland committed Jan 6, 2016
  3. Theme: Escape error messages

    Built from https://develop.svn.wordpress.org/trunk@36185
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    aaronjorbin committed Jan 6, 2016
  4. Unit Tests: Fix the unit test added in [36181] to include the index i…

    …n the comparison.
    
    See #35235
    
    Built from https://develop.svn.wordpress.org/trunk@36183
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    dd32 committed Jan 6, 2016
  5. Updates: Don't perform an API call to WordPress.org for every plugin …

    …update displayed. The API has been updated to return this information with the update response.
    
    See #35301
    
    Built from https://develop.svn.wordpress.org/trunk@36182
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    dd32 committed Jan 6, 2016
  6. Rewrite: Add a `remove_permastruct()` helper function.

    It can be used to remove permastructs that were added using `add_permastruct()`.
    
    Fixes #35235.
    Built from https://develop.svn.wordpress.org/trunk@36181
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jan 6, 2016
  7. Background Updates: Remove the 7am/7pm background update check. This …

    …check was made redundant by [28129] as background updates are now run after a version check takes place.
    
    See #27772, #35323.
    
    Built from https://develop.svn.wordpress.org/trunk@36180
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    dd32 committed Jan 6, 2016
Commits on Jan 5, 2016
  1. Bundled Themes: Bump version number of Twenty Thirteen.

    Props davidakennedy.
    Fixes #35319.
    Built from https://develop.svn.wordpress.org/trunk@36179
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed Jan 5, 2016
  2. Install: Use new colors for error notices.

    Props duaneblake, DBrumbaugh10Up.
    Fixes #34704.
    Built from https://develop.svn.wordpress.org/trunk@36178
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed Jan 5, 2016
  3. Query: Add a `WP::remove_query_var()` helper function.

    This makes cleaning up public query vars easier.
    
    Fixes #35234.
    Built from https://develop.svn.wordpress.org/trunk@36177
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jan 5, 2016
  4. Install: Only enqueue scripts when necessary.

    Props flixos90 for initial patch.
    Fixes #34700.
    Built from https://develop.svn.wordpress.org/trunk@36176
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed Jan 5, 2016
  5. Docs: Move the hook doc for the `the_title` filter in `Walker_Page::s…

    …tart_el()` to directly precede the `apply_filters()` line.
    
    See #32246.
    Built from https://develop.svn.wordpress.org/trunk@36175
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed Jan 5, 2016