وردپرس

Page timing out when 2 shortcodes are used


I used 2 Shortcoder shortcodes when generating an event using another plugin and it’s causing the page to timeout.

Contact us by [sc name="whatsapp-icon"][/sc] or [sc name="email-icon"][/sc].

The developer of the Events Made Easy plugin looked into it and said: “Seems to be a bug in the shortcoder plugin. If I create the 2 shortcodes manually in functions.php , it works fine”.

“it has something to do with the call to do_shortcode on that text. It seems it can cause a loop (and the loop actually happens in do_shortcode, not in EME), but I don’t know why … it doesn’t cause a loop when in the event body nor when I create 2 shortcodes (via functions.php in the theme) and use those in the title.”

Can you please look into why this is happening?

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا