diff options
Diffstat (limited to 'plugins/jetpack/modules/widgets/flickr.php')
-rw-r--r-- | plugins/jetpack/modules/widgets/flickr.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/widgets/flickr.php b/plugins/jetpack/modules/widgets/flickr.php index aac364af..c07e307b 100644 --- a/plugins/jetpack/modules/widgets/flickr.php +++ b/plugins/jetpack/modules/widgets/flickr.php @@ -50,7 +50,7 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) { public function defaults() { return array( 'title' => esc_html__( 'Flickr Photos', 'jetpack' ), - 'items' => 3, + 'items' => 4, 'flickr_image_size' => 'thumbnail', 'flickr_rss_url' => '' ); @@ -132,9 +132,8 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) { $photos .= '<a href="' . esc_url( $photo->get_permalink(), array( 'http', 'https' ) ) . '">'; $photos .= '<img src="' . esc_url( $src, array( 'http', 'https' ) ) . '" '; $photos .= 'alt="' . esc_attr( $photo->get_title() ) . '" '; - $photos .= 'border="0" '; $photos .= 'title="' . esc_attr( $photo->get_title() ) . '" '; - $photos .= ' /></a><br /><br />'; + $photos .= ' /></a>'; } if ( ! empty( $photos ) && class_exists( 'Jetpack_Photon' ) && Jetpack::is_module_active( 'photon' ) ) { $photos = Jetpack_Photon::filter_the_content( $photos ); |