Notification Emails Not Send After Comment Approval in WordPress 2.5 and 2.5.1 अधिसूचना नहीं ईमेल टिप्पणी स्वीकृति WordPress 2,5 और 2.5.1 के बाद भेजें

In में WordPress 2.5 WordPress 2.5 and और Wordpress 2.5.1 WordPress 2.5.1 , when the option is set to email post author whenever a comment is posted (comments_notify = 1), no notification email is generated or sent to notify the post author if the comment is held in moderation queue and is only approved later via edit-comments.php. , जब विकल्प पोस्ट लेखक ईमेल करने के लिए सेट कर दिया जाता है जब एक टिप्पणी () = 1 comments_notify, नहीं अधिसूचना ईमेल उत्पन्न होता है या पद लेखक अगर टिप्पणी मॉडरेशन लाइन में आयोजित किया जाता है और केवल बाद के माध्यम से संपादित को मंजूरी दे दी है टिप्पणियों को सूचित करने के लिए भेजा पोस्ट है . PHP.

Prior to WordPress 2.5, an email is sent on approval to post author even if a comment is required to be approved and not posted instantly. पहले WordPress 2.5 करने के लिए, एक ईमेल स्वीकृति लेखक भी अगर एक टिप्पणी पोस्ट करने के लिए आवश्यक है पर भेजी जाती है और स्वीकृत होना नहीं तुरंत पोस्ट. However, notification that a comment is held for moderation and require administrator’s action to approve, delete or spam the message is working properly, with email sends to administrator’s email address (admin_email), not post author. हालांकि, सूचना है कि एक टिप्पणी मॉडरेशन के लिए आयोजित की है और प्रशासक की कार्रवाई को स्वीकार करने के लिए नष्ट करें, या संदेश स्पैम की आवश्यकता होती है ठीक से, ईमेल के साथ काम कर रहा है व्यवस्थापक की ईमेल पता (admin_email), नहीं करने के लिए लेखक पोस्ट भेजता है.

It’sa bug that has been introduced in WordPress 2.5, and slips into WordPress 2.5.1 when moderation.php functionality was moved into edit-comments.php. It'sa बग कि WordPress 2.5 में शुरू किया गया है और WordPress 2.5.1 में स्लिप्स जब moderation.php कार्यक्षमता को संपादित-comments.php में ले जाया गया था. The bug will probably be fixed in WordPress 2.5.2 release. यह बग शायद WordPress 2.5.2 रिलीज में तय किया जाएगा. If you can’t wait, simply edit wp-includes/comment.php on WordPress blog directory on web server, and add the following lines of code: यदि आप इंतज़ार नहीं कर सकता, बस वेब सर्वर पर WordPress ब्लॉग निर्देशिका पर, wp-includes/comment.php संपादित करें और कोड के निम्नलिखित पंक्तियाँ जोड़ें:

Before: इससे पहले:

break;
case 'approve':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='1' WHERE comment_ID = %d LIMIT 1", $comment_id);
break;
case 'spam':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='spam' WHERE comment_ID = %d LIMIT 1", $comment_id);

break;
case 'approve':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='1' WHERE comment_ID = %d LIMIT 1", $comment_id);
break;
case 'spam':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='spam' WHERE comment_ID = %d LIMIT 1", $comment_id);

break;
case 'approve':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='1' WHERE comment_ID = %d LIMIT 1", $comment_id);
break;
case 'spam':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='spam' WHERE comment_ID = %d LIMIT 1", $comment_id);

After: के बाद:

break;
case 'approve':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='1' WHERE comment_ID = %d LIMIT 1", $comment_id);
if ( get_option( 'comments_notify' ) == true ) {
wp_notify_postauthor( $comment );
}
break;
case 'spam':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='spam' WHERE comment_ID = %d LIMIT 1", $comment_id);

break;
case 'approve':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='1' WHERE comment_ID = %d LIMIT 1", $comment_id);
if ( get_option( 'comments_notify' ) == true ) {
wp_notify_postauthor( $comment );
}
break;
case 'spam':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='spam' WHERE comment_ID = %d LIMIT 1", $comment_id);

