Network was moved to src

update all function calls to use class, insert use statements and remove require_once statements
This commit is contained in:
Adam Magness 2018-01-27 08:52:02 -05:00
parent e09e16fd56
commit ca3c45101e
19 changed files with 76 additions and 71 deletions

View file

@ -313,10 +313,9 @@ EOT;
logger('wppost: data: ' . $xml, LOGGER_DATA);
if($wp_blog !== 'test') {
$x = post_url($wp_blog,$xml);
if ($wp_blog !== 'test') {
$x = Network::postURL($wp_blog, $xml);
}
logger('posted to wordpress: ' . (($x) ? $x : ''), LOGGER_DEBUG);
}
}