Changeset 41887 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 10/17/2017 08:14:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r41684 r41887 1737 1737 if ( 'private' == $post->post_status && 'private' != $post_status ) 1738 1738 $post_states['private'] = __('Private'); 1739 if ( 'draft' == $post->post_status && 'draft' != $post_status ) 1740 $post_states['draft'] = __('Draft'); 1739 if ( 'draft' === $post->post_status ) { 1740 if ( get_post_meta( $post->ID, '_customize_changeset_uuid', true ) ) { 1741 $post_states[] = __( 'Customization Draft' ); 1742 } elseif ( 'draft' !== $post_status ) { 1743 $post_states['draft'] = __( 'Draft' ); 1744 } 1745 } elseif ( 'trash' === $post->post_status && get_post_meta( $post->ID, '_customize_changeset_uuid', true ) ) { 1746 $post_states[] = __( 'Customization Draft' ); 1747 } 1741 1748 if ( 'pending' == $post->post_status && 'pending' != $post_status ) 1742 1749 $post_states['pending'] = _x('Pending', 'post status');
Note: See TracChangeset
for help on using the changeset viewer.