break;
case 'approve':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='1' WHERE comment_ID = %d LIMIT 1", $comment_id);
if ( get_option( 'comments_notify' ) == true ) {
wp_notify_postauthor( $comment );
}
break;
case 'spam':
$query = $wpdb->prepare("UPDATE $wpdb->comments SET comment_approved='spam' WHERE comment_ID = %d LIMIT 1", $comment_id);

IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. महत्वपूर्ण: तुम एक यंत्र के रूप में "वारंटी के बिना होता है, जो" प्रदान की जाती है पृष्ठ अनुवाद पढ़ रहे हैं. Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible. मानव अनुवाद के विपरीत, मशीन अनुवाद, जिससे अक्सर गलत और निम्न गुणवत्ता पाठ जो गुमराह कर रहे हैं और समझ से बाहर उपज का व्याकरण, अर्थ विज्ञान, वाक्यविन्यास, प्राकृतिक भाषा के मुहावरे को समझ नहीं है. Thus, please refer to इस प्रकार, कृपया देखें original English article मूल अंग्रेजी लेख when in doubt. जब संदेह में है.



11 Responses to “Notification Emails Not Send After Comment Approval in WordPress 2.5 and 2.5.1” 11 उत्तर करने के लिए "अधिसूचना नहीं ईमेल टिप्पणी स्वीकृति WordPress 2,5 और 2.5.1 के बाद में भेजें"

  1. Rob Layton रोब Layton
    March 24th, 2009 02:34 मार्च, 24 2009 02:34
    11 11

    In case this doesn’t work, or you need details on the the cPanel method, I wrote it all out at यह काम नहीं करता है मामला है, या आप को cPanel पद्धति पर विस्तृत जानकारी की जरूरत है, मैं सब में यह लिखा है http://www.roblayton.net/archive/wordpress-not-sending-emails-anymore-solved/ http://www.roblayton.net/archive/wordpress-not-sending-emails-anymore-solved/

    Good luck! सौभाग्य!

  2. mike माइक
    January 18th, 2009 19:13 जनवरी, 18 2009 19:13
    10 10

    Ldn2m0 hi! Ldn2m0 हाय! how you doin? तुम कैसे हो?

  3. Marcin Marcin
    October 15th, 2008 07:26 अक्टूबर, 15 2008 07:26
    9 9

    In 2.6.1 it should look as this: 2.6.1 में यह इस रूप में दिखना चाहिए:

    case 'approve':
    $query = $wpdb->prepare("UPDATE wpdb->comments SET comment_approved='1' WHERE comment_ID = %d LIMIT 1", $comment_id);
    if ( get_option('comments_notify') == true ) {
    $comment = get_comment($comment_id);
    wp_notify_postauthor($comment_id, $comment->comment_type);
    }

    case 'approve':
    $query = $wpdb->prepare("UPDATE wpdb->comments SET comment_approved='1' WHERE comment_ID = %d LIMIT 1", $comment_id);
    if ( get_option('comments_notify') == true ) {
    $comment = get_comment($comment_id);
    wp_notify_postauthor($comment_id, $comment->comment_type);
    }
    ==
    case 'approve':
    $query = $wpdb->prepare("UPDATE wpdb->comments SET comment_approved='1' WHERE comment_ID = %d LIMIT 1", $comment_id);
    if ( get_option('comments_notify') == true ) {
    $comment = get_comment($comment_id);
    wp_notify_postauthor($comment_id, $comment->comment_type);
    }

    The only change is adding: एकमात्र परिवर्तन जोड़ने है:

    == true

  4. ordersomabuyg ordersomabuyg
    September 22nd, 2008 05:42 22 सितंबर, 2008 05:42
    8 8

    Wow Cool ! वाह वाह!
    Super Man सुपर मैन
    Nice Site अच्छा साइट

  5. Chris क्रिस
    September 4th, 2008 04:15 सितंबर, 4. 2008 04:15
    7 7

    This WPMU behavior was driving me a bit nuts. यह WPMU व्यवहार मुझे थोड़ा पागल कर रही थी. Much thanks for sharing your solution! अपने समाधान बांटने के लिए बहुत धन्यवाद!

  6. paul पॉल
    July 11th, 2008 17:30 जुलाई, 11 वीं 2008 17:30
    6 6

    Thanks for the post ‘admin’ - I help manage a (non?)corporate blog, and my boss stopped getting email notifications since upgrading to 2.5.x - I do believe your suggested patch has fixed it. पद 'के लिए धन्यवाद व्यवस्थापक' - मैं एक (गैर प्रबंधन मदद?) कॉर्पोरेट ब्लॉग है, और मेरे मालिक 2.5.x करने के लिए उन्नयन के बाद से ईमेल सूचनाएँ मिल रोक - मैं अपने सुझाव दिया पैच यह तय हो गया है पर विश्वास करते हैं.

    So, again thanks very much! तो, फिर से बहुत बहुत धन्यवाद!

  7. Guillermo Scharffenorth गिलर्मो Scharffenorth
    June 27th, 2008 20:49 जून, 27 2008 20:49
    5 5

    Hello, हैलो,

    Tried it. यह कोशिश की थी. It did not work. यह काम नहीं किया. Thanks anyways. धन्यवाद वैसे भी.

  8. admin व्यवस्थापक
    June 20th, 2008 12:28 जून, 20 2008 12:28
    4 4

    Try to just add in the additional lines (the difference). अभी अतिरिक्त लाइनों में जोड़ने की कोशिश करें (फर्क).

  9. Guillermo Scharffenorth गिलर्मो Scharffenorth
    June 20th, 2008 11:57 जून, 20 2008 11:57
    3 3

    Hi, नमस्ते,

    The code I posted is from 2.5.1. मैं पोस्ट कोड 2.5.1 से है. Do you think that replacing this code with the one you posted could fix this issue? क्या तुम्हें लगता है कि इस कोड की जगह को एक तुम इस मुद्दे को ठीक कर सकता था पोस्ट?

  10. admin व्यवस्थापक
    June 20th, 2008 11:53 जून, 20 2008 11:53
    2 2

    version 2.5. संस्करण 2.5.

  11. Guillermo Scharffenorth गिलर्मो Scharffenorth
    June 20th, 2008 11:29 जून, 20 2008 11:29
    1 1

    Hello, हैलो,

    The code you printed under ‘before’ is different in that the one in wp-includes/comment.php. तुम 'के अंतर्गत' से पहले छपी इस कोड में अलग है कि wp-includes/comment.php में एक. This is the code in comment.php: यह comment.php में कोड है:

    case 'approve':
    $query = "UPDATE $wpdb->comments SET comment_approved='1' WHERE comment_ID='$comment_id' LIMIT 1";
    break;
    case 'spam':
    $query = "UPDATE $wpdb->comments SET comment_approved='spam' WHERE comment_ID='$comment_id' LIMIT 1";
    सेट case 'approve':
    $query = "UPDATE $wpdb->comments SET comment_approved='1' WHERE comment_ID='$comment_id' LIMIT 1";
    break;
    case 'spam':
    $query = "UPDATE $wpdb->comments SET comment_approved='spam' WHERE comment_ID='$comment_id' LIMIT 1";

    Which version of WP did you get that code from? WP के कौन से संस्करण तुमसे कि कोड क्या मिला?

