[wp-trac] [WordPress Trac] #43620: Privacy Policy page design
WordPress Trac
noreply at wordpress.org
Tue Apr 24 11:07:17 UTC 2018
#43620: Privacy Policy page design
------------------------------------------+--------------------------------
Reporter: melchoyce | Owner: xkon
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr has-patch needs-testing | Focuses: ui,
| administration
------------------------------------------+--------------------------------
Comment (by azaozz):
Replying to [comment:37 iandunn]:
> Does anyone have any feedback on that? If not, I think it's ready for
commit.
Looks good except perhaps return an empty string without the `$before` and
`$after` when no link. Perhaps:
{{{
$link = apply_filters( 'the_privacy_policy_link', $link,
$privacy_policy_url );
if ( $link ) {
return $before . $link . $after;
}
return '';
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43620#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list