[wp-meta] [Making WordPress.org] #884: /wp-admin/options-general.php (compat.php on line 30)
Making WordPress.org
noreply at wordpress.org
Wed Feb 25 15:38:46 UTC 2015
#884: /wp-admin/options-general.php (compat.php on line 30)
-----------------------+---------------------
Reporter: jasonmader | Owner:
Type: defect | Status: new
Priority: normal | Component: General
Keywords: |
-----------------------+---------------------
"PHP message: PHP Fatal error: Maximum execution time of 30 seconds
exceeded in /wordpress/wp-includes/compat.php on line 30"
When visiting the options-general page, there is the timeout error above.
The last thing generated on the page is:
{{{
<td><select name="start_of_week" id="start_of_week">
<?php
for ($day_index = 0; $day_index <= 6; $day_index++) :
$selected = (get_option('start_of_week') == $day_index) ?
'selected="selected"' : '';
echo "\n\t<option value='" . esc_attr($day_index) . "' $selected>"
. $wp_locale->get_weekday($day_index) . '</option>';
endfor;
?>
</select></td>
</tr>
}}}
If line 30 is to be believed, the time is spent in the _mb_substr()
function,
{{{
preg_match_all( '/./us', $str, $match );
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/884>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list