Skip to content

Commit

Permalink
Update SVG uploads settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lushkant committed Jan 4, 2023
1 parent 8a03306 commit 2fe14c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/Core/SVGs/Allow.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
4 changes: 2 additions & 2 deletions inc/settings/class-settings-general.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ),
'<a href="https://analogwp.com/docs/default-template-import-method/" target="_blank">' . __( 'Read more', 'ang' ) . '</a>'
'<a href="https://analogwp.com/docs/enable-svg-imports-in-patterns" target="_blank">' . __( 'Read more', 'ang' ) . '</a>'
),
'type' => 'checkbox',
'default' => true,
Expand Down

0 comments on commit 2fe14c7

Please sign in to comment.