Make WordPress Core


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

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

Legend:

Unmodified
Added
Removed
  • branches/5.3

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

    r46433 r54562  
    27392739                                        'author_name'       => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
    27402740                                        'author_user_agent' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
     2741                                        'author'            => self::$editor_id,
    27412742                                ),
    27422743                                array(
     
    27472748                                        'author_name'       => 'div strong',
    27482749                                        'author_user_agent' => 'div strong',
     2750                                        'author'            => self::$editor_id,
    27492751                                )
    27502752                        );
     
    27562758                                        'author_name'       => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
    27572759                                        'author_user_agent' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
     2760                                        'author'            => self::$editor_id,
    27582761                                ),
    27592762                                array(
     
    27642767                                        'author_name'       => 'div strong',
    27652768                                        'author_user_agent' => 'div strong',
     2769                                        'author'            => self::$editor_id,
    27662770                                )
    27672771                        );
     
    27772781                                'author_name'       => '\\\&\\\ &amp; &invalid; < &lt; &amp;lt;',
    27782782                                'author_user_agent' => '\\\&\\\ &amp; &invalid; < &lt; &amp;lt;',
     2783                                'author'            => self::$superadmin_id,
    27792784                        ),
    27802785                        array(
     
    27852790                                'author_name'       => '\\\&amp;\\\ &amp; &amp;invalid; &lt; &lt; &amp;lt;',
    27862791                                'author_user_agent' => '\\\&\\\ &amp; &invalid; &lt; &lt; &amp;lt;',
     2792                                'author'            => self::$superadmin_id,
    27872793                        )
    27882794                );
     
    27972803                                'author_name'       => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
    27982804                                'author_user_agent' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
     2805                                'author'            => self::$superadmin_id,
    27992806                        ),
    28002807                        array(
     
    28052812                                'author_name'       => 'div strong',
    28062813                                'author_user_agent' => 'div strong',
     2814                                'author'            => self::$superadmin_id,
    28072815                        )
    28082816                );
Note: See TracChangeset for help on using the changeset viewer.