Plugin Directory

Changeset 1609017


Ignore:
Timestamp:
03/06/2017 09:15:28 PM (9 years ago)
Author:
pushpress
Message:

taggnig 1.5.15a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pushpress-integration/tags/1.5.15/inc/wp_pushpress_model.php

    r1608878 r1609017  
    1010
    1111
     12        $pushpressApiKey = get_option('wp-pushpress-integration-key');               
    1213        try {
    1314            if( !$client = get_transient( 'pp_client_info' ) ){
     15                PushpressApi::setApiKey($pushpressApiKey);
     16                PushpressApi::setHost( PUSHPRESS_HOST );
     17                PushpressApi::setApiVersion( PUSHPRESS_VERSION );
    1418                $client = Pushpress_Client::retrieve('self');
    1519                set_transient( 'pp_client_info', $client, 300 ); // 5m cache   
Note: See TracChangeset for help on using the changeset viewer.