We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64c251b commit 5cb0799Copy full SHA for 5cb0799
plugin/init.php
@@ -49,13 +49,12 @@ function wpcloud_get_api_key(): string {
49
50
$api_key = apply_filters( 'wpcloud_api_key', $api_key );
51
52
- if ( ! empty( $api_key ) ) {
+ if ( $api_key ) {
53
return $api_key;
54
}
55
-
56
// Else check the local options.
57
- $options = get_option( 'wpcloud_options' ) ?? array();
58
- return $options['wpcloud_api_key'] ?? '';
+ $settings = get_option( 'wpcloud_settings', array() );
+ return $settings['wpcloud_api_key'] ?? '';
59
60
61
/**
plugin/wpcloud-station.php
@@ -7,7 +7,7 @@
7
* Author URI: https://wp.cloud/
8
* Text Domain: wpcloud
9
* Domain Path: /languages
10
- * Version: 1.0.0
+ * Version: 1.0.0-beta.1
11
*
12
* @package wpcloud-station
13
*/
0 commit comments