WordPress.org

Make WordPress Core

Ticket #9432: 9432-package.patch

File 9432-package.patch, 1.9 KB (added by hakre, 6 years ago)

Put both new patches into one.

  • wp-admin/includes/dashboard.php

     
    525525        $comment_post_url = get_edit_post_link( $comment->comment_post_ID ); 
    526526        $comment_post_title = get_the_title( $comment->comment_post_ID ); 
    527527        $comment_post_link = "<a href='$comment_post_url'>$comment_post_title</a>"; 
    528         $comment_link = '<a class="comment-link" href="' . get_comment_link() . '">#</a>'; 
     528        $comment_link = '<a class="comment-link" href="' . clean_url(get_comment_link()) . '">#</a>'; 
    529529 
    530530        $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" ) ); 
    531531        $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" ) ); 
  • wp-admin/includes/post.php

     
    13701370?> 
    13711371 
    13721372<script type="text/javascript"> 
     1373/* <![CDATA[ */ 
    13731374<?php if ( $ext_plugins ) echo "$ext_plugins\n"; ?> 
    13741375<?php if ( $concatenate_scripts ) { ?> 
    13751376tinyMCEPreInit.go(); 
     
    13771378(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');}});})(); 
    13781379<?php } ?> 
    13791380tinyMCE.init(tinyMCEPreInit.mceInit); 
     1381/* ]]> */ 
    13801382</script> 
    13811383<?php 
    13821384}