Changeset 5573
- Timestamp:
- 05/28/2007 05:11:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r5572 r5573 754 754 } 755 755 756 function bool_from_yn($yn) { 757 if (strtoupper( $yn ) == 'Y') return 1; 758 return 0; 756 function bool_from_yn( $yn ) { 757 return ( strtolower( $yn ) == 'y' ); 759 758 } 760 759
Note: See TracChangeset
for help on using the changeset viewer.