Changeset 3185
- Timestamp:
- 08/12/2010 05:45:09 AM (16 years ago)
- File:
-
- 1 edited
-
branches/1.2/bp-core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core.php
r3155 r3185 1644 1644 1645 1645 // Make sure we don't call status_header() in bp_core_do_catch_uri() 1646 // as this conflicts with wp_redirect()1646 // as this conflicts with wp_redirect() 1647 1647 $bp_no_status_set = true; 1648 1648 … … 1795 1795 function bp_core_ucfirst( $str ) { 1796 1796 if ( function_exists( 'mb_strtoupper' ) && function_exists( 'mb_substr' ) ) { 1797 $fc = mb_strtoupper( mb_substr( $str, 0, 1 ) );1798 return $fc.mb_substr( $str, 1 );1797 $fc = mb_strtoupper( mb_substr( $str, 0, 1 ) ); 1798 return $fc.mb_substr( $str, 1 ); 1799 1799 } else { 1800 1800 return ucfirst( $str );
Note: See TracChangeset
for help on using the changeset viewer.