Make WordPress Core

Ticket #24405: 24405.2.patch

File 24405.2.patch, 596 bytes (added by DrewAPicture, 12 years ago)
  • wp-includes/post-template.php

     
    14371437                $rows .= "\t<li>" . wp_post_revision_title_expanded( $revision ) . "</li>\n";
    14381438        }
    14391439
    1440         echo "<ul class='post-revisions'>\n";
     1440        echo "<div class='hide-if-js'><p>" . __( 'JavaScript must be enabled to use this feature.' ) . "</p></div>\n";
     1441
     1442        echo "<ul class='post-revisions hide-if-no-js'>\n";
    14411443        echo $rows;
    14421444
    14431445        // if the post was previously restored from a revision