SILENT KILLERPanel

Current Path: > home > codekrsu > > cuddlebuds.lk > wp-includes > customize


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//cuddlebuds.lk/wp-includes/customize

NameTypeSizeLast ModifiedActions
class-wp-customize-background-image-control.php File 1284 bytes May 18 2022 19:24:14.
class-wp-customize-background-image-setting.php File 639 bytes May 18 2022 19:24:14.
class-wp-customize-background-position-control.php File 3032 bytes February 07 2023 22:10:22.
class-wp-customize-code-editor-control.php File 2317 bytes June 17 2020 01:07:14.
class-wp-customize-color-control.php File 3066 bytes February 26 2020 18:30:08.
class-wp-customize-cropped-image-control.php File 1459 bytes September 08 2023 13:32:24.
class-wp-customize-custom-css-setting.php File 5288 bytes September 09 2021 19:18:56.
class-wp-customize-date-time-control.php File 9446 bytes March 06 2025 04:27:22.
class-wp-customize-filter-setting.php File 588 bytes July 27 2017 04:41:44.
class-wp-customize-header-image-control.php File 8030 bytes February 08 2025 16:44:24.
class-wp-customize-header-image-setting.php File 1782 bytes July 11 2023 03:00:22.
class-wp-customize-image-control.php File 1211 bytes November 22 2020 20:53:04.
class-wp-customize-media-control.php File 9415 bytes March 05 2024 05:12:12.
class-wp-customize-nav-menu-auto-add-control.php File 1122 bytes October 05 2017 06:22:50.
class-wp-customize-nav-menu-control.php File 2128 bytes February 07 2023 22:10:22.
class-wp-customize-nav-menu-item-control.php File 8157 bytes June 04 2024 00:35:14.
class-wp-customize-nav-menu-item-setting.php File 27567 bytes September 08 2023 14:03:22.
class-wp-customize-nav-menu-location-control.php File 2299 bytes January 28 2024 12:50:18.
class-wp-customize-nav-menu-locations-control.php File 2817 bytes February 23 2023 16:06:20.
class-wp-customize-nav-menu-name-control.php File 1131 bytes October 05 2017 06:22:50.
class-wp-customize-nav-menu-section.php File 716 bytes October 09 2020 01:15:14.
class-wp-customize-nav-menu-setting.php File 18936 bytes January 19 2022 01:29:06.
class-wp-customize-nav-menus-panel.php File 3309 bytes February 07 2023 22:10:22.
class-wp-customize-new-menu-control.php File 1710 bytes February 26 2020 18:30:08.
class-wp-customize-new-menu-section.php File 1693 bytes February 26 2020 20:33:06.
class-wp-customize-partial.php File 10568 bytes September 12 2022 19:47:14.
class-wp-customize-selective-refresh.php File 13754 bytes September 26 2023 01:05:22.
class-wp-customize-sidebar-section.php File 1059 bytes December 01 2017 04:11:00.
class-wp-customize-site-icon-control.php File 5173 bytes August 24 2024 02:47:16.
class-wp-customize-theme-control.php File 11889 bytes September 14 2023 05:25:16.
class-wp-customize-themes-panel.php File 3385 bytes October 13 2024 23:09:12.
class-wp-customize-themes-section.php File 6955 bytes March 18 2025 17:15:22.
class-wp-customize-upload-control.php File 1197 bytes November 22 2020 20:51:04.
class-wp-sidebar-block-editor-control.php File 686 bytes May 25 2021 12:52:58.
class-wp-widget-area-customize-control.php File 1719 bytes February 07 2023 22:10:22.
class-wp-widget-form-customize-control.php File 2646 bytes April 13 2019 08:46:52.

Reading File: /home/codekrsu//cuddlebuds.lk/wp-includes/customize/class-wp-customize-themes-section.php

<?php
/**
 * Customize API: WP_Customize_Themes_Section class
 *
 * @package WordPress
 * @subpackage Customize
 * @since 4.4.0
 */

/**
 * Customize Themes Section class.
 *
 * A UI container for theme controls, which are displayed within sections.
 *
 * @since 4.2.0
 *
 * @see WP_Customize_Section
 */
class WP_Customize_Themes_Section extends WP_Customize_Section {

	/**
	 * Section type.
	 *
	 * @since 4.2.0
	 * @var string
	 */
	public $type = 'themes';

	/**
	 * Theme section action.
	 *
	 * Defines the type of themes to load (installed, wporg, etc.).
	 *
	 * @since 4.9.0
	 * @var string
	 */
	public $action = '';

	/**
	 * Theme section filter type.
	 *
	 * Determines whether filters are applied to loaded (local) themes or by initiating a new remote query (remote).
	 * When filtering is local, the initial themes query is not paginated by default.
	 *
	 * @since 4.9.0
	 * @var string
	 */
	public $filter_type = 'local';

	/**
	 * Gets section parameters for JS.
	 *
	 * @since 4.9.0
	 * @return array Exported parameters.
	 */
	public function json() {
		$exported                = parent::json();
		$exported['action']      = $this->action;
		$exported['filter_type'] = $this->filter_type;

		return $exported;
	}

