Ticket #9432: 9432-package.patch
File 9432-package.patch, 1.9 KB (added by , 16 years ago) |
---|
-
wp-admin/includes/dashboard.php
525 525 $comment_post_url = get_edit_post_link( $comment->comment_post_ID ); 526 526 $comment_post_title = get_the_title( $comment->comment_post_ID ); 527 527 $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>'; 529 529 530 530 $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" ) ); 531 531 $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
1370 1370 ?> 1371 1371 1372 1372 <script type="text/javascript"> 1373 /* <![CDATA[ */ 1373 1374 <?php if ( $ext_plugins ) echo "$ext_plugins\n"; ?> 1374 1375 <?php if ( $concatenate_scripts ) { ?> 1375 1376 tinyMCEPreInit.go(); … … 1377 1378 (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');}});})(); 1378 1379 <?php } ?> 1379 1380 tinyMCE.init(tinyMCEPreInit.mceInit); 1381 /* ]]> */ 1380 1382 </script> 1381 1383 <?php 1382 1384 }