Skip to content

Commit

Permalink
Revert custom theme name replace handler.
Browse files Browse the repository at this point in the history
The existing handler should be able to handle it just fine already.

See c6886ab.
  • Loading branch information
obenland committed Dec 31, 2014
1 parent c6886ab commit 7671cad
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ function do_replacements( $contents, $filename ) {
$contents = preg_replace( '/(' . preg_quote( $key ) . ':)\s?(.+)/', '\\1 ' . $value, $contents );
}

$contents = str_replace( '_s is based on Underscores', sprintf( '%s is based on Underscores', $this->theme['name'] ), $contents );
$contents = preg_replace( '/\b_s\b/', $this->theme['name'], $contents );

return $contents;
Expand Down

0 comments on commit 7671cad

Please sign in to comment.