[wp-trac] [WordPress Trac] #64748: Privacy: get_the_privacy_policy_link() should strip HTML tags and return plain text

WordPress Trac noreply at wordpress.org
Sat Feb 28 07:13:02 UTC 2026


#64748: Privacy: get_the_privacy_policy_link() should strip HTML tags and return
plain text
--------------------------+--------------------------
 Reporter:  wildworks     |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  7.0
Component:  Privacy       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by noruzzaman):

 == Test Report

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/11088

 === Environment
 - WordPress: 7.0-beta2-20260226.234351
 - PHP: 7.4.33
 - Server: PHP.wasm
 - Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
 - Browser: Chrome 145.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Actual Results
 1.  ✅ Issue resolved with patch.

 || Before || After ||
 || [[Image(https://i.ibb.co.com/zhx2THyL/Before.png)]] ||
 [[Image(https://i.ibb.co.com/9kLpvrLd/after.png)]] ||

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64748#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list