Skip to content

Commit 4b54c19

Browse files
committed
Document new filter.
1 parent 7581467 commit 4b54c19

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

wpengine-phpcompat.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,17 @@ public function fork_scan( $test_version, $only_active ) {
263263
$url = add_query_arg( $query, admin_url( 'admin-ajax.php' ) );
264264

265265
/**
266-
* [$url description]
267-
* @var [type]
268-
* TODO: DO THIS
266+
* Modify the URL used to fork a request.
267+
*
268+
* When running in a Docker container the url used to access the site internally
269+
* can be different from the external url. For example internally the port
270+
* is 80, and externally it's 8081.
271+
*
272+
* @since 1.4.6
273+
*
274+
* @param string $url The url used to make the fork request.
269275
*/
270-
$url = apply_filters( 'wpephpcompat_fork_url', $url );
276+
$url = apply_filters( 'phpcompat_fork_url', $url );
271277
// POST.
272278
wp_remote_post( esc_url_raw( $url ), $args );
273279
}

0 commit comments

Comments
 (0)