Actually, this makes more sense.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
673cab8183
commit
6800fa5564
|
@ -753,9 +753,8 @@ function get_num_queries() {
|
||||||
return $wpdb->num_queries;
|
return $wpdb->num_queries;
|
||||||
}
|
}
|
||||||
|
|
||||||
function bool_from_yn($yn) {
|
function bool_from_yn( $yn ) {
|
||||||
if (strtoupper( $yn ) == 'Y') return 1;
|
return ( strtolower( $yn ) == 'y' );
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function do_feed() {
|
function do_feed() {
|
||||||
|
|
Loading…
Reference in New Issue