Skip to content

Commit

Permalink
Fix issues found by "Plugin Check"
Browse files Browse the repository at this point in the history
  • Loading branch information
nerijuszaniauskas committed Dec 3, 2024
1 parent a516295 commit c251605
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions omnisend/class-omnisend-core-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Omnisend plugin
*
* Plugin Name: Omnisend Email Marketing
* Plugin Name: Newsletters, Email Marketing, SMS and Popups by Omnisend
* Description: Omnisend main plugin that enables integration with Omnisend.
* Version: 1.6.1
* Author: Omnisend
Expand Down Expand Up @@ -85,7 +85,7 @@ function ( $user_login, $user ) {

public static function omnisend_app_market() {
if ( ! current_user_can( 'manage_options' ) ) {
wp_die( esc_html__( 'You do not have sufficient permissions to access this page.' ) );
wp_die( esc_html__( 'You do not have sufficient permissions to access this page.', 'omnisend' ) );
}

?>
Expand Down
2 changes: 1 addition & 1 deletion omnisend/includes/Internal/class-connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Connection {

public static function display(): void {
if ( ! current_user_can( 'manage_options' ) ) {
wp_die( esc_html__( 'You do not have sufficient permissions to access this page.' ) );
wp_die( esc_html__( 'You do not have sufficient permissions to access this page.', 'omnisend' ) );
}

Options::set_landing_page_visited();
Expand Down

0 comments on commit c251605

Please sign in to comment.