Problem fixed !
The problem was not due to a browser matter.
wp_ajax_nopriv_myfunction
was wrapped by is_admin()
. That could not work.
I was logged in in Firefox and not in Chrome that´s why I thought it was a browser matter.
Related Posts:
- WordPress ajax works on FF but not on IE & chrome
- PHP “php://input” vs $_POST
- How to solve the error “SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.” in IE
- How to add to cart via AJAX Woocommerce [closed]
- How to override WP_DEBUG for Ajax responses?
- Call to undefined function add_action()
- Registering AJAX callback function that is part of a class without instantiating the class in function.php
- Refused to execute script from ‘***’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled
- Ajax form submission from admin panel
- AJAX call using admin-ajax URL is returning 400 bad request
- Ajax response is always 0
- Ajax with OOP doesn’t work
- Error 400 bad request using admin-ajax.php
- Setting TinyMCE Content in wp_editor
- Ajax is not working for logged out users
- WP Ajax Action Not Picking Up Query String Parameter
- How to use wp_send_json_error?
- Ajax Redirect role = ‘Editor’ to their Dashboard after register
- How do I check if AJAX nonces are implemented correctly?
- Admin Ajax and HTML5 Formdata
- Buddypress: Load Ajax Without Template Pack [closed]
- Implementing an AJAX POST API call in wordpress
- I have to post data by AJAX in wordpress to another Website
- Placement of add_action() for ajax callback?
- WordPress ajax problem need wordpress expert?
- Identical wp_rest nonce returned from rest_api
- Ajax WordPress Login needs to be stayed in current page Url without redirecting
- wp_ajax function did not call
- wp_handle_upload returns empty error array
- Loading comments in ajax – comment-reply function missing $args
- Woocommerce update product price via AJAX
- How do I query posts by a sub value with the API?
- Popup or admin/update notice on post/page edit screen without page refresh
- Enqueue script in plugin is not working
- Single page site + pushState?
- Interim-Login form on frontend
- Ajax call does not work for this simple code
- WordPress ajax call returns a zero though die()
- Save value from Javascript object to WP user
- wp_update_post onclick button using ajax
- add Additional class to woocommerce cart-contents link
- Ajax insert or update data
- Check ajax triggered from front-end or from dashboard
- Localize script not working
- Add Ajax to rating button
- Why, if a function accepts arguments, it fails on ajax calls?
- How to disable drag-and-drop upload function in Media Library?
- WP_query offset seems to be counting draft post – AJAX load more
- Can’t retrieve any content from Ajax-loaded page
- adding ajax load more to display images from meta box
- Can’t load search results with ajax
- wp_ajax is not calling the action
- Deny dashboard access breaks ajax requests
- Run javascript upon successfully set featured image
- update_option in WordPress AJAX
- ajax in admin menu
- How to load dynamic option with ajax
- How do you use do_shortcode via AJAX call?
- Auto-suggest to display meta-data, but not to include it upon click
- Register Template
- Ajax Favorite from foreach (how to specify which result result is processed)
- WordPress responds to the ajax request with readyState 1, 2, 3 before responding with 4
- Filter images from media library by guid meta field
- Counting Posts with multiple taxonomy and terms condition using MySQL and AJAX
- Refresh Gutenberg with JS for it show updated post
- How to Object.freeze wp_localize_script
- How to return a record from a custom table by sending an AJAX request
- WordPress New Post via ajax call
- 400 Bad Request getting on AJAX Call
- React to AJAX adding to the page
- gform_after_submission does not work on ajax enabled form
- How to add Ajax to this Pagination i made?
- Adding user using admin ajax by a user with custom role
- How can I run two AJAX requests simultaneously in WordPress?
- Issue developing an AJAX form with WordPress
- Ajax call not working anymore
- Ajax global variable is not getting saved (returns null)
- WP admin ajax Pagination issue
- Why function called by admin-ajax executes synchronously?
- my ajax action doesn’t get hit
- Can Ajax Action [add_action(‘wp_ajax_{action_name}’, ‘{action_name}’] be hooked into wp hook
- Strange AJAX problem (SOMETIMES works in Chrome/FF, ALWAYS works in Midori)
- How to check for dependencies for a specific page and enqueue them
- Get Page Type (Category/Tag) Using AJAX
- Ajax Form data is not posted back to the get_results()
- Loads posts of different year via AJAX call
- Remove dashboard access but allow ajax file upload
- fail to load /wp-admin/admin-ajax.php locally
- BBPress AJAX problem
- Ajax object comes back empty
- WordPress & Ajax
- WordPress wp_localize_script nonce and ajax URL
- How to get data with Select AJAX PHP
- Add “load more” functionality to an AJAX response
- Bad Request 400… jQuery ajax post of json data to wordpress admin-ajax.php
- weird Internal Server Error – no error log produced
- Why are the most recent posts not appearing in a fetch request, unless I’m logged in?
- Successful ajax call returns lots of whitespace and text of code with 0
- How to submit a button automatically after every scheduled hours?
- At what stage does wp_ajax hooks gets applied during WordPress request?