Changeset 31090 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 01/08/2015 07:04:40 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/formatting.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r31079 r31090 1503 1503 } 1504 1504 // if stacktop value = tag close value then pop 1505 else if ( $tagstack[$stacksize - 1] == $tag ) { // found closing tag1505 elseif ( $tagstack[$stacksize - 1] == $tag ) { // found closing tag 1506 1506 $tag = '</' . $tag . '>'; // Close Tag 1507 1507 // Pop … … 2338 2338 return gmdate('Y-m-d H:i:s', $timestamp); 2339 2339 2340 } else if ($timezone == 'user') {2340 } elseif ($timezone == 'user') { 2341 2341 return preg_replace('#([0-9]{4})([0-9]{2})([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(Z|[\+|\-][0-9]{2,4}){0,1}#', '$1-$2-$3 $4:$5:$6', $date_string); 2342 2342 }
Note: See TracChangeset
for help on using the changeset viewer.