deltafactory
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Red border message, while wp_mail is working!Are you using the same recipient in both tests? SPF/DKIM tests may cause some messages to fail while others work.
Upon inspection, it doesn’t look like that form is generated by this plugin at all.
If you want to rebuild the form and replace it from a shortcode, use
do_shortcode(). See: https://developer.wordpress.org/reference/functions/do_shortcode/In the PHP, you would call that function with the shortcode tetx (with parameters) as the argument. It would be replaced by the shortcode’s output (the form, in this case.)
HTH
If you’re looking to customize who receives the submission, look in the site’s Admin for Contact -> Contact Forms -> <Item associated with this contact form> –> Mail tab.
Detailed docs here:
https://contactform7.com/setting-up-mail/
https://contactform7.com/admin-screen/Forum: Plugins
In reply to: [Contact Form 7] Make A similar FormThe features you’re asking about require use of CSS and perhaps some JavaScript to customize the theme for your site.
On the Mail tab of the form in question, change the “To” field to your email address.
Forum: Plugins
In reply to: [Contact Form 7] Red border message, while wp_mail is working!Are you saying that you see a red border when making a submission, even though email works? What is the error message? Does the recipient receive the confirmation message?
Can you confirm that you’re not sending a second message that’s undeliverable?
Forum: Plugins
In reply to: [Tooltips for Wordpress] Use of deprecated WP_Query parameterSpecifically, in tooltips.php, replace the use of
caller_get_postswithignore_sticky_posts.Released March 6, 2017
https://codex.wordpress.org/Version_4.0.16The fact that WordPress offers incremental security updates (4.0.16) to patch security issues while allowing users to keep their stable version of WP, no matter what their rationale, seems to indicate that there is no implicit security concern with doing so. They are, in fact, using a supported version of WordPress.
The much bigger issue is that Wordfence hadn’t tested their plugin with versions of WordPress that they claim to be compatible with. It’s imperative for a plugin – especially one that auto-updates itself when configured – not to break the site. Such actions cause harm to the WP plugin ecosystem by creating a distrust of plugin updates, potentially reducing security of a site due to withheld updates.
Forum: Plugins
In reply to: [Memcached Object Cache] Cannot redeclare wp_cache_add()How have you installed the object-cache.php file?
Forum: Plugins
In reply to: [HyperDB] mysqli and PHP7 support? – mysql_connect() being deprecatedAs of the v1.2 update there seems to be mysqli support. What’s not working in PHP7 at this point?
Forum: Plugins
In reply to: [Tooltips for Wordpress] Use of Deprecated functions@zhuyi, the capability argument of the menu calls (see
function tooltipsMenu()) are using numeric values which were deprecated almost 10 years ago.See my longer comment above with specifics.
Forum: Plugins
In reply to: [Tooltips for Wordpress] Use of Deprecated functions@zhuyi I would be happy to collaborate.
Forum: Plugins
In reply to: [Tooltips for Wordpress] Use of Deprecated functions@zhuyi, To resolve a few different deprecated calls in the plugin we’ve made the following patches:
Fix query arg parameter:
wp-content/plugins/wordpress-tooltips/tooltips.php:@@ -461,7 +461,7 @@ function tooltips_get_option($type) 'post_type' => $type, 'post_status' => 'publish', 'posts_per_page' => -1, - 'caller_get_posts'=> 1 + 'ignore_sticky_posts'=> 1 ); $my_query = null; $my_query = new WP_Query($args);Fix use of numeric levels in admin menu capability, use current widget functions:
wp-content/plugins/wordpress-tooltips/tooltips.phpfunction tooltipsMenu() { - add_menu_page(__('Tooltips','Tooltips'), __('Tooltips','Tooltips'), 10, 'tooltipsfunctions.php','editTooltips'); - add_submenu_page('tooltipsfunctions.php',__('Edit Tooltips','Tooltips'), __('Edit Tooltips','Tooltips'),10, 'tooltipsfunctions.php','editTooltips'); + add_menu_page(__('Tooltips','Tooltips'), __('Tooltips','Tooltips'), 'manage_options', 'tooltipsfunctions.php','editTooltips'); + add_submenu_page('tooltipsfunctions.php',__('Edit Tooltips','Tooltips'), __('Edit Tooltips','Tooltips'), 'manage_options', 'tooltipsfunctions.php','editTooltips'); } add_action('admin_menu', 'tooltips_menu'); function tooltips_menu() { - add_submenu_page('edit.php?post_type=tooltips',__('Global Settings','Tooltips'), __('Global Settings','Tooltips'),10, 'tooltipglobalsettings','tooltipGlobalSettings'); + add_submenu_page('edit.php?post_type=tooltips',__('Global Settings','Tooltips'), __('Global Settings','Tooltips'), 'manage_options', 'tooltipglobalsettings','tooltipGlobalSettings'); } function showTooltips($content)We’ve also removed the line
error_reporting(0);at the beginning of the plugin because this interferes with our debugging.Forum: Plugins
In reply to: [Tooltips for Wordpress] Use of Deprecated functionsWe’re looking to resolve this as well. If not fixed by the author then we’ll end up forking the plugin and fixing it on our own.