wordpress-develop
wordpress-develop copied to clipboard
Replace `strip_tags()` with `wp_strip_all_tags()` in bundled themes
- Removes
titleattribute from the parent link in Twenty Ten's image template, and removes the related$post_titlevariable. - Replaces
strip_tags()withwp_strip_all_tags()in image templates for Twenty Eleven, Twenty Twelve and Twenty Thirteen. Thetitleattribute remains in these themes to avoid changing the translatable strings. - Replaces
strip_tags()withwp_strip_all_tags()in ephemera widgets for Twenty Eleven and Twenty Fourteen.
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.