Leave a Reply एक उत्तर दें छोड़ दो

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> आप इन टैग्स: <a href="" का उपयोग कर सकते हैं title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <डेल datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. सुविधा को निष्क्रिय कर दिया गया है टिप्पणी करने के लिए सदस्यता लें. To receive notification of latest comments posted, subscribe to , पोस्ट नवीनतम टिप्पणी की सूचना प्राप्त करने के लिए की सदस्यता Tip and Trick Comments RSS feed टिप और छल टिप्पणियाँ आरएसएस फ़ीड or या register to receive रजिस्टर प्राप्त करने के लिए new comments in daily email digest. दैनिक ईमेल में नई टिप्पणियाँ डाइजेस्ट.
Custom Search

Incoming Search Terms for the Article के लिए खोज नियम आने के अनुच्छेद

wordpress comment notification WordPress टिप्पणी अधिसूचना - -- wordpress not sending email ईमेल भेजने नहीं WordPress - -- wordpress email notification ईमेल सूचना WordPress - -- wordpress email not working WordPress ईमेल काम नहीं - -- wordpress WordPress - -- wordpress not sending emails ईमेल भेजने नहीं WordPress - -- comment notification wordpress टिप्पणी अधिसूचना WordPress - -- wordpress notification WordPress अधिसूचना - -- wordpress not sending mail मेल भेजने नहीं WordPress - -- wordpress comments notification WordPress टिप्पणी अधिसूचना - -- wordpress not emailing ईमेल नहीं WordPress - -- wordpress comment notification email WordPress टिप्पणी अधिसूचना ईमेल - -- wordpress comments_notify comments_notify WordPress - -- wordpress Email Notification not working काम ईमेल अधिसूचना नहीं WordPress - -- wordpress notify comments टिप्पणियाँ सूचित WordPress - -- $wpdb->prepare $ wpdb-> तैयार - -- Wordpress comment email notification WordPress ईमेल सूचना टिप्पणी - -- wordpress email notifications ईमेल सूचनाएँ WordPress - -- wordpress not sending notification अधिसूचना भेज नहीं WordPress - -- all सब - -- wordpress author comment notification WordPress लेखक टिप्पणी अधिसूचना - -- post notification wordpress पोस्ट अधिसूचना WordPress - -- wordpress email comment notification ईमेल टिप्पणी अधिसूचना WordPress - -- wordpress Comment notification emails WordPress टिप्पणी सूचना ईमेल - -- wordpress comment approval WordPress टिप्पणी अनुमोदन - -- wordpress auto approve comments WordPress ऑटो टिप्पणी को स्वीकृत - -- wordpress emails WordPress ईमेल - -- wordpress registration email not working WordPress पंजीकरण ईमेल काम नहीं - -- wordpress comments not sending email WordPress टिप्पणियाँ ईमेल भेजने नहीं - -- email comments WOrdPress ईमेल टिप्पणियाँ WordPress - -- wordpress comment notifications टिप्पणी सूचनाएँ WordPress - -- wordpress email post notification ईमेल पोस्ट अधिसूचना WordPress - -- wordpress 2.5 email moderation 2,5 ईमेल मॉडरेशन WordPress - -- wordpress email comments for approval अनुमोदन के लिए ईमेल टिप्पणियाँ WordPress - -- wordpress Register Plus not sending email ईमेल भेजने नहीं रजिस्टर प्लस WordPress - -- wordpress not sending admin emails व्यवस्थापक ईमेल भेजने नहीं WordPress - -- no comment notifications wordpress 2.5 कोई टिप्पणी सूचनाएँ 2.5 WordPress - -- y y - -- how do i set comment approval? कैसे करूं टिप्पणी अनुमोदन सेट? - -- wordpress email comment author ईमेल टिप्पणी लेखक WordPress - -- wordpress 2.5.1 not sending mail मेल भेजने नहीं 2.5.1 WordPress - -- wordpress 2.5.1 not receiving new comment emails नई टिप्पणी ईमेल प्राप्त नहीं 2.5.1 WordPress - -- wordpress notifications WordPress सूचनाएँ - -- wordpress comment approval email WordPress टिप्पणी अनुमोदन ईमेल - -- Wordpress comment approve action WordPress कार्रवाई का अनुमोदन टिप्पणी - -- wordpress is not sending e-mail notification with gmail WordPress Gmail के साथ ई मेल सूचना भेजने नहीं है - -- wordpress not emailing notifications सूचना ईमेल नहीं WordPress - -- wordpress post emailer WordPress पोस्ट emailer - -- word press email notification शब्द प्रेस ईमेल सूचना - -- wordpress comment email notification not working टिप्पणी ईमेल सूचना WordPress काम नहीं - --