Skip to content

Commit

Permalink
The message that you must register or log in does not appear on the i…
Browse files Browse the repository at this point in the history
…loveIMG settings page
  • Loading branch information
teamcrombie committed Oct 8, 2024
1 parent 36478be commit c021ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/Ilove_Img_Wm_Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public function media_library_bulk_action() {
* This method is typically used to show notices in the WordPress dashboard and is called within the admin_init() method.
*/
public function show_notices() {
if ( ! Ilove_Img_Wm_Resources::is_loggued() ) {
if ( ! Ilove_Img_Wm_Resources::is_loggued() && get_current_screen()->parent_base !== 'iloveimg-admin-page' ) {
?>
<div class="notice notice-warning is-dismissible">
<p><strong>iLoveIMG</strong> - Please you need to be logged or registered. <a href="<?php echo esc_url( admin_url( 'admin.php?page=iloveimg-watermark-admin-page' ) ); ?>">Go to settings</a></p>
Expand Down

0 comments on commit c021ef6

Please sign in to comment.