Skip to content

Commit e14faea

Browse files
committed
updated link URLs, removed deprecated links
1 parent 52aec14 commit e14faea

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

inc/snitch.class.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ public static function meta_links($data, $file)
161161
return array_merge(
162162
$data,
163163
array(
164-
'<a href="https://flattr.com/t/1628977" target="_blank">Flattr</a>',
165-
'<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=ZAQUT9RLPW8QN" target="_blank">PayPal</a>'
164+
'<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LG5VC9KXMAYXJ" target="_blank">PayPal</a>'
166165
)
167166
);
168167
}
@@ -398,4 +397,4 @@ public static function uninstall()
398397
/* Remove caps */
399398
self::_handle_caps('administrator', 'remove');
400399
}
401-
}
400+
}

inc/snitch_cpt.class.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -982,12 +982,11 @@ private static function _get_meta($post_id, $key)
982982
public static function views_edit($views)
983983
{
984984
$links = array(
985-
'paypal' => '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=ZAQUT9RLPW8QN" target="_blank">PayPal</a>',
986-
'flattr' => '<a href="https://flattr.com/t/1628977" target="_blank">Flattr</a>'
985+
'paypal' => '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LG5VC9KXMAYXJ" target="_blank">PayPal</a>'
987986
);
988987

989988
if ( strpos(get_locale(), 'de') !== false ) {
990-
$links['wiki'] = '<a href="https://github.com/sergejmueller/snitch/wiki" target="_blank">Wiki</a>';
989+
$links['wiki'] = '<a href="https://github.com/pluginkollektiv/snitch/wiki" target="_blank">Wiki</a>';
991990
}
992991

993992
return $links;
@@ -1075,4 +1074,4 @@ private static function _current_screen($id)
10751074

10761075
return ( is_object($screen) && $screen->id === $id );
10771076
}
1078-
}
1077+
}

0 commit comments

Comments
 (0)