Make WordPress Core


Ignore:
Timestamp:
09/30/2025 05:00:33 PM (5 months ago)
Author:
desrosj
Message:

Grouped backports for the 6.6 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 6.6 branch.

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

Location:
branches/6.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.6

  • branches/6.6/tests/phpunit/tests/customize/nav-menu-item-setting.php

    r56421 r60820  
    9090            'xfn'              => '',
    9191            'status'           => 'publish',
    92             'original_title'   => '',
    9392            'nav_menu_term_id' => 0,
    9493            '_invalid'         => false,
     
    582581            'xfn'              => 'hello  inject',
    583582            'status'           => 'draft',
    584             'original_title'   => 'Hi',
     583            'original_title'   => 'Hi<script>unfilteredHtml()</script>',
    585584            'nav_menu_term_id' => 0,
    586585        );
Note: See TracChangeset for help on using the changeset viewer.