Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: wp-content/plugins/404-redirected/includes/admin.php
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- wp-content/plugins/404-redirected/includes/admin.php (date 1354538649000)
- +++ wp-content/plugins/404-redirected/includes/admin.php (revision )
- @@ -1266,7 +1266,10 @@
- $rows = wbz404_getLogRecords($tableOptions);
- $displayed = 0;
- $y=1;
- - date_default_timezone_set(get_option('timezone_string'));
- + $timezone_string = get_option('timezone_string');
- + if ($timezone_string) {
- + date_default_timezone_set($timezone_string);
- + }
- foreach ($rows as $row) {
- $class = "";
- if ($y == 0) {
- @@ -1492,7 +1495,10 @@
- $columns['last_used']['orderby'] = "";
- $columns['last_used']['width'] = "10%";
- - date_default_timezone_set(get_option('timezone_string'));
- + $timezone_string = get_option('timezone_string');
- + if ($timezone_string) {
- + date_default_timezone_set($timezone_string);
- + }
- echo "<div class=\"tablenav\">";
- wbz404_drawPaginationLinks($sub, $tableOptions);
- @@ -1797,8 +1803,10 @@
- $columns['last_used']['orderby'] = "";
- $columns['last_used']['width'] = "20%";
- - date_default_timezone_set(get_option('timezone_string'));
- -
- + $timezone_string = get_option('timezone_string');
- + if ($timezone_string) {
- + date_default_timezone_set($timezone_string);
- + }
- echo "<div class=\"tablenav\">";
- wbz404_drawPaginationLinks($sub, $tableOptions);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement