Skip to content

Commit 0aba94e

Browse files
authored
Merge pull request #53 from creativecommons/donation-link-fix
Rename donation links
2 parents 9e06177 + 06675da commit 0aba94e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<aside class="donate-section">
5151
<h5>Our work relies on you!</h5>
5252
<p>Help us keep the internet free and open.</p>
53-
<?php echo Components::button( 'Donate now', 'https://us.netdonor.net/page/6650/donate/1', 'small', 'donate', true, 'cc-letterheart-filled' ); ?>
53+
<?php echo Components::button( 'Donate now', 'https://creativecommons.org/donate?c_src=website&c_src2=GlobalFooter', 'small', 'donate', true, 'cc-letterheart-filled' ); ?>
5454
</aside>
5555
</div>
5656
</div>

inc/partials/home/home-featured.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<h3 class="heading-b"><?php echo esc_attr( $settings['featured_content'] ); ?></h3>
1616
<?php
1717
if ( $settings['include_donate'] ) {
18-
echo Components::button( 'Donate now', 'https://us.netdonor.net/page/6650/donate/1', 'small', 'donate', true, 'cc-letterheart' );
18+
echo Components::button( 'Donate now', 'https://creativecommons.org/donate', 'small', 'donate', true, 'cc-letterheart' );
1919
}
2020
?>
2121
<?php endif; ?>

inc/widgets/cc-donate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function __construct() {
1010
}
1111

1212
function widget( $args, $instance ) {
13-
$donate_url = 'https://us.netdonor.net/page/6650/donate/1/';
13+
$donate_url = 'https://creativecommons.org/donate/';
1414
echo '<div class="widget donate">';
1515
echo '<h3 class="b-header">' . $instance['title'] . '</h3>';
1616
echo '<div class="donate-buttons">';

0 commit comments

Comments
 (0)