'
. \esc_html(
/* translators: %s: Number of posts copied. */
\_n(
'%s item copied.',
'%s items copied.',
$copied_posts,
'duplicate-post'
)
) . '
',
\esc_html( $copied_posts )
);
}
}
/**
* Shows a notice after the Rewrite & Republish bulk action has succeeded.
*
* @return void
*/
public function add_bulk_rewrite_and_republish_admin_notice() {
if ( ! empty( $_REQUEST['bulk_rewriting'] ) ) {
$copied_posts = \intval( $_REQUEST['bulk_rewriting'] );
\printf(
''
. \esc_html(
/* translators: %s: Number of posts copied. */
\_n(
'%s post duplicated. You can now start rewriting your post in the duplicate of the original post. Once you choose to republish it your changes will be merged back into the original post.',
'%s posts duplicated. You can now start rewriting your posts in the duplicates of the original posts. Once you choose to republish them your changes will be merged back into the original post.',
$copied_posts,
'duplicate-post'
)
) . '
',
\esc_html( $copied_posts )
);
}
}
}