~vcs-imports/wordpress/trunk

Viewing all changes in revision 39086.

  • Committer: peterwilsoncc
  • Date: 2019-01-22 21:55:51 UTC
  • Revision ID: svn-v4:1a063a9b-81f0-0310-95a4-ce76da25c4cd:trunk:44522
Formatting: Prevent `wp_targeted_link_rel()` adding an empty attribute.

Bypass adding a `rel` attribute when the `wp_targeted_link_rel` filter returns an empty string or other falsy result.

Props mcmwebsol, spartank, meatman89fs.
Fixes #45352.

Built from https://develop.svn.wordpress.org/trunk@44691

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: