ID ) {
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
+ /* translators: Post date information. 1: Date on which the post is currently scheduled to be published */
$stamp = __('Scheduled for: %1$s');
- } else if ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published
+ } elseif ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published
+ /* translators: Post date information. 1: Date on which the post was published */
$stamp = __('Published on: %1$s');
- } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
+ } elseif ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
$stamp = __('Publish immediately');
- } else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
+ } elseif ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
+ /* translators: Post date information. 1: Date on which the post is to be published */
$stamp = __('Schedule for: %1$s');
} else { // draft, 1 or more saves, date specified
+ /* translators: Post date information. 1: Date on which the post is to be published */
$stamp = __('Publish on: %1$s');
}
$date = date_i18n( $datef, strtotime( $post->post_date ) );
@@ -175,22 +195,52 @@ if ( 0 != $post->ID ) {
$date = date_i18n( $datef, strtotime( current_time('mysql') ) );
}
+if ( ! empty( $args['args']['revisions_count'] ) ) : ?>
+
"; // Allows for an empty term set to be sent. 0 is an invalid Term ID and will be ignored by empty() checks.
- ?>
-
- ID, array( 'taxonomy' => $taxonomy, 'popular_cats' => $popular_ids ) ) ?>
+ $name = ( $tax_name == 'category' ) ? 'post_category' : 'tax_input[' . $tax_name . ']';
+ echo ""; // Allows for an empty term set to be sent. 0 is an invalid Term ID and will be ignored by empty() checks.
+ ?>
+