mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 12:01:40 +00:00
Fix delete warnings for categories, link categories, tags and comments, fixes #9050
git-svn-id: https://develop.svn.wordpress.org/trunk@10522 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -37,6 +37,10 @@ setCommentsList = function() {
|
||||
settings.data._per_page = perPageInput.val();
|
||||
settings.data._page = pageInput.val();
|
||||
settings.data._url = document.location.href;
|
||||
|
||||
if ( 'undefined' != showNotice )
|
||||
return showNotice.warn() ? settings : false;
|
||||
|
||||
return settings;
|
||||
};
|
||||
|
||||
@@ -128,10 +132,6 @@ setCommentsList = function() {
|
||||
|
||||
};
|
||||
|
||||
$(document).ready(function(){
|
||||
setCommentsList();
|
||||
});
|
||||
|
||||
commentReply = {
|
||||
|
||||
init : function() {
|
||||
@@ -346,7 +346,9 @@ commentReply = {
|
||||
$(document).ready(function(){
|
||||
var make_hotkeys_redirect, edit_comment, toggle_all, make_bulk;
|
||||
|
||||
setCommentsList();
|
||||
commentReply.init();
|
||||
$('.delete a[class^="delete"]').click(function(){return false;});
|
||||
|
||||
if ( typeof QTags != 'undefined' )
|
||||
ed_reply = new QTags('ed_reply', 'replycontent', 'replycontainer', 'more');
|
||||
|
||||
Reference in New Issue
Block a user