/home/techb158/balacoffee.com/wp-includes/customize
NameSizeModeActions
class-wp-customize-background-image-control.php12840644editdlrm
class-wp-customize-background-image-setting.php6390644editdlrm
class-wp-customize-background-position-control.php30320644editdlrm
class-wp-customize-code-editor-control.php23170644editdlrm
class-wp-customize-color-control.php32090644editdlrm
class-wp-customize-cropped-image-control.php14590644editdlrm
class-wp-customize-custom-css-setting.php52840644editdlrm
class-wp-customize-date-time-control.php94460644editdlrm
class-wp-customize-filter-setting.php5880644editdlrm
class-wp-customize-header-image-control.php80290644editdlrm
class-wp-customize-header-image-setting.php17820644editdlrm
class-wp-customize-image-control.php12110644editdlrm
class-wp-customize-media-control.php94050644editdlrm
class-wp-customize-nav-menu-auto-add-control.php11220644editdlrm
class-wp-customize-nav-menu-control.php21280644editdlrm
class-wp-customize-nav-menu-item-control.php81570644editdlrm
class-wp-customize-nav-menu-item-setting.php278690644editdlrm
class-wp-customize-nav-menu-location-control.php22990644editdlrm
class-wp-customize-nav-menu-locations-control.php28170644editdlrm
class-wp-customize-nav-menu-name-control.php11310644editdlrm
class-wp-customize-nav-menu-section.php7160644editdlrm
class-wp-customize-nav-menu-setting.php189360644editdlrm
class-wp-customize-nav-menus-panel.php33090644editdlrm
class-wp-customize-new-menu-control.php17100644editdlrm
class-wp-customize-new-menu-section.php16930644editdlrm
class-wp-customize-partial.php105680644editdlrm
class-wp-customize-selective-refresh.php138430644editdlrm
class-wp-customize-sidebar-section.php10590644editdlrm
class-wp-customize-site-icon-control.php51630644editdlrm
class-wp-customize-theme-control.php118890644editdlrm
class-wp-customize-themes-panel.php33850644editdlrm
class-wp-customize-themes-section.php69550644editdlrm
class-wp-customize-upload-control.php11970644editdlrm
class-wp-sidebar-block-editor-control.php6860644editdlrm
class-wp-widget-area-customize-control.php17190644editdlrm
class-wp-widget-form-customize-control.php26460644editdlrm
error_log1405800644editdlrm
Edit: /home/techb158/balacoffee.com/wp-includes/customize/class-wp-customize-date-time-control.php (9446B)
max_year; $data['minYear'] = (int) $this->min_year; $data['allowPastDate'] = (bool) $this->allow_past_date; $data['twelveHourFormat'] = (bool) $this->twelve_hour_format; $data['includeTime'] = (bool) $this->include_time; return $data; } /** * Renders a JS template for the content of date time control. * * @since 4.9.0 */ public function content_template() { $data = array_merge( $this->json(), $this->get_month_choices() ); $timezone_info = $this->get_timezone_info(); $date_format = get_option( 'date_format' ); $date_format = preg_replace( '/(? <# _.defaults( data, ); #> <# var idPrefix = _.uniqueId( 'el' ) + '-'; #> <# if ( data.label ) { #> {{ data.label }} <# } #>
<# if ( data.description ) { #> {{ data.description }} <# } #>
<# if ( data.includeTime ) { #>
<# var maxHour = data.twelveHourFormat ? 12 : 23; #> <# var minHour = data.twelveHourFormat ? 1 : 0; #> : <# if ( data.twelveHourFormat ) { #> <# } #>

<# } #>
get_month_abbrev( $wp_locale->get_month( $i ) ); /* translators: 1: Month number (01, 02, etc.), 2: Month abbreviation. */ $months[ $i ]['text'] = sprintf( __( '%1$s-%2$s' ), $i, $month_text ); $months[ $i ]['value'] = $i; } return array( 'month_choices' => $months, ); } /** * Get timezone info. * * @since 4.9.0 * * @return array { * Timezone info. All properties are optional. * * @type string $abbr Timezone abbreviation. Examples: PST or CEST. * @type string $description Human-readable timezone description as HTML. * } */ public function get_timezone_info() { $tz_string = get_option( 'timezone_string' ); $timezone_info = array(); if ( $tz_string ) { try { $tz = new DateTimeZone( $tz_string ); } catch ( Exception $e ) { $tz = ''; } if ( $tz ) { $now = new DateTime( 'now', $tz ); $formatted_gmt_offset = $this->format_gmt_offset( $tz->getOffset( $now ) / HOUR_IN_SECONDS ); $tz_name = str_replace( '_', ' ', $tz->getName() ); $timezone_info['abbr'] = $now->format( 'T' ); $timezone_info['description'] = sprintf( /* translators: 1: Timezone name, 2: Timezone abbreviation, 3: UTC abbreviation and offset, 4: UTC offset. */ __( 'Your timezone is set to %1$s (%2$s), currently %3$s (Coordinated Universal Time %4$s).' ), $tz_name, '' . $timezone_info['abbr'] . '', 'UTC' . $formatted_gmt_offset, $formatted_gmt_offset ); } else { $timezone_info['description'] = ''; } } else { $formatted_gmt_offset = $this->format_gmt_offset( (int) get_option( 'gmt_offset', 0 ) ); $timezone_info['description'] = sprintf( /* translators: 1: UTC abbreviation and offset, 2: UTC offset. */ __( 'Your timezone is set to %1$s (Coordinated Universal Time %2$s).' ), 'UTC' . $formatted_gmt_offset, $formatted_gmt_offset ); } return $timezone_info; } /** * Format GMT Offset. * * @since 4.9.0 * * @see wp_timezone_choice() * * @param float $offset Offset in hours. * @return string Formatted offset. */ public function format_gmt_offset( $offset ) { if ( 0 <= $offset ) { $formatted_offset = '+' . (string) $offset; } else { $formatted_offset = (string) $offset; } $formatted_offset = str_replace( array( '.25', '.5', '.75' ), array( ':15', ':30', ':45' ), $formatted_offset ); return $formatted_offset; } }