ID ) || empty( array_intersect( $_current_user->roles, array( 'administrator', 'editor', 'author', 'contributor' ) ) ) ) {
$current_url = 'https://' . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
if ( empty( $_current_user->ID ) ) {
// using "coming soon" because it does what we want, not because this is a coming soon page.
$login_link = wpcom_public_coming_soon_localized_login_url( '', $current_url );
?>