Actually, this makes more sense.
git-svn-id: https://develop.svn.wordpress.org/trunk@5573 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d5816ce68b
commit
5b7256e644
|
@ -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