[wp-trac] Re: [WordPress Trac] #9994: Only a blank page returned when access blog home page

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 3 09:42:29 GMT 2009


#9994: Only a blank page returned when access blog home page
--------------------------+-------------------------------------------------
 Reporter:  kamiyeye      |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  2.8
Component:  Formatting    |     Version:  2.8
 Severity:  blocker       |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by kamiyeye):

 Replying to [comment:9 ryan]:[[BR]][[BR]]

 hey ryan, i did everything you said, and much more. So after a half
 afternoon's trouble shooting, i think i found the root cause.[[BR]][[BR]]

 Let's first look at line 169 in formatting.php of the old version(works
 well), the function '''seems_utf8''':[[BR]]

 {{{
 function seems_utf8($Str) { # by bmorel at ssi dot fr
         $length = strlen($Str);
         for ($i=0; $i < $length; $i++) {
 }}}

 and line 190 in latest version:[[BR]]
 {{{
 function seems_utf8(&$str) {
         $length = strlen($str);
         for ($i=0; $i < $length; $i++) {
 }}}

 There is an '''&''' added, OMG... yes i use this function in my
 theme.[[BR]]
 After i removed the & from the latest formatting.php, everything is on
 track now.[[BR]]
 It might be a type mistake, i guess, a deeply hidden bug, am i right?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9994#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list