talgat
Forum Replies Created
-
Forum: Plugins
In reply to: [Benchmark Email Lite] An issue with form validationHello,
Another one error I see in logs.
Invalid argument supplied for foreach() in ../benchmark-email-lite/lib/class.api.php on line 105.
Invalid argument supplied for foreach() in ../benchmark-email-lite/lib/class.api.php on line 117.
It looks like the
lists()
andsignup_forms()
functions return a string in some occasions. And you don’t check the returned value before to put it to the foreach.—
Regards,
TalgatForum: Plugins
In reply to: [Theme My Login] ‘X-Frame-Options’ to ‘SAMEORIGIN’It’s unsafe but if you really need it and understand what is the “SAMEORIGIN” try to add this code to your template function.php
function your_theme_tml_display( $output, $action ) { if ($action == 'login') { header_remove("X-Frame-Options"); } return $output; } add_filter( 'tml_display', 'your_theme_tml_display', 10, 2 );
—
Regards,
TalgatForum: Plugins
In reply to: [WP-SpamShield] All my sites crashedForum: Plugins
In reply to: [WP-SpamShield] All my sites crashedThe issue is in the function rs_wpss_getenv() which is called (48 line) before including file class.utils.php. This function calls WP_SpamShield::sanitize_ip. From this version function sanitize_ip calls WPSS_Utils::append_log_data which is undefined because class.utils.php isn’t included yet.
In other words, now you must include class.utils.php before calling rs_wpss_getenv().
Dear author, I respect your work and don’t want to offend you but honestly I don’t understand how could you call it as the Minor update. I thought number ‘6’ means the version of the filter update, number ‘8’ is a bug fixes. But this version contains many changes so it must be called 1.9.10 or maybe even 1.10. Fortunately I caught this issue on my test environment.
—
Regards,
TalgatHi! I changed the “gab_innerslider()” function in misc-functions.php of the Sharp theme.
There was
( has_term( of_get_option('of_inslider_tag') , 'gallery-tag', '' )) )
I changed it to
( taxonomy_exists('gallery-tag') && has_term( of_get_option('of_inslider_tag') , 'gallery-tag', '' )) )
—
Regards,
TalgatSolved. Issue was with the Sharp theme. Not with the plugin.
Forum: Plugins
In reply to: [Custom Field Suite] Changes already saved at previewI caught the same problem. CFS_REVISIONS doesn’t help.
—
Regards,
TalgatForum: Plugins
In reply to: [Contact Form 7] Configuration errorsHello!
How to make next condition? If [your-subject] is empty then use a default subject.
I can do it by hook in functions.php. But maybe there is exists a simple way like [your-subject default=”My default subject”] on ‘Mail’ tab? It will allow to leave [your-subject] as optional.
Regards, Talgat
Forum: Plugins
In reply to: [Contact Form 7] Subject Configuration ErrorHi Gioni!
Thank you.
Btw, maybe an email with the one-time unlock key also can help to get an access without using WP Cerber Reset.
Regards,
TalgatHi Gioni!
Thank you for the answer. Yes, it has a drawback, especially for the admin’s default name.
I think there should be some implementations:
1. It should be an optional.
2. Send an email with the unlock link.
3. No special message. Don’t need to know that the account exists.
4. Recommendation to change the admin’s default name.Regards,
TalgatForum: Plugins
In reply to: [WP Cerber Security, Anti-spam & Malware Scan] Locked OutSorry, that I interfere. I agree with the author. You get the conflict between plugins.
If I right understand Login Security Solution plugin has a higher priority than WP Cerber. Login Security Solution is called first and it doesn’t know about blocked IP by WP Cerber. That’s why it notifies you of brute force attacks.
Regards,
TalgatThank you for the fix.
Regards, Talgat
Forum: Plugins
In reply to: [Clean Login] Editable email content for the admin messageI receive. But it’s hard coded “New user registered: %s
“. Does it possible to make this email’s content is editable?Regards, Talgat
This is the error message from W3TC PgCache.php. Please look at the format.
“Invalid mfunc tag syntax. The correct format is: <!– W3TC_DYNAMIC_SECURITY mfunc PHP code –><!– /mfunc W3TC_DYNAMIC_SECURITY –> or <!– W3TC_DYNAMIC_SECURITY mfunc –>PHP code<!– /mfunc W3TC_DYNAMIC_SECURITY –>.”
I have found the way how to solve the error which you got with implementation this correct format.
For example, for the adrotate-widget.php the code should looks like:
if($adrotate_config['w3caching'] == 'Y') echo "echo adrotate_group(".$instance['adid'].", 0, 0, 0);"; else echo adrotate_group($instance['adid'], 0, 0, 0);
For the adrotate-functions.php
if($adrotate_config['w3caching'] == "Y") $output .= "echo adrotate_group($group_ids, 0, 0, 0);"; else $output .= adrotate_group($group_ids, 0, 0, 0);
The same way for the call adrotate_ad function.
Regards, Talgat