68 if (!empty($is_saml_response = !empty($_POST['RelayState']) && !empty($_REQUEST['SAMLResponse']))) {
69 $relay_state = Router_Service::process_state_url($_POST['RelayState'], $request);
70
71 if (false === $relay_state) {
72 $is_saml_response = false;
73 } else {
74 $request->set_item('relay_state', $relay_state); // -> Cannot be unset because there dependies relying on it
75 }
76 }
]]>I was trying to display local tags for each post, but the shortcode wouldn’t work for some reason, so I had to use the widget element. However, the widget element had a bug. In the settings, when I tried to set “On Single Post Display” to “Children tags”, when I saved it, it reverted back to “All tags”. This happened every time I saved it, and all tags were displaying on every post.
After looking at the code, I can see there was a small mistake in the code. The value of the <option> should be set to “local” and not “children”. When I changed this in the browser, and then saved it, it stored the value and it worked perfectly.
If you decide to change another setting on the widget, then you need to update this value before you save it again, otherwise it reverts back to the original value. I’m sure you could update this in the plugin code yourself, but I assume this will be fixed in the next update. For me, I just needed to save it once, so doing it in the browser worked fine for me.
Thank you.
A
I don’t know why the user can’t register successfully with the register form. When click on the submit button, same page is showing again. Even there is no error showing.
I also tried to deactivate all the plugins and activate them one by one by checking the register form. But still it’s not working. I have also checked with theme’s different versions but still, that’s not worked.
On same website, I created one register form before 3 month, that is working fine and showing profile too. For this form, user role is different but this older one working fine. I have added both profile shortcodes on user page just one after another.
I tried to make a plugin & theme conflict test, but the problem still appears. Kindly help me to fix it asap.
]]>I don’t know why the user can’t register successfully with the register form. When click on the submit button, same page is showing again. Even there is no error showing.
I also tried to deactivate all the plugins and activate them one by one by checking the register form. But still it’s not working. I have also checked with theme’s different versions but still, that’s not worked.
On same website, I created one register form before 3 month, that is working fine and showing profile too. For this form, user role is different but this older one working fine. I have added both profile shortcodes on user page just one after another.
I tried to make a plugin & theme conflict test, but the problem still appears. Kindly help me to fix it asap.
]]>bolded slash causes a double slash and breaks connection with css.
$plugin_url = plugin_dir_url( __FILE__ );
__FILE__ has a trailing slash
]]>--- simple-banner.orig 2023-11-30 15:19:16.056016000 +0000
+++ simple-banner.php 2023-11-30 15:18:26.371711000 +0000
@@ -648,7 +648,7 @@
var style_custom_button_css = document.createElement('style');
// Banner Text
- var hrefRegex = /href\=[\'\"](?!http|https)(.*?)[\'\"]/gsi;
+ var hrefRegex = /href\=[\'\"](?!http|https)([^\/].*?)[\'\"]/gsi;
var scriptStyleRegex = /<(script|style)[^>]*?>.*?<\/(script|style)>/gsi;
function stripBannerText(string) {
let strippedString = string;
]]>