Title: raidenelite's Replies | WordPress.org

---

# raidenelite

  [  ](https://wordpress.org/support/users/raidenelite/)

 *   [Profile](https://wordpress.org/support/users/raidenelite/)
 *   [Topics Started](https://wordpress.org/support/users/raidenelite/topics/)
 *   [Replies Created](https://wordpress.org/support/users/raidenelite/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/raidenelite/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/raidenelite/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/raidenelite/engagements/)
 *   [Favorites](https://wordpress.org/support/users/raidenelite/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JS Help Desk – AI-Powered Support & Ticketing System] Still fatal error on activation](https://wordpress.org/support/topic/still-fatal-error-on-activation/)
 *  Thread Starter [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/still-fatal-error-on-activation/#post-18775065)
 * Hello, replacing the function seems to work! No need to change all the other 
   functions like before.
 * Hopefully everything else works, and you can apply both fixes in the next updates
   and won’t need to come back to report it.
 * I appreciate the support.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JS Help Desk – AI-Powered Support & Ticketing System] Still fatal error on activation](https://wordpress.org/support/topic/still-fatal-error-on-activation/)
 *  Thread Starter [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [7 months ago](https://wordpress.org/support/topic/still-fatal-error-on-activation/#post-18765516)
 * I’m adding another report related to the use of **custom admin and login URLs**
   with plugins such as **WP Hide & Security Enhancer** and **WP Ghost**.
 * When trying to log in from `wp-admin` and entering a **wrong password**, JS Help
   Desk intercepts the `wp_login_failed` action and redirects the user to the JS
   Help Desk login page
 * 
   The related function is located in: “includes/jsst-hooks.php”
 *     ```wp-block-code
       add_action('wp_login_failed', 'jssupportticket_login_failed', 10, 2);function jssupportticket_login_failed($username){    $referrer = wp_get_referer();    if ($referrer && !strstr($referrer, 'wp-login') && !strstr($referrer, 'wp-admin')) {        if (isset($_POST['wp-submit'])) {            JSSTmessage::setMessage(esc_html(__('Username / password is incorrect', 'js-support-ticket')), 'error');            wp_redirect(jssupportticket::makeUrl(array('jstmod' => 'jssupportticket', 'jstlay' => 'login', 'jsstpageid' => jssupportticket::getPageid())));            exit;        } else {            return;        }    }}
       ```
   
 * The condition:
 * `$referrer && !strstr($referrer, '**wp-login**') && !strstr($referrer, '**wp-
   admin**')`
 * only checks for the default WordPress URLs (`wp-login` and `wp-admin`).
   This 
   does **not work when custom login/admin URLs are used**, causing backend login
   failures to be incorrectly treated as frontend logins.
 * **Additionally**, in my JS Help Desk settings I am using a **custom login and
   registration URL** (WooCommerce pages), not the “JS Help Desk Login Page”.
   This
   redirect does **not respect that configuration either** and always forces the
   JS Help Desk login URL.Please add a more robust check or a configurable option
   to handle these scenarios correctly when custom login and admin URL plugins are
   used, instead of relying on hard-coded `wp-login` and `wp-admin` string checks..
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JS Help Desk – AI-Powered Support & Ticketing System] Still fatal error on activation](https://wordpress.org/support/topic/still-fatal-error-on-activation/)
 *  Thread Starter [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/still-fatal-error-on-activation/#post-18750581)
 * Hello, this is not even the same code anymore
   It was updated to this format after
   my post:
 * `if(jssupportticketphplib::JSST_strpos($wp_admin_path, "http") !== false) {
    
   $wp_admin_path = ABSPATH . 'wp-admin/includes/plugin.php';}
 * i even switched from WP Hide & Security Enhancer to WP Ghosts since the last 
   topic and the issue is the same
 * there has to be a permanent fix you can apply as many other plugins work fine
   with changing the admin path
 * a user would prefer not to have to edit the code manually each time
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] deadlock while trying to insert data in wc_actionscheduler_actions](https://wordpress.org/support/topic/deadlock-while-trying-to-insert-data-in-wc_actionscheduler_actions/)
 *  [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/deadlock-while-trying-to-insert-data-in-wc_actionscheduler_actions/#post-18329558)
 * Hi, can I report that I have the same problem, are you already working on it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Visibility Logic for Elementor] date & time not working](https://wordpress.org/support/topic/date-time-not-working-2/)
 *  [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/date-time-not-working-2/#post-18250056)
 * Hello, update 2.3.8 still not available?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Payments] Advanced card processing doesn’t show unless the user are logged](https://wordpress.org/support/topic/advanced-card-processing-doesnt-show-unless-the-user-are-logged/)
 *  [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/advanced-card-processing-doesnt-show-unless-the-user-are-logged/#post-18067600)
 * Hello, i can confirm that on my side it solved the issue!! Thank you, appreciated
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Payments] Dark icons not showing on blocks](https://wordpress.org/support/topic/dark-icons-not-showing-on-blocks/)
 *  Thread Starter [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/dark-icons-not-showing-on-blocks/#post-18067591)
 * Thank you for the information!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Payments] Dark icons not showing on blocks](https://wordpress.org/support/topic/dark-icons-not-showing-on-blocks/)
 *  Thread Starter [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/dark-icons-not-showing-on-blocks/#post-18067517)
 * Hello, i mean these. Forgot to mention it’s for Advanced Card Processing
 * [https://prnt.sc/vdg5-EipDo_D](https://prnt.sc/vdg5-EipDo_D)
 * [https://prnt.sc/PhS0DmGW8-Hg](https://prnt.sc/PhS0DmGW8-Hg)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Payments] Advanced card processing doesn’t show unless the user are logged](https://wordpress.org/support/topic/advanced-card-processing-doesnt-show-unless-the-user-are-logged/)
 *  [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/advanced-card-processing-doesnt-show-unless-the-user-are-logged/#post-18066114)
 * Hello, i’m having the exact same issue, guests can see Paypal but not the Advanced
   Card Processing if not logged in. This is on the new Checkout Block and i also
   tested in staging by deactivating ALL other plugins and on Storefront theme. 
   I can’t understand where the issue comes from but i believe it may be in your
   plugin (maybe a setting or something else)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Payments] Advanced Card Payment order button not rendering](https://wordpress.org/support/topic/advanced-card-payment-order-button-not-rendering/)
 *  Thread Starter [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/advanced-card-payment-order-button-not-rendering/#post-17277746)
 * Hello, no problem!
 * I will open a ticket, do you want the system report with everything on or in 
   the configuration asked previously?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Payments] Advanced Card Payment order button not rendering](https://wordpress.org/support/topic/advanced-card-payment-order-button-not-rendering/)
 *  Thread Starter [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/advanced-card-payment-order-button-not-rendering/#post-17277678)
 * Hello, i tried as asked but the Advanced Card Processing doesn’t even show on
   checkout in the asked configuration:
   [https://prnt.sc/pOtemFRg_WUW](https://prnt.sc/pOtemFRg_WUW)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pie Register – User Registration, Profiles & Content Restriction] Br tags added in email](https://wordpress.org/support/topic/br-tags-added-in-email/)
 *  Thread Starter [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [6 years ago](https://wordpress.org/support/topic/br-tags-added-in-email/#post-13089031)
 * Hello,
 * if i put the html code in the text editor like this:
    [http://prntscr.com/tdb96k](http://prntscr.com/tdb96k)
   it previews correctly in “Visual” [http://prntscr.com/tdbb8y](http://prntscr.com/tdbb8y)
 * but this was/is the result (doesn’t matter the client)
    [http://prntscr.com/tdbcv8](http://prntscr.com/tdbcv8)
 * i then realized that i have to put the code this way, making sure there is no
   new line after the html tags:
    [http://prntscr.com/tdbdzl](http://prntscr.com/tdbdzl)
 * this way the email shows correctly but if i click on “Visual” and then Back on“
   Text” the code goes back to the first screenshot, messing up the email again
 * From what i found out the WP Editor is not the problem, it happens because of
   nl2br() as stated in the first post, but if you remove it the normal text also
   doesn’t have new lines.
 * Hope that’s clear
    Cheers
    -  This reply was modified 6 years ago by [raidenelite](https://wordpress.org/support/users/raidenelite/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Premmerce Permalink Manager for WooCommerce] slow query identified in wp-admin](https://wordpress.org/support/topic/slow-query-identified-in-wp-admin/)
 *  [raidenelite](https://wordpress.org/support/users/raidenelite/)
 * (@raidenelite)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/slow-query-identified-in-wp-admin/#post-12402083)
 * I can confirm this, when is the fix planned for?

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