Plugin Directory

Changeset 382173

Timestamp:
05/07/2011 03:01:39 PM (13 years ago)
Author:
alternatekev
Message:

removing persistent error notice for no login information per @jane's request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • polldaddy/trunk/polldaddy.php

    r381925 r382173  
    9090            add_action( "load-$hook", array( &$this, 'api_key_page_load' ) );
    9191
    92             if ( ( empty( $_GET['page'] ) || 'polls' != $_GET['page'] ) && ( empty( $_GET['page'] ) || 'ratings' != $_GET['page'] ) )
    93                 add_action( 'admin_notices', create_function( '', 'echo "<div class=\"error\" id=\"polldaddy-error\"><p>" . sprintf( "<strong>Hey there!</strong> For Polldaddy Polls to work, we need you to <a href=\"%s\">enter your Polldaddy.com account details</a>.", "admin.php?page=polls" ) . "</p></div>";' ) );
     92            if ( ( empty( $_GET['page'] ) || 'polls' != $_GET['page'] ) && ( empty( $_GET['page'] ) || 'ratings' != $_GET['page'] ) )
     93              add_action( 'admin_notices', create_function( '', 'echo "<div class=\"error\" id=\"polldaddy-error\"><p>" . sprintf( "<strong>Hey there!</strong> For Polldaddy Polls to work, we need you to <a href=\"%s\">enter your Polldaddy.com account details</a>.", "admin.php?page=polls" ) . "</p></div>";' ) );
    9494
    9595            return false;
Note: See TracChangeset for help on using the changeset viewer.