sbuntu
Forum Replies Created
-
Thanks Peter.
- This reply was modified 3 years, 6 months ago by sbuntu.
Thanks for your great work on this plugin, Yehudah! We appreciate you ??
why would you add a slash?
My wp-admin, wp-login, xmlrpc urls is walled off by cloudflare, so nobody outside my typical ip range can even log in. I am pretty confused about how these attempts are even being made to begin with, and then why they are being sent as notifications but not being recorded by wordfence
Looking into it, the wordfence dashboard also is not recording these failed logins. I’ve just tried it out myself, got locked out on purpose, and THAT block appears in the block list.
Is there any way to debug this / find out whats happening?
Forum: Reviews
In reply to: [Gutenberg] Blindsided5 stars is the default rating. Looking through there are many reviews which are negative but they forgot to change the star rating.
Lucky for WP I guess
Thanks for the info diego
Forum: Plugins
In reply to: [ACF: Better Search] Still not searching custom fieldsget_search_query() returns the search term – it’s not a function to make a search happen –?Is the code you posted from your theme’s search.php template?
At the very simplest, a search.php template will look like this:
<?php /** * Search Results Template */ get_header(); if ( have_posts() ) : ?> <ul> <?php while ( have_posts() ) : the_post(); ?> <li> <a href="<?php echo get_the_permalink(); ?>"> <?php echo get_the_title(); ?> </a> </li> <?php endwhile; ?> </ul> <?php endif; get_footer();
Try replacing your search.php template with this and see if it works?
- This reply was modified 7 years, 4 months ago by sbuntu.
Forum: Plugins
In reply to: [ACF: Better Search] I’m finding the plugin is not always workingand it is not my plugin i am just trying to be helpful for someone trying to learn to use wordpress ??
Forum: Plugins
In reply to: [ACF: Better Search] I’m finding the plugin is not always workingFlexible layout and Repeaters are “parent” fields and contain the other types of fields which are the ones shown in the options.
Like your flexible layout rows will contain text / wysiwyg / etc
The plugin works in my testing when searching content from flexible layout fields.
- This reply was modified 7 years, 4 months ago by sbuntu.
Forum: Plugins
In reply to: [ACF: Better Search] I’m finding the plugin is not always workingDo you have wp_debug enabled to see any errors?
I’m using this plugin on a few live sites and it works fine. It seems to be something particular to your environment or settings.
Also have you checked the plugin settings to see that the field types you want to search are enabled? Like https://imgur.com/a/6V5yG
Thanks for addressing this issue quickly!
Forum: Plugins
In reply to: [ACF: Better Search] I’m finding the plugin is not always workingJust a tip… You should include info like what version of PHP you are running in this environment ??
Temporary patch: you can edit includes/search.php lines 60 – 61:
$acfConditions = $this->getACFConditions($query->query_vars['s']); $wordpressConditions = $this->getDefaultWordPressConditions($query->query_vars['s']); change to $acfConditions = $this->getACFConditions( addslashes($query->query_vars['s']) ); $wordpressConditions = $this->getDefaultWordPressConditions( addslashes($query->query_vars['s']) );
the problem –– LIKE ‘%test’%’)
the search term was test’ –?this is not being escaped prior to insertion to the SQL query?