mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Revisions improvements
* Corrected routing behavior * Simplified CSS for tooltips * Compare two mode for RTL * Support for posts without titles props adamsilverstein, ocean90. see #24425. git-svn-id: https://develop.svn.wordpress.org/trunk@24578 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -55,7 +55,7 @@ default :
|
||||
break;
|
||||
}
|
||||
|
||||
$post_title = '<a href="' . get_edit_post_link() . '">' . get_the_title() . '</a>';
|
||||
$post_title = '<a href="' . get_edit_post_link() . '">' . _draft_or_post_title() . '</a>';
|
||||
$h2 = sprintf( __( 'Compare Revisions of “%1$s”' ), $post_title );
|
||||
$title = __( 'Revisions' );
|
||||
|
||||
@@ -127,14 +127,14 @@ require_once( './admin-header.php' );
|
||||
</script>
|
||||
|
||||
<script id="tmpl-revisions-tooltip" type="text/html">
|
||||
<div class="ui-slider-tooltip ui-widget-content ui-corner-all ">
|
||||
<div class="revisions-tooltip-content">
|
||||
<# if ( 'undefined' !== typeof data && 'undefined' !== typeof data.author ) { #>
|
||||
{{{ data.author.avatar }}} {{{ data.author.name }}},
|
||||
{{{ data.timeAgo }}} <?php _e( 'ago' ); ?>
|
||||
({{{ data.dateShort }}})
|
||||
<# } #>
|
||||
</div>
|
||||
<div class="arrow"></div>
|
||||
<div class="revisions-tooltip-arrow"></div>
|
||||
</script>
|
||||
|
||||
<script id="tmpl-revisions-checkbox" type="text/html">
|
||||
|
||||
Reference in New Issue
Block a user