Skip to content

Commit

Permalink
Regenerated POT file
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmak02 committed Jan 27, 2025
1 parent 0928039 commit fa5472b
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 88 deletions.
2 changes: 1 addition & 1 deletion inc/lib/astra-notices/class-astra-notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function dismiss_notice() {
}

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

// Valid inputs?
Expand Down
6 changes: 3 additions & 3 deletions inc/lib/nps-survey/classes/nps-survey-script.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public static function get_item_permissions_check( $request ) {
if ( ! current_user_can( 'manage_options' ) ) {
return new \WP_Error(
'gt_rest_cannot_access',
__( 'Sorry, you are not allowed to do that.', 'nps-survey' ),
__( 'Sorry, you are not allowed to do that.', 'nps-survey', 'header-footer-elementor' ),
array( 'status' => rest_authorization_required_code() )
);
}
Expand All @@ -267,7 +267,7 @@ public static function submit_rating( $request ) {
if ( ! wp_verify_nonce( sanitize_text_field( (string) $nonce ), 'wp_rest' ) ) {
wp_send_json_error(
array(
'data' => __( 'Nonce verification failed.', 'nps-survey' ),
'data' => __( 'Nonce verification failed.', 'nps-survey', 'header-footer-elementor' ),
'status' => false,

)
Expand Down Expand Up @@ -373,7 +373,7 @@ public static function dismiss_nps_survey_panel( $request ) {
if ( ! wp_verify_nonce( sanitize_text_field( (string) $nonce ), 'wp_rest' ) ) {
wp_send_json_error(
array(
'data' => __( 'Nonce verification failed.', 'nps-survey' ),
'data' => __( 'Nonce verification failed.', 'nps-survey', 'header-footer-elementor' ),
'status' => false,

)
Expand Down
Loading

0 comments on commit fa5472b

Please sign in to comment.