Skip to content

Commit

Permalink
Removed the double localization
Browse files Browse the repository at this point in the history
  • Loading branch information
SuryawanshiPrajakta committed Jun 15, 2020
1 parent 77d403d commit 8b2ddf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/bsf-analytics/class-bsf-analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function option_notice() {
</div>
</div>',
/* translators: %s usage doc link */
sprintf( $notice_string . '<span dir="%2s"><a href="%3s" target="_blank" rel="noreferrer noopener">%4s</a><span>', esc_html( $this->get_product_name() ), $language_dir, esc_url( $this->usage_doc_link ), __( ' Know More.', 'astra', 'fullwidth-templates' ) ),
sprintf( $notice_string . '<span dir="%2s"><a href="%3s" target="_blank" rel="noreferrer noopener">%4s</a><span>', esc_html( $this->get_product_name() ), $language_dir, esc_url( $this->usage_doc_link ), __( ' Know More.', 'fullwidth-templates' ) ),
add_query_arg(
array(
'bsf_analytics_optin' => 'yes',
Expand Down
2 changes: 1 addition & 1 deletion admin/notices/class-astra-notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function dismiss_notice() {
$nonce = ( isset( $_POST['nonce'] ) ) ? sanitize_key( $_POST['nonce'] ) : '';

if ( false === wp_verify_nonce( $nonce, 'astra-notices' ) ) {
wp_send_json_error( _e( 'WordPress Nonce not validated.', 'header-footer-elementor', 'fullwidth-templates' ) );
wp_send_json_error( _e( 'WordPress Nonce not validated.', 'fullwidth-templates' ) );
}

// Valid inputs?
Expand Down

0 comments on commit 8b2ddf6

Please sign in to comment.