is_wpcom_simple()
|| (
( new Connection_Manager() )->is_connected()
&& ! ( new Status() )->is_offline_mode()
)
) {
$blog_id = Connection_Manager::get_site_id( true ); // Silence since we're not wanting to handle the error state.
if ( ! $blog_id ) {
return;
}
printf(
'%d',
(int) $blog_id
);
}
}
/**
* Output feed item identifier based on current post ID.
*
* @return void
*/
function jetpack_wpcomreader_post_id() {
$id = get_the_ID();
if ( ! $id ) {
return;
}
printf(
'%d',
(int) $id
);
}