Changeset 10707 for trunk/wp-includes/compat.php
- Timestamp:
- 03/04/2009 10:05:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/compat.php
r10543 r10707 78 78 endif; 79 79 80 if ( ! function_exists('mb_s trcut') ):81 function mb_s trcut( $str, $start, $length=null, $encoding=null ) {82 return _mb_s trcut($str, $start, $length, $encoding);80 if ( ! function_exists('mb_substr') ): 81 function mb_substr( $str, $start, $length=null, $encoding=null ) { 82 return _mb_substr($str, $start, $length, $encoding); 83 83 } 84 84 endif; 85 85 86 function _mb_s trcut( $str, $start, $length=null, $encoding=null ) {86 function _mb_substr( $str, $start, $length=null, $encoding=null ) { 87 87 // the solution below, works only for utf-8, so in case of a different 88 88 // charset, just use built-in substr
Note: See TracChangeset
for help on using the changeset viewer.