WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/06/2013 10:48:14 AM (8 years ago)
Author:
ocean90
Message:

Revisions improvements

  • Corrected routing behavior
  • Simplified CSS for tooltips
  • Compare two mode for RTL
  • Support for posts without titles

props adamsilverstein, ocean90. see #24425.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/revision.php

    r24574 r24578  
    5656    }
    5757
    58     $post_title = '<a href="' . get_edit_post_link() . '">' . get_the_title() . '</a>';
     58    $post_title = '<a href="' . get_edit_post_link() . '">' . _draft_or_post_title() . '</a>';
    5959    $h2 = sprintf( __( 'Compare Revisions of &#8220;%1$s&#8221;' ), $post_title );
    6060    $title = __( 'Revisions' );
     
    128128
    129129<script id="tmpl-revisions-tooltip" type="text/html">
    130     <div class="ui-slider-tooltip ui-widget-content ui-corner-all ">
     130    <div class="revisions-tooltip-content">
    131131    <# if ( 'undefined' !== typeof data && 'undefined' !== typeof data.author ) { #>
    132132            {{{ data.author.avatar }}} {{{ data.author.name }}},
     
    135135    <# } #>
    136136    </div>
    137     <div class="arrow"></div>
     137    <div class="revisions-tooltip-arrow"></div>
    138138</script>
    139139
Note: See TracChangeset for help on using the changeset viewer.