Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sveralex

    (@sveralex)

    Thank you for your efforts.
    I just used the patch I’ve found, but it requires to make changes in WP core.
    So I will be forced to apply it after each WP upgrade?!

    Index: wp-includes/query.php
    ===================================================================
    — wp-includes/query.php (revision 26965)
    +++ wp-includes/query.php (working copy)
    @@ -3923,6 +3923,10 @@

    $query = $wpdb->prepare(“SELECT post_id FROM $wpdb->postmeta, $wpdb->posts WHERE ID = post_id AND post_type = %s AND meta_key = ‘_wp_old_slug’ AND meta_value = %s”, $post_type, $wp_query->query_varsname?);

    + Prevent a simple redirect loop due to values in ‘_wp_old_slug’ not deleted
    + when in an unpublished status.
    + $query .= $wpdb->prepare(” AND post_name != %s”, $wp_query->query_varsname?);
    +
    if year, monthnum, or day have been specified, make our query more precise
    just in case there are multiple identical _wp_old_slug values
    if ( != $wp_query->query_varsyear? )

    Thread Starter sveralex

    (@sveralex)

    Hi again
    Besides, in Settings – Notification tab – Email Content:

    Editor does not display ‘Visual’ content

    [ Moderator note: link fixed, careful posting links like that. ]

    https://talentwizards.org/_errors/DWQA-Settings-Notification-EmailContent.png


    Thank you
    Alexey

    Thread Starter sveralex

    (@sveralex)

    Hi Plugin Author
    Sorry, but again one fix was not included into the latest version 1.2.5.

    In inc/notification.php, line #282 should be:
    $headers .= “From: ” . $from_email . “\r\n”;

    Without this fix email delivered not human-readable :-), with all HTML markups.

    Please include this fix in your next update


    Thank you
    Alexey

    Thread Starter sveralex

    (@sveralex)

    Hi Author
    Very good!
    But most likely you forgot to fix one line (#279) in notification.php:

    $headers = “From: ” . $from_email . “\r\n”;

    should be:

    $headers .= “From: ” . $from_email . “\r\n”;

    Besides, just wanted to know, is there any possibility to edit Notification Email Templates in ‘Visual’ mode? Now only ‘Text’ mode available.


    Thank you
    Alexey

    Thread Starter sveralex

    (@sveralex)

    By the way, the same fix in a couple other places:

    $headers .= “From: ” . $from_email . “\r\n”;

    in lines #133 and #279

    Forum: Plugins
    In reply to: [Sweet Captcha] debug error

    Hi, I’ve just checked our SweetCaptcha in debug mode, and did not notice any errors/warnings.
    What version do you use, I hope the latest 3.0.6 ?
    Anyways, thank you, we will improve the plugin’s initialization procedures.

    Alexey

Viewing 6 replies - 1 through 6 (of 6 total)