Skip to content
Snippets Groups Projects
Commit ea33b2ce authored by lechuck's avatar lechuck Committed by lucha
Browse files

Fixed EU compliance Text

parent 5894f602
Branches
Tags
No related merge requests found
...@@ -21,7 +21,7 @@ add_filter( 'script_loader_tag', function ( $tag, $handle ) { ...@@ -21,7 +21,7 @@ add_filter( 'script_loader_tag', function ( $tag, $handle ) {
if ( 'cookiebanner' !== $handle ) if ( 'cookiebanner' !== $handle )
return $tag; return $tag;
$stringa = ' id="cookiebanner" data-moreinfo="https://noblogs.org/privacy" data-message="To comply to EU Privacy Laws we inform you that some of the third party services used on some of our blogs could use cookies" '; $stringa = ' id="cookiebanner" data-moreinfo="https://noblogs.org/privacy" data-message="To comply with the EU Privacy Laws we\'re bound to inform you that some third party services used on some of our blogs (like Youtube) could use cookies" ';
return str_replace( ' src', "$stringa src", $tag ); return str_replace( ' src', "$stringa src", $tag );
}, 10, 2 ); }, 10, 2 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment