| @@ -601,9 +601,8 @@ | ||
| 601 | 601 | * |
| 602 | 602 | * @since 4.5.7 |
| 603 | 603 | * |
| 604 | 604 | * @param array $autocomplete_configuration Javascript Autocomplete Configuration. |
| 605 | - * @param string $post_type Post Type. | |
| 606 | 605 | */ |
| 607 | 606 | $autocomplete_configuration = apply_filters( $this->base->plugin->filter_name . '_admin_get_autocomplete_configuration', $autocomplete_configuration ); |
| 608 | 607 | |
| 609 | 608 | // Return. |
| @@ -943,11 +942,8 @@ | ||
| 943 | 942 | $organizations[ $account_id ]['channel_limit'], |
| 944 | 943 | $organizations[ $account_id ]['plan'], |
| 945 | 944 | array_keys( $profiles ) |
| 946 | 945 | ); |
| 947 | - | |
| 948 | - // Schedule the event to refresh this account's access token before it expires. | |
| 949 | - $this->base->get_class( 'cron' )->reschedule_refresh_token_event(); | |
| 950 | 946 | } else { |
| 951 | 947 | $this->base->get_class( 'settings' )->update_account_profile_ids( $account_id, array_keys( $profiles ) ); |
| 952 | 948 | } |
| 953 | 949 | |
| @@ -995,9 +991,9 @@ | ||
| 995 | 991 | * Helper method to save settings |
| 996 | 992 | * |
| 997 | 993 | * @since 3.0.0 |
| 998 | 994 | * |
| 999 | - * @return mixed WP_Error | bool | |
| 995 | + * @return mixed \WP_Error | bool | |
| 1000 | 996 | */ |
| 1001 | 997 | public function save_settings() { |
| 1002 | 998 | |
| 1003 | 999 | // Check if a POST request was made. |
| @@ -1120,9 +1116,9 @@ | ||
| 1120 | 1116 | * Returns the settings tab that the user has selected. |
| 1121 | 1117 | * |
| 1122 | 1118 | * @since 3.7.2 |
| 1123 | 1119 | * |
| 1124 | - * @param mixed $profiles API Profiles (false|WP_Error|array). | |
| 1120 | + * @param mixed $profiles API Profiles (false|\WP_Error|array). | |
| 1125 | 1121 | * @return string Tab |
| 1126 | 1122 | */ |
| 1127 | 1123 | private function get_tab( $profiles = false ) { |
| 1128 | 1124 | |