[wp-trac] [WordPress Trac] #57579: Replace most strip_tags() with wp_strip_tags()

WordPress Trac noreply at wordpress.org
Mon Feb 5 12:35:55 UTC 2024


#57579: Replace most strip_tags() with wp_strip_tags()
-------------------------------------------------+-------------------------
 Reporter:  ipajen                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  php81 has-patch changes-requested    |     Focuses:  php-
  needs-unit-tests                               |  compatibility
-------------------------------------------------+-------------------------

Comment (by slimndap):

 > This should not normally happen, but some folks may pass null to
 add_submenu_page() when creating new pages, to hide that page from the
 admin menu.

 This also happens if you pass an empty string (!'') as the first parameter
 ($parent_slug) to add_submenu_page().

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


More information about the wp-trac mailing list