From 2fe14c7028dc789bcd55d9410769f89ee8cd3666 Mon Sep 17 00:00:00 2001 From: Krishna Kant Date: Wed, 4 Jan 2023 15:23:22 +0530 Subject: [PATCH] Update SVG uploads settings #549 --- inc/Core/SVGs/Allow.php | 2 +- inc/settings/class-settings-general.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/Core/SVGs/Allow.php b/inc/Core/SVGs/Allow.php index 577ecae6..2a9793db 100644 --- a/inc/Core/SVGs/Allow.php +++ b/inc/Core/SVGs/Allow.php @@ -54,7 +54,7 @@ public function __construct() { } /** - * Allow SVG Uploads + * Enable SVG Uploads * * @param array $mimes Mime types keyed by the file extension regex corresponding to those types. * diff --git a/inc/settings/class-settings-general.php b/inc/settings/class-settings-general.php index cbe1037c..c246792b 100644 --- a/inc/settings/class-settings-general.php +++ b/inc/settings/class-settings-general.php @@ -85,11 +85,11 @@ public function get_settings( $current_section = '' ) { $default_import_method, array( 'id' => 'allow_svg_uploads', - 'title' => esc_html_x( 'Allow SVG Uploads', 'settings title', 'ang' ), + 'title' => esc_html_x( 'Enable SVG Uploads', 'settings title', 'ang' ), 'desc' => sprintf( /* translators: %s: Global Style Kit Documentation link */ __( 'Helps importing SVGs in templates. %s', 'ang' ), - '' . __( 'Read more', 'ang' ) . '' + '' . __( 'Read more', 'ang' ) . '' ), 'type' => 'checkbox', 'default' => true,