We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f826ba commit 958ee74Copy full SHA for 958ee74
1 file changed
includes/Forwarded_URLs.php
@@ -167,7 +167,6 @@ public function replace_with_forwarded_url( $content ) {
167
"//{$non_forwarded_host}" => "//{$forwarded_host}",
168
];
169
170
- //$new = str_replace( array_keys( $this->find_replace ), array_values( $this->find_replace ), $content );
171
$new = is_array( $content ) ? array_walk_recursive( $content, [ $this, 'replace_url' ] ) : str_replace( array_keys( $this->find_replace ), array_values( $this->find_replace ), $content );
172
173
return $new;
0 commit comments