Permalink
Commits on Aug 13, 2016
  1. Merge tag '4.5.3'

    fjuan committed Aug 13, 2016
Commits on Jun 21, 2016
  1. Tag 4.5.3

    aaronjorbin committed Jun 21, 2016
  2. Bump 4.5 branch to 4.5.3.

    boonebgorges committed Jun 21, 2016
  3. Media: Fix rendering of incorrect toolbar in the Edit view.

    This switches event binding in `wp.media.controller.EditImage` to use `on`
    instead of `listenTo` to restore rendering of the correct toolbar when the
    `toolbar:render:edit-image` event fires. The existing listeners broke
    when we upgraded Backbone in [36546].
    
    Merge of [37678] to the 4.5 branch.
    
    Props adamsilverstein.
    Fixes #36861.
    Built from https://develop.svn.wordpress.org/branches/4.5@37813
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jun 21, 2016
  4. Media: Improve handling of extensionless filenames.

    Merge of [37756] to the 4.5 branch.
    
    See #37111.
    Built from https://develop.svn.wordpress.org/branches/4.5@37809
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    joemcgill committed Jun 21, 2016
  5. Admin: escape URL-encoded permalinks

    Merge of [37801] to the 4.5 branch.
    
    Built from https://develop.svn.wordpress.org/branches/4.5@37806
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nb committed Jun 21, 2016
  6. Media: Restore keyboard navigation of the media grid.

    This changes the binding of event listeners in the Attachments Browser
    to use `on` instead of `listenTo` for the `attachment:keydown:arrow` and
    `attachment:details:shift-tab` events. The existing listeners broke
    when we upgraded Backbone in [36546].
    
    Merge of [37755] to the 4.5 branch.
    
    Props adamsilverstein.
    Fixes #36900.
    Built from https://develop.svn.wordpress.org/branches/4.5@37804
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jun 21, 2016
  7. Revisions: Change the capability needed to view revision diffs to `ed…

    …it_post`.
    
    Merge of [37779] to the 4.5 branch.
    Built from https://develop.svn.wordpress.org/branches/4.5@37791
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    rachelbaker committed Jun 21, 2016
  8. Admin: Escape attachment name in case it contains special characters

    Merge of [37774] to the 4.5 branch.
    
    Built from https://develop.svn.wordpress.org/branches/4.5@37783
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nb committed Jun 21, 2016
  9. Customize: Make sure that preview and return URLs are URLs.

    Merge of [37527] to the 4.5 branch.
    Built from https://develop.svn.wordpress.org/branches/4.5@37768
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed Jun 21, 2016
  10. Taxonomy: More specific cap check when processing category data on p…

    …ost save.
    
     Ports [37691] to the 4.5 branch.
    
     Props dlh.
     Fixes #36379.
     Please enter the commit message for your changes. Lines starting
    Built from https://develop.svn.wordpress.org/branches/4.5@37759
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    boonebgorges committed Jun 21, 2016
  11. Admin: Allow for the consistent filtering of `auth_redirect_scheme`

    Merge of [37651] to the 4.5 branch.
    
    See #37047.
    
    Built from https://develop.svn.wordpress.org/branches/4.5@37757
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    jeremyfelt committed Jun 21, 2016
Commits on Jun 20, 2016
  1. Menus: Support nested array variables in POST data when saving menus.

    [36510] allowed larger menus to be created in the Edit Menu screen by JSON-encoding the entire form into a single input field. However, it did not correctly handle nested arrays.
    
    This introduces a new `_wp_expand_nav_menu_post_data()` helper function to handle this POST data which uses `array_replace_recursive()` internally. Since the latter is only available on PHP 5.3+, we add a compatibility function to ensure PHP 5.2 support.
    
    Merge of [37748] and [37750] to the 4.5 branch.
    
    Props ericlewis, neverything, swissspidy.
    Fixes #36590. See #14134.
    Built from https://develop.svn.wordpress.org/branches/4.5@37754
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jun 20, 2016
Commits on Jun 16, 2016
  1. Output node and npm versions on travis.

    In order to make local debugging of travis easier, output the npm and node versions when travis runs.
    
    [37730] for 4.5.
    
    see #37116. 
    
    Built from https://develop.svn.wordpress.org/branches/4.5@37733
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    aaronjorbin committed Jun 16, 2016
  2. Embeds: Enforce a valid post ID when embedding a post from the curren…

    …t site.
    
    Otherwise `wp_filter_pre_oembed_result()` could erroneously return the HTML of the current post instead of the intended result.
    
    Merge of [37729] to the 4.5 branch.
    
    Props kraftbj.
    See #36767.
    Built from https://develop.svn.wordpress.org/branches/4.5@37732
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jun 16, 2016
  3. Customize: Separate preview and actions in the site icon control.

    Reverts [37456] to allow users to remove/change a site icon even if the attachment has corrupt/missing data about sizes.
    
    Merge of [37724] to the 4.5 branch.
    
    See #36749.
    Built from https://develop.svn.wordpress.org/branches/4.5@37725
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed Jun 16, 2016
Commits on Jun 15, 2016
  1. Fix tests after [37709].

    Avoids using `assertNotFalse()` which is only available in PHPUnit 4.0 and above.
    
    See [37708], [37710].
    See #36767.
    Built from https://develop.svn.wordpress.org/branches/4.5@37711
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jun 15, 2016
  2. Embeds: Improve performance when embedding a post of the current site.

    When the post being embedded is from the same site, there's no reason to do an HTTP request for it. The data can be fetched directly using `get_oembed_response_data()`.
    
    Merge of [37708] to the 4.5 branch.
    
    Fixes #36767.
    Built from https://develop.svn.wordpress.org/branches/4.5@37709
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    swissspidy committed Jun 15, 2016
Commits on Jun 1, 2016
  1. Database: `dbDelta()` will no longer try to downgrade the size of `TE…

    …XT` and `BLOB` columns.
    
    When upgrading to `utf8mb4`, `TEXT` fields will be upgraded to `MEDIUMTEXT` (and likewise for all other `*TEXT` and `*BLOB` fields). This is to allow for the additional space requirements of `utf8mb4`.
    
    On the subsequent upgrade, after the `utf8mb4` upgrade, `dbDelta()` would try and downgrade the fields to their original size again. At best, this it a waste of time, at worst, this could truncate any data larger than the original size. There's no harm in leaving them at their original size, so let's do that.
    
    Merge of [37525] to the 4.5 branch.
    
    Props pento.
    See #36748.
    
    
    Built from https://develop.svn.wordpress.org/branches/4.5@37606
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed Jun 1, 2016
  2. TinyMCE: Fix inline toolbar positioning.

    Introduced in [37000].
    See tinymce/tinymce@2fb8aa4.
    See tinymce/tinymce@5734a8d.
    
    Merge of [37559] to the 4.5 branch.
    
    Props iseulde.
    Fixes #36876.
    Built from https://develop.svn.wordpress.org/branches/4.5@37605
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed Jun 1, 2016
  3. External Libraries: Update jQuery Migrate to 1.4.1.

    http://blog.jquery.com/2016/05/19/jquery-migrate-1-4-1-released-and-the-path-to-jquery-3-0/
    
    Unquoted selectors for attribute selectors should function once again (and output a warning so that plugins and themes using them can update).
    
    Merge of [37472] to the 4.5 branch.
    
    Props jorbin.
    Fixes #36892.
    Built from https://develop.svn.wordpress.org/branches/4.5@37604
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed Jun 1, 2016
Commits on May 23, 2016
  1. External Libraries: Update jQuery to 1.12.4.

    Release post: https://blog.jquery.com/2016/05/20/jquery-1-12-4-and-2-2-4-released/
    Changelog: jquery/jquery@1.12.3...1.12.4
    
    Merge of [37433] and [37526] to the 4.5 branch.
    
    Fixes #36533.
    Built from https://develop.svn.wordpress.org/branches/4.5@37528
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed May 23, 2016
Commits on May 17, 2016
  1. Media: Remove medium_large size from `$whitelist_options['media']` in…

    … `options.php`.
    
    The `medium_large_size_w` and `medium_large_size_h` options were added to the
    `$whitelist_options['media']` in options.php in [35479], which causes both options
    to be set to `0` when the media settings are changed. When this occurs, the
    medium_large image size will no longer be created when an image is uploaded.
    
    Since these options aren't meant to be updated via the settings UI, they can be
    safely removed from the whitelist.
    
    Merge of [37435] to the 4.5 branch.
    
    Props joemcgill.
    Fixes #36531.
    Built from https://develop.svn.wordpress.org/branches/4.5@37457
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed May 17, 2016
  2. Embeds: Change attachment metadata condition to prevent a warning in …

    …the embeds template.
    
    Merge of [37452] to the 4.5 branch.
    
    Props swissspidy.
    See #35237.
    Fixes #36838.
    Built from https://develop.svn.wordpress.org/branches/4.5@37455
    
    
    git-svn-id: http://core.svn.wordpress.org/branches/4.5@37423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    ocean90 committed May 17, 2016