We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f71669 commit 5ba465aCopy full SHA for 5ba465a
modules/widgets/goodreads.php
@@ -78,9 +78,8 @@ function widget( $args, $instance ) {
78
echo '<script src="' . esc_url( $goodreads_url ) . '"></script>' . "\n";
79
80
echo $args['after_widget'];
81
- if ( function_exists( 'stats_extra' ) ) {
82
- stats_extra( 'widget', 'goodreads' );
83
- }
+
+ do_action( 'jetpack_stats_extra', 'widget', 'goodreads' );
84
}
85
86
function goodreads_user_id_exists( $user_id ) {
0 commit comments