Plugin Directory

Changeset 1002262


Ignore:
Timestamp:
10/06/2014 02:05:11 AM (11 years ago)
Author:
captaintheme
Message:

notice fix

Location:
wp-done-this
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-done-this/tags/1.0.0/includes/class-wp-done-this.php

    r1002256 r1002262  
    176176
    177177                            // Transient for API owner
    178                             if ( false === ( $owner = get_transient( 'wpdonethis_owner' ) ) ) {
     178                            if ( false === ( $owner = get_transient( 'wpdonethis_owner' ) ) && $api_key ) {
    179179
    180180                                $owner  = $wp_done_this_api->owner( $api_key, $team_slug );
  • wp-done-this/trunk/includes/class-wp-done-this.php

    r1002256 r1002262  
    176176
    177177                            // Transient for API owner
    178                             if ( false === ( $owner = get_transient( 'wpdonethis_owner' ) ) ) {
     178                            if ( false === ( $owner = get_transient( 'wpdonethis_owner' ) ) && $api_key ) {
    179179
    180180                                $owner  = $wp_done_this_api->owner( $api_key, $team_slug );
Note: See TracChangeset for help on using the changeset viewer.