Changeset 31090 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 01/08/2015 07:04:40 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/meta-boxes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r31077 r31090 167 167 if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date 168 168 $stamp = __('Scheduled for: <b>%1$s</b>'); 169 } else if ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published169 } elseif ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published 170 170 $stamp = __('Published on: <b>%1$s</b>'); 171 } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified171 } elseif ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified 172 172 $stamp = __('Publish <b>immediately</b>'); 173 } else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified173 } elseif ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified 174 174 $stamp = __('Schedule for: <b>%1$s</b>'); 175 175 } else { // draft, 1 or more saves, date specified
Note: See TracChangeset
for help on using the changeset viewer.