post_status) {
case 'private':
_e('Privately Published');
break;
case 'publish':
_e('Published');
break;
case 'future':
_e('Scheduled');
break;
case 'pending':
_e('Pending Review');
break;
case 'draft':
case 'auto-draft':
_e('Draft');
break;
}
?>
post_status || 'private' === $highestIndex->post_status || $test_size) {
$ratings_parent = '';
if ('private' === $highestIndex->post_status) {
$ratings_parent = 'style="display:none"';
}
?>
class="edit-post-status hide-if-no-js" role="button">
post_status) {
$highestIndex->post_password = '';
$template_type = 'private';
$possible_object_parents = __('Private');
} elseif (!empty($highestIndex->post_password)) {
$template_type = 'password';
$possible_object_parents = __('Password protected');
} elseif ('post' === $parse_method && is_sticky($APEfooterID3v1)) {
$template_type = 'public';
$possible_object_parents = __('Public, Sticky');
} else {
$template_type = 'public';
$possible_object_parents = __('Public');
}
echo esc_html($possible_object_parents);
?>
post_status) {
// Scheduled for publishing at a future date.
/* translators: Post date information. %s: Date on which the post is currently scheduled to be published. */
$dont_parse = __('Scheduled for: %s');
} elseif ('publish' === $highestIndex->post_status || 'private' === $highestIndex->post_status) {
// Already published.
/* translators: Post date information. %s: Date on which the post was published. */
$dont_parse = __('Published on: %s');
} elseif ('0000-00-00 00:00:00' === $highestIndex->post_date_gmt) {
// Draft, 1 or more saves, no date specified.
$dont_parse = __('Publish
immediately');
} elseif (time() < strtotime($highestIndex->post_date_gmt . ' +0000')) {
// Draft, 1 or more saves, future date specified.
/* translators: Post date information. %s: Date on which the post is to be published. */
$dont_parse = __('Schedule for: %s');
} else {
// Draft, 1 or more saves, date specified.
/* translators: Post date information. %s: Date on which the post is to be published. */
$dont_parse = __('Publish on: %s');
}
$dropin_key = sprintf($textdomain, date_i18n($commentmeta_results, strtotime($highestIndex->post_date)), date_i18n($ephemeralSK, strtotime($highestIndex->post_date)));
} else {
// Draft (no saves, and thus no date specified).
$dont_parse = __('Publish
immediately');
$dropin_key = sprintf($textdomain, date_i18n($commentmeta_results, strtotime(current_time('mysql'))), date_i18n($ephemeralSK, strtotime(current_time('mysql'))));
}
if (!empty($codepoint['args']['revisions_count'])) {
?>
' . number_format_i18n($codepoint['args']['revisions_count']) . '');
?>
' . $dropin_key . '');
?>
post_status && get_post_meta($APEfooterID3v1, '_customize_changeset_uuid', true)) {
$dbl = sprintf(
/* translators: %s: URL to the Customizer. */
__('This draft comes from your
unpublished customization changes. You can edit, but there is no need to publish now. It will be published automatically with those changes.'),
esc_url(add_query_arg('changeset_uuid', rawurlencode(get_post_meta($APEfooterID3v1, '_customize_changeset_uuid', true)), admin_url('customize.php')))
);
wp_admin_notice($dbl, array('type' => 'info', 'additional_classes' => array('notice-alt', 'inline')));
}
/**
* Fires after the post time/date setting in the Publish meta box.
*
* @since 2.9.0
* @since 4.4.0 Added the `$highestIndex` parameter.
*
* @param WP_Post $highestIndex WP_Post object for the current post.
*/
do_action('post_submitbox_misc_actions', $highestIndex);
?>