Make WordPress Core


Ignore:
Timestamp:
05/28/2007 05:05:46 PM (17 years ago)
Author:
rob1n
Message:

Turn string to upper. Props Donncha. fixes #4350

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r5555 r5572  
    755755
    756756function bool_from_yn($yn) {
    757         if ($yn == 'Y') return 1;
     757        if (strtoupper( $yn ) == 'Y') return 1;
    758758        return 0;
    759759}
Note: See TracChangeset for help on using the changeset viewer.