Changeset 28325
- Timestamp:
- 05/06/2014 09:22:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r28259 r28325 62 62 case 'mysql': 63 63 return ( $gmt ) ? gmdate( 'Y-m-d H:i:s' ) : gmdate( 'Y-m-d H:i:s', ( time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ) ); 64 break;65 64 case 'timestamp': 66 65 return ( $gmt ) ? time() : time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ); 67 break;68 66 default: 69 67 return ( $gmt ) ? date( $type ) : date( $type, time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ); 70 break;71 68 } 72 69 } … … 693 690 */ 694 691 function add_query_arg() { 695 $ret = '';696 692 $args = func_get_args(); 697 693 if ( is_array( $args[0] ) ) { … … 1428 1424 1429 1425 // Get the permission bits. 1430 $dir_perms = false;1431 1426 if ( $stat = @stat( $target_parent ) ) { 1432 1427 $dir_perms = $stat['mode'] & 0007777;
Note: See TracChangeset
for help on using the changeset viewer.