Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Image

localhost2host.docker.internal

Описание

Prevents loopback request errors in WordPress environments using Docker such as wp-env.

Replace requests to localhost with host.docker.internal, and if https, change to http and turn off sslverify.

There are no settings. Just enable this plugin.

Установка

  1. Upload the localhost2host-docker-internal folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress

Отзывы

Image
10.07.2025
If you have troubles in local development with wp-env, use this plugin. In your .wp-env.json , add this plugin’s download URL(NOTICE: review comment is not allowed to include URL, add https +:// just before the downloads.wordpress.org { «plugins»: [ «.», «[schema here]downloads.wordpress.org/plugin/localhost2host-docker-internal.latest-stable.zip» ]} WordPress’ self remote request(e.g. WP-Cron) starts working as expected! Arigato!
Посмотреть все 0 отзывов

Участники и разработчики

«localhost2host.docker.internal» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «localhost2host.docker.internal» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.