Make WordPress Core


Ignore:
Timestamp:
10/17/2022 05:58:36 PM (4 years ago)
Author:
audrasjb
Message:

Grouped backports to the 5.5 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.5 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.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.5

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

    r48231 r54556  
    29032903                                        'author_name'       => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
    29042904                                        'author_user_agent' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
     2905                                        'author'            => self::$editor_id,
    29052906                                ),
    29062907                                array(
    … …  
    29112912                                        'author_name'       => 'div strong',
    29122913                                        'author_user_agent' => 'div strong',
     2914                                        'author'            => self::$editor_id,
    29132915                                )
    29142916                        );
    … …  
    29202922                                        'author_name'       => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
    29212923                                        'author_user_agent' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
     2924                                        'author'            => self::$editor_id,
    29222925                                ),
    29232926                                array(
    … …  
    29282931                                        'author_name'       => 'div strong',
    29292932                                        'author_user_agent' => 'div strong',
     2933                                        'author'            => self::$editor_id,
    29302934                                )
    29312935                        );
    … …  
    29422946                                'author_name'       => '\\\&\\\ &amp; &invalid; < &lt; &amp;lt;',
    29432947                                'author_user_agent' => '\\\&\\\ &amp; &invalid; < &lt; &amp;lt;',
     2948                                'author'            => self::$superadmin_id,
    29442949                        ),
    29452950                        array(
    … …  
    29502955                                'author_name'       => '\\\&amp;\\\ &amp; &amp;invalid; &lt; &lt; &amp;lt;',
    29512956                                'author_user_agent' => '\\\&\\\ &amp; &invalid; &lt; &lt; &amp;lt;',
     2957                                'author'            => self::$superadmin_id,
    29522958                        )
    29532959                );
    … …  
    29632969                                'author_name'       => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
    29642970                                'author_user_agent' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
     2971                                'author'            => self::$superadmin_id,
    29652972                        ),
    29662973                        array(
    … …  
    29712978                                'author_name'       => 'div strong',
    29722979                                'author_user_agent' => 'div strong',
     2980                                'author'            => self::$superadmin_id,
    29732981                        )
    29742982                );
Note: See TracChangeset for help on using the changeset viewer.