Make WordPress Core

Changeset 3901


Ignore:
Timestamp:
06/22/2006 07:45:49 PM (19 years ago)
Author:
ryan
Message:

Move _() to compat.php

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r3862 r3901  
    112112   }
    113113}
     114
     115if ( !function_exists('_') ) {
     116    function _($string) {
     117        return $string;
     118    }
     119}
     120
    114121?>
  • trunk/wp-includes/functions.php

    r3900 r3901  
    22
    33require_once(dirname(__FILE__).'/compat.php');
    4 
    5 if ( !function_exists('_') ) {
    6     function _($string) {
    7         return $string;
    8     }
    9 }
    104
    115function mysql2date($dateformatstring, $mysqlstring, $translate = true) {
Note: See TracChangeset for help on using the changeset viewer.