| @@ -50,9 +50,9 @@ | ||
| 50 | 50 | return; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | // Enqueue JS. |
| 54 | - wp_enqueue_script( 'convertkit-admin-quick-edit', CONVERTKIT_PLUGIN_URL . 'resources/backend/js/quick-edit.js', array( 'jquery' ), CONVERTKIT_PLUGIN_VERSION, true ); | |
| 54 | + wp_enqueue_script( 'convertkit-admin-quick-edit', CONVERTKIT_PLUGIN_URL . 'resources/backend/js/quick-edit.js', array(), CONVERTKIT_PLUGIN_VERSION, true ); | |
| 55 | 55 | |
| 56 | 56 | // Enqueue CSS. |
| 57 | 57 | wp_enqueue_style( 'convertkit-admin-bulk-quick-edit', CONVERTKIT_PLUGIN_URL . 'resources/backend/css/bulk-quick-edit.css', array(), CONVERTKIT_PLUGIN_VERSION ); |
| 58 | 58 | |
| @@ -105,9 +105,9 @@ | ||
| 105 | 105 | public function quick_edit_fields() { |
| 106 | 106 | |
| 107 | 107 | // Don't output Quick Edit fields if the API settings have not been defined. |
| 108 | 108 | $settings = new ConvertKit_Settings(); |
| 109 | - if ( ! $settings->has_api_key_and_secret() ) { | |
| 109 | + if ( ! $settings->has_access_and_refresh_token() ) { | |
| 110 | 110 | return; |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | // Initialize Restrict Content Settings class. |