Remove comparison operators

This commit is contained in:
ThemeBoy
2013-12-01 22:56:20 +11:00
parent cce1586c75
commit 2ceb0c53a3
2 changed files with 5 additions and 5 deletions

View File

@@ -48,8 +48,8 @@ function sp_manage_posts_custom_column( $column, $post_id ) {
break;
case 'sp_equation':
echo str_replace(
array( '+', '-', '*', '/', '==', '!=', '<', '<=', '>', '>=' ),
array( '&plus;', '&minus;', '&times;', '&divide', '=', '&ne;', '&lt;', '&le;', '&gt;', '&ge;' ),
array( '$', '+', '-', '*', '/' ),
array( '', '&plus;', '&minus;', '&times;', '&divide' ),
get_post_meta ( $post_id, 'sp_equation', true )
);
break;