function bulk_search() {
$redirect_to = add_query_arg( array( 's' => urlencode($_POST['s']) ), $_POST['_wp_http_referer']);
wp_redirect( $redirect_to );
exit();
}
Realised by adding urlencode() function would do.
Related Posts:
- Problems with autoloading classes via sp_autoload_register / maybe interfering WP-specific autoloader
- Advice on naming files for a plugin
- For performance is it better to build custom functionality into the theme or a plugin
- WordPress tips for speed and performance [closed]
- Save and retrieve custom plugin options value
- How do I add a widget programmatically to a newly created site (WPMU) within a plugin?
- Tracking last login and last visit
- Rename existing old uploaded images containing accented French characters (not during upload)
- Send batch of posts as HTML Email?
- Translate third party plugin and save translation files in custom theme
- Trying to add admin file upload form plugin
- wp_verify_nonce() why return false?
- What’s the best plugin for allowing javascript in a post or page? [closed]
- Plugin “Meta Box”: Implementing meta boxes in custom post type
- register_theme_directory somehow “fails” when folder is outside of WP-Folder
- Disable / Deregister all JS from all plugins
- Do extra plugin files get deleted during an upgrade?
- WordPress plugin for mail subscriptions [closed]
- Plugin allowing for artists, events and venues
- Shortcode is not working in homepage page template (custom front page)
- Prevent WordPress plugin from connecting to its server
- HTML in WooCommerce settings
- Redirecting to home page after login as custom role WordPress
- Only allowing some email addresses to create an account
- Where (or when) should I register a new taxonomy?
- Widget with same content across several websites
- WordPress plugin compatibility explaination when wordpress releases its new version (theoretical)
- Fixing WordPress’s Bug (failed to send buffer of zlib output compression) results in “White Screen of Death”
- How to tie dark mode with prefers-color-scheme webkit? [closed]
- how to oauth1 Wp plug-in revoke/reset.?
- Why can’t I access my Intranet LDAPS with NADI?
- qTranslate remove default directory from link
- WordPress adding a menu page when activating a plugin
- Custom User meta field display
- wordpress file upload with ajax when site is ajaxyfi
- Plugin to create forms using HTML [closed]
- Create a plugin from within WordPress
- Call plugin with php function
- Render content of multiple pages and their descendants
- In Woocommerce theme need to add custom external link [closed]
- Error checking when future updates are automatic
- Integer in Array returns null
- wc_get_template new template does not showing up
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- Possibility to login without password
- Using custom php file for ajax url inside plugin
- Sending HTML email containing custom fields to site users from WordPress
- Plugin – Admin menu page broken url
- Hide DIV if empty – Plugin Gallery
- Add user meta after a user has registered and logged In [closed]
- Override css rules of a plugin within my own theme
- Article content navigator in wordpress like mbaskool website
- Retrieve Plugin Settings and insert into XML string
- Completely remove ability to create users?
- Linked pages from plugin on front can’t see $wpdb
- Defining the value of a variable before a function?
- What archive plugin works with W3 total cache? [closed]
- Theme deactived html and css styling on home page posts
- Compare custom field values
- Unexpected character and syntax error on wp-includes/formatting.php [closed]
- Error datatable whit ajax
- My plugin runs on every single WordPress page, but I want it to run only on activation
- working code, not working – Plugin Dev
- category page multiple products add to cart any plugin available for woocommerce
- How to get FAQ of your article on Google Search
- How to make a plugin api route have permission?
- WordPress eMails not working
- How to wrap image tag into div for post only?
- Modifying meta keys in User Meta Pro using user_meta_pre_user_register not working
- Problem with conditional woocommerce custom checkout field
- User Affiliate Token Generator?
- Creating Custom Settings on Pages/Posts For Plugin
- How to add the functionality of WordPress needed to be installed to be mandatory while installing themes
- Content-single.php inside my plugin
- Very Slow loading. Plugins report provided by P3 included
- How To Rewrite WordPress Pages URL Only?
- Change wp_mail SMTP settings for each E-Mail
- WordPress Thumbnail add action if no thumbnail
- How to set the captcha at the bottom of comments textarea
- How do I get WooCommerce to recreate the home page?
- Plugin update, is a deactivation and activation done?
- Update a WordPress website FROM Twitter or Facebook
- How to remove message output for the WP-PostRatings Plugin?
- Pass strings to plugin function [closed]
- How to display a link in the footer section
- How to tweak a plugin without preventing it from updating
- How can I replace the built in WordPress editor?
- Place max_execution_time in plugin [closed]
- Is there a WP-Plugin to convert PNG to GIF? [closed]
- How can I make a quotation engine like this website in WooCommerce?
- Function not being called on form submit, only blank admin-post.php page
- how to get the url of a custom uploaded file
- WordPress Convert queries to slashes using function.php
- 404 Error on a WordPress Website, Error disappears for a while and again appears
- ShipStation WooCommerce Integration error
- Failed to update a post when I add a taxonomy to it
- Add Text in Single Product Page On a Specific Category
- Not Able to Edit Homepage After Updating Elementor
- How to fetch data from the two plugin’s data on the frontend?
- How to add entity in WordPress that have metadata such as name, age