Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 8599735

Browse files
committed
use local images & remove unnecessary comment
1 parent b0184f0 commit 8599735

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

includes/class-creativecommons.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ public function cc0_html_rdfa( $title_work, $attribute_url, $attribute_text ) {
10071007
$result = '<p xmlns:dct="http://purl.org/dc/terms/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">
10081008
<a rel="license"
10091009
href="http://creativecommons.org/publicdomain/zero/1.0/">
1010-
<img src="http://i.creativecommons.org/p/zero/1.0/88x31.png" style="border-style: none;" alt="CC0" /></a>
1010+
<img src="'.CCPLUGIN__URL.'includes/images/cc0.png" style="border-style: none;" alt="CC0" /></a>
10111011
<br />
10121012
To the extent possible under law,';
10131013
if ( $attribute_url ) {
@@ -1022,12 +1022,6 @@ public function cc0_html_rdfa( $title_work, $attribute_url, $attribute_text ) {
10221022
}
10231023
$result .= ' has waived all copyright and related or neighboring rights to
10241024
<span property="dct:title">' . $title_work . '</span>.'
1025-
/*
1026-
This work is published from:
1027-
<span property="vcard:Country" datatype="dct:ISO3166"
1028-
content="' . $country_code . '" about="' . $attribute_url . '">
1029-
' . $country_name . '</span>.
1030-
*/
10311025
. '</p>';
10321026
return $result;
10331027
}

0 commit comments

Comments
 (0)