Skip to content

Commit 958ee74

Browse files
committed
Remove copypasta
1 parent 5f826ba commit 958ee74

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

includes/Forwarded_URLs.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ public function replace_with_forwarded_url( $content ) {
167167
"//{$non_forwarded_host}" => "//{$forwarded_host}",
168168
];
169169

170-
//$new = str_replace( array_keys( $this->find_replace ), array_values( $this->find_replace ), $content );
171170
$new = is_array( $content ) ? array_walk_recursive( $content, [ $this, 'replace_url' ] ) : str_replace( array_keys( $this->find_replace ), array_values( $this->find_replace ), $content );
172171

173172
return $new;

0 commit comments

Comments
 (0)