all repos — keyring-reactions-importer @ 3238e90a5ca1cf86ff23d202a160b7f4236d9cea

left in the test post instead of the post collector
Peter Molnar hello@petermolnar.eu
Fri, 13 Mar 2015 12:08:36 +0000
commit

3238e90a5ca1cf86ff23d202a160b7f4236d9cea

parent

cebb68f750285b371faf65e017b81cd1b9183cbe

1 files changed, 1 insertions(+), 6 deletions(-)

jump to
M keyring-reactions-importer.phpkeyring-reactions-importer.php

@@ -847,9 +847,8 @@ }

/* * load this for test, in case you need it for a specific post only */ - $raw = array ( get_post( 8180 )); + //$raw = array ( get_post( 8180 )); - /* $args = array ( 'meta_key' => 'syndication_urls', 'post_type' => 'any',

@@ -857,10 +856,6 @@ 'posts_per_page' => -1,

'post_status' => 'publish', ); $raw = get_posts( $args ); - - */ - - foreach ( $raw as $p ) { $syndication_urls = get_post_meta ( $p->ID, 'syndication_urls', true );