Skip to content

Commit

Permalink
Update class-Shoestrap_Color.php
Browse files Browse the repository at this point in the history
A type error dot-comma
  • Loading branch information
webmas committed Dec 23, 2014
1 parent 387ceff commit 762d787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-Shoestrap_Color.php
Expand Up @@ -12,7 +12,7 @@ function __construct() {

public static function sanitize_hex( $color ) {
// Remove any spaces and special characters before and after the string
$color = trim( $color. ' \t\n\r\0\x0B' );
$color = trim( $color, ' \t\n\r\0\x0B' );

// Remove any trailing '#' symbols from the color value
$color = str_replace( '#', '', $color );
Expand Down

0 comments on commit 762d787

Please sign in to comment.