We are in the process of upgrading our WordPress install from 3.1.4 -> 3.6.1, and updated Akismet from 2.5.6 to 2.5.9 in the process.
We run a large multisite install, and as a result are relying on the WPCOM_API_KEY constant:
/** If you hardcode a WP.com API key here, all key config screens will be hidden */ if ( defined('WPCOM_API_KEY') ) $wpcom_api_key = constant('WPCOM_API_KEY'); else $wpcom_api_key = '';
It appears the comment above is no longer valid. We're noticing after this upgrade that the Key Configuration page is still displaying the "Akismet API Key" text field with an empty value.
This is caused by new conditional logic within
akismet_conf(), and a mixture of methods to retrieve the API key --
get_option( 'wordpress_api_key' ) vs.
Any chance this function can be revisited? We don't want site admin seeing that field.