Changeset 44574 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 01/12/2019 06:40:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r44540 r44574 1733 1733 <a class="button<?php echo $tab_last; ?>" href="<?php echo esc_url( $preview_link ); ?>"><?php _e( 'Preview' ); ?></a> 1734 1734 <?php 1735 }1735 } 1736 1736 1737 1737 // Allow plugins to prevent some users overriding the post lock 1738 if ( $override ) {1739 ?>1738 if ( $override ) { 1739 ?> 1740 1740 <a class="button button-primary wp-tab-last" href="<?php echo esc_url( add_query_arg( 'get-post-lock', '1', wp_nonce_url( get_edit_post_link( $post->ID, 'url' ), 'lock-post_' . $post->ID ) ) ); ?>"><?php _e( 'Take over' ); ?></a> 1741 1741 <?php 1742 }1743 1744 ?>1742 } 1743 1744 ?> 1745 1745 </p> 1746 1746 </div>
Note: See TracChangeset
for help on using the changeset viewer.