Skip to content

Commit

Permalink
Merge branch 'develop' into enhancement/178-support-wp-4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
pierlon committed Apr 21, 2020
2 parents 56e3dc6 + e91757e commit a08f05a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions assets/src/media-selector/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
display: block;
}

/**
* Spinner next legend.
*/

.unsplash-browser .search-form .unsplash-search-input-label {
float: left;
}

.unsplash-browser .search-form .spinner {
float: left;
margin: 5px 0 0 5px;
}

/**
* Masonry layout
*/
Expand Down
3 changes: 2 additions & 1 deletion php/class-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ public function get_caption() {
],
'https://unsplash.com/'
);
// Whitespace at end of caption is required.
/* translators: 1: User URL, 2: User's name, 3: Unsplash URL */
return sprintf( __( 'Photo by <a href="%1$s">%2$s</a> on <a href="%3$s">Unsplash</a>.', 'unsplash' ), esc_url( $user_url ), $user_name, esc_url( $url ) );
return sprintf( __( 'Photo by <a href="%1$s">%2$s</a> on <a href="%3$s">Unsplash</a> ', 'unsplash' ), esc_url( $user_url ), $user_name, esc_url( $url ) );
}
}

0 comments on commit a08f05a

Please sign in to comment.