Skip to content

Commit 7ff1ede

Browse files
committed
Use utils
1 parent 0a29f25 commit 7ff1ede

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function run() {
8282
$url = WP_CLI::get_runner()->config['url'];
8383
$path = '';
8484
if ( ! empty( $url ) ) {
85-
$parsed_url = wp_parse_url( $url );
85+
$parsed_url = WP_CLI\Utils\parse_url( $url );
8686
if ( false !== $parsed_url && isset( $parsed_url['path'] ) ) {
8787
$path = $parsed_url['path'];
8888
} else {

0 commit comments

Comments
 (0)