Make WordPress Core


Ignore:
Timestamp:
10/17/2022 06:08:00 PM (4 years ago)
Author:
audrasjb
Message:

Grouped backports to the 5.2 branch.

  • Editor: Bump @wordpress packages for the branch,
  • Media: Refactor search by filename within the admin,
  • REST API: Lockdown post parameter of the terms endpoint,
  • Customize: Escape blogname option in underscores templates,
  • Query: Validate relation in WP_Date_Query,
  • Posts, Post types: Apply KSES to post-by-email content,
  • General: Validate host on "Are you sure?" screen,
  • Posts, Post types: Remove emails from post-by-email logs,
  • Pings/trackbacks: Apply KSES to all trackbacks,
  • Mail: Reset PHPMailer properties between use,
  • Comments: Apply kses when editing comments,
  • Widgets: Escape RSS error messages for display.

Merges [54521-54530] to the 5.2 branch.
Props audrasjb, costdev, cu121, dd32, davidbaumwald, ehtis, johnbillion, johnjamesjacoby, martinkrcho, matveb, oztaser, paulkevan, peterwilsoncc, ravipatel, SergeyBiryukov, talldanwp, timothyblynjacobs, tykoted, voldemortensen, vortfu, xknown.

Location:
branches/5.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/tests/phpunit/tests/rest-api/rest-comments-controller.php

    r43571 r54563  
    26962696                                        'author_name'       => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
    26972697                                        'author_user_agent' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
     2698                                        'author'            => self::$editor_id,
    26982699                                ),
    26992700                                array(
    … …  
    27042705                                        'author_name'       => 'div strong',
    27052706                                        'author_user_agent' => 'div strong',
     2707                                        'author'            => self::$editor_id,
    27062708                                )
    27072709                        );
    … …  
    27132715                                        'author_name'       => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
    27142716                                        'author_user_agent' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
     2717                                        'author'            => self::$editor_id,
    27152718                                ),
    27162719                                array(
    … …  
    27212724                                        'author_name'       => 'div strong',
    27222725                                        'author_user_agent' => 'div strong',
     2726                                        'author'            => self::$editor_id,
    27232727                                )
    27242728                        );
    … …  
    27342738                                'author_name'       => '\\\&\\\ &amp; &invalid; < &lt; &amp;lt;',
    27352739                                'author_user_agent' => '\\\&\\\ &amp; &invalid; < &lt; &amp;lt;',
     2740                                'author'            => self::$superadmin_id,
    27362741                        ),
    27372742                        array(
    … …  
    27422747                                'author_name'       => '\\\&amp;\\\ &amp; &amp;invalid; &lt; &lt; &amp;lt;',
    27432748                                'author_user_agent' => '\\\&\\\ &amp; &invalid; &lt; &lt; &amp;lt;',
     2749                                'author'            => self::$superadmin_id,
    27442750                        )
    27452751                );
    … …  
    27542760                                'author_name'       => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
    27552761                                'author_user_agent' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
     2762                                'author'            => self::$superadmin_id,
    27562763                        ),
    27572764                        array(
    … …  
    27622769                                'author_name'       => 'div strong',
    27632770                                'author_user_agent' => 'div strong',
     2771                                'author'            => self::$superadmin_id,
    27642772                        )
    27652773                );
Note: See TracChangeset for help on using the changeset viewer.