Plugin Directory

Changeset 909026

Timestamp:
05/06/2014 03:07:54 PM (10 years ago)
Author:
eoigal
Message:

add filter to get_api_key to allow an API key other than the one saved or the WPCOM_API_KEY define to be used in API calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/class.akismet.php

    r907986 r909026  
    4949
    5050    public static function get_api_key() {
    51         return defined('WPCOM_API_KEY') ? constant('WPCOM_API_KEY') : get_option('wordpress_api_key');
     51        return );
    5252    }
    5353
Note: See TracChangeset for help on using the changeset viewer.