Skip to content
Snippets Groups Projects
Commit 24e3eb02 authored by Mohammad Jangda's avatar Mohammad Jangda
Browse files

rm var_dump

parent a75c346e
Branches
Tags
No related merge requests found
...@@ -12,7 +12,7 @@ class Syndication_CLI_Command extends WP_CLI_Command { ...@@ -12,7 +12,7 @@ class Syndication_CLI_Command extends WP_CLI_Command {
$site_id = intval( $assoc_args['site_id'] ); $site_id = intval( $assoc_args['site_id'] );
$site = get_post( $site_id ); $site = get_post( $site_id );
var_dump( $site_id, $site );
if ( ! $site || 'syn_site' !== $site->post_type ) if ( ! $site || 'syn_site' !== $site->post_type )
WP_CLI::error( "Please select a valid site." ); WP_CLI::error( "Please select a valid site." );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment