We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a29f25 commit 7ff1edeCopy full SHA for 7ff1ede
1 file changed
src/Profiler.php
@@ -82,7 +82,7 @@ public function run() {
82
$url = WP_CLI::get_runner()->config['url'];
83
$path = '';
84
if ( ! empty( $url ) ) {
85
- $parsed_url = wp_parse_url( $url );
+ $parsed_url = WP_CLI\Utils\parse_url( $url );
86
if ( false !== $parsed_url && isset( $parsed_url['path'] ) ) {
87
$path = $parsed_url['path'];
88
} else {
0 commit comments