| @@ -50,9 +50,9 @@ | ||
| 50 | 50 | return; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | // Enqueue JS. |
| 54 | - wp_enqueue_script( 'convertkit-bulk-edit', CONVERTKIT_PLUGIN_URL . 'resources/backend/js/bulk-edit.js', array( 'jquery' ), CONVERTKIT_PLUGIN_VERSION, true ); | |
| 54 | + wp_enqueue_script( 'convertkit-bulk-edit', CONVERTKIT_PLUGIN_URL . 'resources/backend/js/bulk-edit.js', array(), CONVERTKIT_PLUGIN_VERSION, true ); | |
| 55 | 55 | |
| 56 | 56 | // Output Bulk Edit fields in the footer of the Administration screen. |
| 57 | 57 | add_action( 'in_admin_footer', array( $this, 'bulk_edit_fields' ), 10 ); |
| 58 | 58 | |
| @@ -127,9 +127,9 @@ | ||
| 127 | 127 | public function bulk_edit_fields() { |
| 128 | 128 | |
| 129 | 129 | // Don't output Bulk Edit fields if the API settings have not been defined. |
| 130 | 130 | $settings = new ConvertKit_Settings(); |
| 131 | - if ( ! $settings->has_api_key_and_secret() ) { | |
| 131 | + if ( ! $settings->has_access_and_refresh_token() ) { | |
| 132 | 132 | return; |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | // Initialize Restrict Content Settings class. |