	/**
	 * Renders a themes section as a JS template.
	 *
	 * The template is only rendered by PHP once, so all actions are prepared at once on the server side.
	 *
	 * @since 4.9.0
	 */
	protected function render_template() {
		?>
		<li id="accordion-section-{{ data.id }}" class="theme-section">
			<button type="button" class="customize-themes-section-title themes-section-{{ data.id }}">{{ data.title }}</button>
			<?php if ( current_user_can( 'install_themes' ) || is_multisite() ) : // @todo Upload support. ?>
			<?php endif; ?>
			<div class="customize-themes-section themes-section-{{ data.id }} control-section-content themes-php">
				<div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php esc_attr_e( 'Theme Details' ); ?>"></div>
				<div class="theme-browser rendered">
					<div class="customize-preview-header themes-filter-bar">
						<?php $this->filter_bar_content_template(); ?>
					</div>
					<?php $this->filter_drawer_content_template(); ?>
					<div class="error unexpected-error" style="display: none; ">
						<p>
							<?php
							printf(
								/* translators: %s: Support forums URL. */
								__( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
								__( 'https://wordpress.org/support/forums/' )
							);
							?>
						</p>
					</div>
					<ul class="themes">
					</ul>
					<p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
					<p class="no-themes-local">
						<?php
						printf(
							/* translators: %s: "Search WordPress.org themes" button text. */
							__( 'No themes found. Try a different search, or %s.' ),
							sprintf( '<button type="button" class="button-link search-dotorg-themes">%s</button>', __( 'Search WordPress.org themes' ) )
						);
						?>
					</p>
					<p class="spinner"></p>
				</div>
			</div>
		</li>
		<?php
	}

	/**
	 * Renders the filter bar portion of a themes section as a JS template.
	 *
	 * The template is only rendered by PHP once, so all actions are prepared at once on the server side.
	 * The filter bar container is rendered by {@see render_template()}.
	 *
	 * @since 4.9.0
	 */
	protected function filter_bar_content_template() {
		?>
		<button type="button" class="button button-primary customize-section-back customize-themes-mobile-back"><?php _e( 'Go to theme sources' ); ?></button>
		<# if ( 'wporg' === data.action ) { #>
			<div class="themes-filter-container">
				<label for="wp-filter-search-input-{{ data.id }}"><?php _e( 'Search themes' ); ?></label>
				<div class="search-form-input">
					<input type="search" id="wp-filter-search-input-{{ data.id }}" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search">
					<div class="search-icon" aria-hidden="true"></div>
					<span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
						<?php
						/* translators: Hidden accessibility text. */
						_e( 'The search results will be updated as you type.' );
						?>
					</span>
				</div>
			</div>
		<# } else { #>
			<div class="themes-filter-container">
				<label for="{{ data.id }}-themes-filter"><?php _e( 'Search themes' ); ?></label>
				<div class="search-form-input">
					<input type="search" id="{{ data.id }}-themes-filter" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search wp-filter-search-themes" />
					<div class="search-icon" aria-hidden="true"></div>
					<span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
						<?php
						/* translators: Hidden accessibility text. */
						_e( 'The search results will be updated as you type.' );
						?>
					</span>
				</div>
			</div>
		<# } #>
		<div class="filter-themes-wrapper">
			<# if ( 'wporg' === data.action ) { #>
			<button type="button" class="button feature-filter-toggle">
				<span class="filter-count-0"><?php _e( 'Filter themes' ); ?></span><span class="filter-count-filters">
					<?php
					/* translators: %s: Number of filters selected. */
					printf( __( 'Filter themes (%s)' ), '<span class="theme-filter-count">0</span>' );
					?>
				</span>
			</button>
			<# } #>
			<div class="filter-themes-count">
				<span class="themes-displayed">
					<?php
					/* translators: %s: Number of themes displayed. */
					printf( __( '%s themes' ), '<span class="theme-count">0</span>' );
					?>
				</span>
			</div>
		</div>
		<?php
	}

	/**
	 * Renders the filter drawer portion of a themes section as a JS template.
	 *
	 * The filter bar container is rendered by {@see render_template()}.
	 *
	 * @since 4.9.0
	 */
	protected function filter_drawer_content_template() {
		/*
		 * @todo Use the .org API instead of the local core feature list.
		 * The .org API is currently outdated and will be reconciled when the .org themes directory is next redesigned.
		 */
		$feature_list = get_theme_feature_list( false );
		?>
		<# if ( 'wporg' === data.action ) { #>
			<div class="filter-drawer filter-details">
				<?php foreach ( $feature_list as $feature_name => $features ) : ?>
					<fieldset class="filter-group">
						<legend><?php echo esc_html( $feature_name ); ?></legend>
						<div class="filter-group-feature">
							<?php foreach ( $features as $feature => $feature_name ) : ?>
								<input type="checkbox" id="filter-id-<?php echo esc_attr( $feature ); ?>" value="<?php echo esc_attr( $feature ); ?>" />
								<label for="filter-id-<?php echo esc_attr( $feature ); ?>"><?php echo esc_html( $feature_name ); ?></label>
							<?php endforeach; ?>
						</div>
					</fieldset>
				<?php endforeach; ?>
			</div>
		<# } #>
		<?php
	}
}

SILENT KILLER Tool