| @@ -44,9 +44,9 @@ | ||
| 44 | 44 | */ |
| 45 | 45 | protected function import() { |
| 46 | 46 | // Query for all the posts that have an _seop_settings meta set. |
| 47 | 47 | $query_posts = new WP_Query( 'post_type=any&meta_key=_seop_settings&order=ASC&fields=ids&nopaging=true' ); |
| 48 | - foreach ( $query_posts->posts as $key => $post_id ) { | |
| 48 | + foreach ( $query_posts->posts as $post_id ) { | |
| 49 | 49 | $this->import_post_focus_keywords( $post_id ); |
| 50 | 50 | $this->import_seopressor_post_settings( $post_id ); |
| 51 | 51 | } |
| 52 | 52 | |