Make WordPress Core


Ignore:
Timestamp:
09/30/2025 05:06:24 PM (12 months ago)
Author:
desrosj
Message:

Grouped backports for the 4.9 branch.

  • REST API: Increase the specificity of capability checks for collections when the edit context is in use.
  • Menus: Prevent HTML in menu item titles from being rendered unexpectedly.

Merges [60814], [60815], [60816] to the 4.9 branch.

Props andraganescu, desrosj, ehti, hurayraiit, iandunn, joehoyle, johnbillion, jorbin, mnelson4, noisysocks, peterwilsoncc, phillsav, rmccue, timothyblynjacobs, vortfu, westonruter , whyisjake, zieladam.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/tests/phpunit/tests/customize/nav-menus.php

    r43481 r60837  
    171171                        'id'         => "post-{$post_id}",
    172172                        'title'      => 'Post Title',
     173                        'original_title'      => 'Post Title',
    173174                        'type'       => 'post_type',
    174175                        'type_label' => 'Post',
    … …  
    198199                        'id'         => "post-{$page_id}",
    199200                        'title'      => 'Page Title',
     201                        'original_title'      => 'Page Title',
    200202                        'type'       => 'post_type',
    201203                        'type_label' => 'Page',
    … …  
    224226                        'id'         => "post-{$post_id}",
    225227                        'title'      => 'Post Title',
     228                        'original_title'      => 'Post Title',
    226229                        'type'       => 'post_type',
    227230                        'type_label' => 'Post',
    … …  
    250253                        'id'         => "term-{$term_id}",
    251254                        'title'      => 'Term Title',
     255                        'original_title' => 'Term Title',
    252256                        'type'       => 'taxonomy',
    253257                        'type_label' => 'Category',
Note: See TracChangeset for help on using the changeset viewer.