HTML validity fixes, props hakre, fixes #9432
git-svn-id: http://svn.automattic.com/wordpress/trunk@11375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4dfedcc8ff
commit
5310130057
|
@ -525,7 +525,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
|
|||
$comment_post_url = get_edit_post_link( $comment->comment_post_ID );
|
||||
$comment_post_title = strip_tags(get_the_title( $comment->comment_post_ID ));
|
||||
$comment_post_link = "<a href='$comment_post_url'>$comment_post_title</a>";
|
||||
$comment_link = '<a class="comment-link" href="' . get_comment_link() . '">#</a>';
|
||||
$comment_link = '<a class="comment-link" href="' . clean_url(get_comment_link()) . '">#</a>';
|
||||
|
||||
$delete_url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "delete-comment_$comment->comment_ID" ) );
|
||||
$approve_url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "approve-comment_$comment->comment_ID" ) );
|
||||
|
|
|
@ -1370,6 +1370,7 @@ tinyMCEPreInit = {
|
|||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
<?php if ( $ext_plugins ) echo "$ext_plugins\n"; ?>
|
||||
<?php if ( $concatenate_scripts ) { ?>
|
||||
tinyMCEPreInit.go();
|
||||
|
@ -1377,6 +1378,7 @@ tinyMCEPreInit.go();
|
|||
(function(){var t=tinyMCEPreInit,sl=tinymce.ScriptLoader,ln=t.mceInit.language,th=t.mceInit.theme,pl=t.mceInit.plugins;sl.markDone(t.base+'/langs/'+ln+'.js');sl.markDone(t.base+'/themes/'+th+'/langs/'+ln+'.js');sl.markDone(t.base+'/themes/'+th+'/langs/'+ln+'_dlg.js');tinymce.each(pl.split(','),function(n){if(n&&n.charAt(0)!='-'){sl.markDone(t.base+'/plugins/'+n+'/langs/'+ln+'.js');sl.markDone(t.base+'/plugins/'+n+'/langs/'+ln+'_dlg.js');}});})();
|
||||
<?php } ?>
|
||||
tinyMCE.init(tinyMCEPreInit.mceInit);
|
||||
/* ]]> */
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue