mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-14 03:56:09 +09:00
update text strings for consistency
This commit is contained in:
@@ -277,7 +277,8 @@ class Display_Featured_Image_Genesis_Settings {
|
|||||||
if ( $new_value ) {
|
if ( $new_value ) {
|
||||||
|
|
||||||
if ( ! $valid ) {
|
if ( ! $valid ) {
|
||||||
$message = __( 'Sorry, that is an invalid file type. The Default Featured Image has been reset to the last valid setting.', 'display-featured-image-genesis' );
|
$message = __( 'Sorry, that is an invalid file type.', 'display-featured-image-genesis' );
|
||||||
|
$message .= __( ' The Default Featured Image has been reset to the last valid setting.', 'display-featured-image-genesis' );
|
||||||
$new_value = $this->displaysetting['default'];
|
$new_value = $this->displaysetting['default'];
|
||||||
|
|
||||||
add_settings_error(
|
add_settings_error(
|
||||||
@@ -289,7 +290,8 @@ class Display_Featured_Image_Genesis_Settings {
|
|||||||
}
|
}
|
||||||
// if file is an image, but is too small, throw it back
|
// if file is an image, but is too small, throw it back
|
||||||
elseif ( $width <= $large ) {
|
elseif ( $width <= $large ) {
|
||||||
$message = __( 'Sorry, your image is too small. The Default Featured Image has been reset to the last valid setting.', 'display-featured-image-genesis' );
|
$message = __( 'Sorry, your image is too small.', 'display-featured-image-genesis' );
|
||||||
|
$message .= __( ' The Default Featured Image has been reset to the last valid setting.', 'display-featured-image-genesis' );
|
||||||
$new_value = $this->displaysetting['default'];
|
$new_value = $this->displaysetting['default'];
|
||||||
|
|
||||||
add_settings_error(
|
add_settings_error(
|
||||||
|
|||||||
Reference in New Issue
Block a user