Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background Jobs: Consider "Local" REQUEST mode #169

Open
bekarice opened this issue Sep 15, 2016 · 0 comments
Open

Background Jobs: Consider "Local" REQUEST mode #169

bekarice opened this issue Sep 15, 2016 · 0 comments
Labels
Background Jobs Code concerning background jobs Feature

Comments

@bekarice
Copy link
Contributor

Ran across an issue in ZD thread 468419 for which a development server was used with a hosts file to point to the domain.

Tracked this down with @ragulka to the way requests are sent. The background processing uses cURL to fire non-blocking HTTP requests to the site, but the requests are using wp_safe_remote_post() -- as such, they need a full URL to make the request, so an IP for a development server can't be used without a hosts file on the server as well.

Rather than requiring a hosts file on the dev server as well, we can investigate whether an IP address can be used and see if we can disable WP auto-redirecting on those requests. Perhaps a "development mode" setting or set of filters to enable dev mode and the use of an IP address for requests. Not sure if possible yet, but worth a look into.

@bekarice bekarice added Feature Background Jobs Code concerning background jobs labels Sep 15, 2016
@ChaseWiseman ChaseWiseman added this to the v5.3.0 milestone Dec 2, 2017
@ChaseWiseman ChaseWiseman removed this from the v5.5.0 milestone Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Background Jobs Code concerning background jobs Feature
Projects
None yet
Development

No branches or pull requests

2 participants