modules/widgets/image-widget.php 1 location
|
@@ 106-110 (lines=5) @@
|
| 103 |
|
</figure>'; // wp_kses_post caption on update |
| 104 |
|
} |
| 105 |
|
echo '<div class="jetpack-image-container">' . do_shortcode( $output ) . '</div>'; |
| 106 |
|
} else { |
| 107 |
|
if ( current_user_can( 'edit_theme_options' ) ) { |
| 108 |
|
echo '<p>' . sprintf( __( 'Image missing or invalid URL. Please check the Image widget URL in your <a href="%s">widget settings</a>.', 'jetpack' ), admin_url( 'widgets.php' ) ) . '</p>'; |
| 109 |
|
} |
| 110 |
|
} |
| 111 |
|
|
| 112 |
|
echo "\n" . $args['after_widget']; |
| 113 |
|
|
modules/widgets/top-posts.php 1 location
|
@@ 299-304 (lines=6) @@
|
| 296 |
|
echo $args['before_title'] . $title . $args['after_title']; |
| 297 |
|
|
| 298 |
|
if ( ! $posts ) { |
| 299 |
|
if ( current_user_can( 'edit_theme_options' ) ) { |
| 300 |
|
echo '<p>' . sprintf( |
| 301 |
|
__( 'There are no posts to display. <a href="%s" target="_blank">Want more traffic?</a>', 'jetpack' ), |
| 302 |
|
'https://jetpack.com/support/getting-more-views-and-traffic/' |
| 303 |
|
) . '</p>'; |
| 304 |
|
} |
| 305 |
|
|
| 306 |
|
echo $args['after_widget']; |
| 307 |
|
return; |