wordpress-develop icon indicating copy to clipboard operation
wordpress-develop copied to clipboard

Replace `strip_tags()` with `wp_strip_all_tags()` in bundled themes

Open sabernhardt opened this issue 7 months ago • 2 comments

  • Removes title attribute from the parent link in Twenty Ten's image template, and removes the related $post_title variable.
  • Replaces strip_tags() with wp_strip_all_tags() in image templates for Twenty Eleven, Twenty Twelve and Twenty Thirteen. The title attribute remains in these themes to avoid changing the translatable strings.
  • Replaces strip_tags() with wp_strip_all_tags() in ephemera widgets for Twenty Eleven and Twenty Fourteen.

Trac 62721


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

sabernhardt avatar Mar 18 '25 21:03 sabernhardt