SILENT KILLERPanel

Current Path: > home > transcarter > public_html > wp-admin > includes


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter/public_html/wp-admin/includes

NameTypeSizeLast ModifiedActions
admin-filters.php File 7997 bytes September 25 2023 16:06:34.
admin.php File 3628 bytes July 11 2023 04:03:24.
ajax-actions.php File 151532 bytes June 14 2024 14:21:10.
bookmark.php File 11615 bytes May 03 2023 09:03:22.
class-automatic-upgrader-skin.php File 3663 bytes June 22 2023 13:36:26.
class-bulk-plugin-upgrader-skin.php File 2590 bytes May 02 2024 16:20:10.
class-bulk-theme-upgrader-skin.php File 2660 bytes May 02 2024 16:20:10.
class-bulk-upgrader-skin.php File 6753 bytes May 02 2024 16:20:10.
class-core-upgrader.php File 15007 bytes June 04 2024 05:30:16.
class-custom-background.php File 21619 bytes December 07 2023 15:14:28.
class-custom-image-header.php File 49064 bytes March 02 2024 20:15:14.
class-file-upload-upgrader.php File 4163 bytes March 07 2024 05:58:16.
class-ftp-pure.php File 5426 bytes November 01 2019 13:57:02.
class-ftp-sockets-xml.php File 1079 bytes June 15 2024 11:34:14.
class-ftp-sockets.php File 8479 bytes March 22 2022 15:25:04.
class-ftp.php File 27304 bytes February 12 2024 12:07:10.
class-language-pack-upgrader-skin.php File 2870 bytes May 02 2024 16:20:10.
class-language-pack-upgrader.php File 15561 bytes April 30 2024 07:39:08.
class-pclzip.php File 196700 bytes March 31 2024 04:52:16.
class-plugin-installer-skin.php File 12047 bytes May 02 2024 16:20:10.
class-plugin-upgrader-skin.php File 3278 bytes June 14 2023 05:34:28.
class-plugin-upgrader.php File 23334 bytes February 20 2024 07:27:06.
class-theme-installer-skin.php File 12728 bytes May 02 2024 16:20:10.
class-theme-upgrader-skin.php File 4176 bytes February 26 2024 20:35:08.
class-theme-upgrader.php File 26794 bytes January 08 2024 23:19:16.
class-walker-category-checklist.php File 4898 bytes August 24 2023 08:01:16.
class-walker-nav-menu-checklist.php File 5628 bytes September 08 2023 08:32:24.
class-walker-nav-menu-edit.php File 13249 bytes September 14 2023 11:46:20.
class-wp-ajax-upgrader-skin.php File 4193 bytes June 22 2023 13:36:26.
class-wp-application-passwords-list-table.php File 6949 bytes February 16 2024 21:47:12.
class-wp-automatic-updater.php File 61148 bytes June 18 2024 13:41:06.
class-wp-comments-list-table.php File 32439 bytes May 10 2024 17:09:16.
class-wp-community-events.php File 18769 bytes September 12 2023 14:23:18.
class-wp-debug-data.php File 61645 bytes August 13 2024 17:41:18.
class-wp-filesystem-base.php File 24410 bytes February 16 2024 21:47:12.
class-wp-filesystem-direct.php File 18143 bytes February 16 2024 21:47:12.
class-wp-filesystem-ftpext.php File 23101 bytes February 16 2024 21:47:12.
class-wp-filesystem-ftpsockets.php File 18479 bytes February 16 2024 21:47:12.
class-wp-filesystem-ssh2.php File 23310 bytes February 16 2024 21:47:12.
class-wp-importer.php File 7465 bytes August 14 2023 08:59:20.
class-wp-internal-pointers.php File 4577 bytes June 14 2023 11:57:20.
class-wp-links-list-table.php File 9175 bytes May 01 2024 17:01:12.
class-wp-list-table-compat.php File 1497 bytes November 14 2020 16:54:08.
class-wp-list-table.php File 52848 bytes June 25 2024 07:59:22.
class-wp-media-list-table.php File 25569 bytes September 22 2023 18:58:16.
class-wp-ms-sites-list-table.php File 22017 bytes February 26 2024 20:35:08.
class-wp-ms-themes-list-table.php File 28278 bytes May 01 2024 17:01:12.
class-wp-ms-users-list-table.php File 15221 bytes November 15 2023 09:33:26.
class-wp-plugin-install-list-table.php File 24720 bytes June 20 2024 14:32:12.
class-wp-plugins-list-table.php File 57726 bytes May 14 2024 15:49:10.
class-wp-post-comments-list-table.php File 1453 bytes October 04 2022 02:47:16.
class-wp-posts-list-table.php File 63798 bytes June 15 2024 11:34:14.
class-wp-privacy-data-export-requests-list-table.php File 5563 bytes March 10 2022 19:22:02.
class-wp-privacy-data-removal-requests-list-table.php File 5715 bytes September 08 2023 08:32:24.
class-wp-privacy-policy-content.php File 32770 bytes February 29 2024 12:17:08.
class-wp-privacy-requests-table.php File 13974 bytes September 22 2023 18:58:16.
class-wp-screen.php File 37327 bytes June 15 2024 11:34:14.
class-wp-site-health-auto-updates.php File 13505 bytes September 25 2023 23:27:12.
class-wp-site-health.php File 122552 bytes June 18 2024 10:59:14.
class-wp-site-icon.php File 6414 bytes March 02 2024 20:15:14.
class-wp-terms-list-table.php File 21182 bytes June 15 2024 11:34:14.
class-wp-theme-install-list-table.php File 15736 bytes May 01 2024 17:01:12.
class-wp-themes-list-table.php File 10288 bytes February 26 2024 20:35:08.
class-wp-upgrader-skin.php File 7110 bytes May 02 2024 16:20:10.
class-wp-upgrader-skins.php File 1477 bytes October 08 2019 16:19:04.
class-wp-upgrader.php File 47051 bytes June 04 2024 05:30:16.
class-wp-users-list-table.php File 19058 bytes January 10 2024 11:57:16.
comment.php File 6121 bytes July 20 2022 21:15:10.
continents-cities-string.php File 1079 bytes June 15 2024 11:34:14.
continents-cities.php File 20540 bytes September 19 2022 22:24:12.
credits.php File 5941 bytes June 22 2023 13:36:26.
dashboard.php File 70208 bytes February 08 2024 20:36:14.
deprecated.php File 41776 bytes January 10 2024 11:57:16.
edit-tag-messages.php File 1478 bytes December 07 2021 12:20:02.
export.php File 25565 bytes April 15 2024 19:03:10.
file-schema.php File 373 bytes June 15 2024 11:34:14.
file.php File 98415 bytes June 13 2024 19:50:14.
image-edit.php File 43360 bytes June 25 2024 14:32:16.
image.php File 41868 bytes March 02 2024 20:15:14.
import.php File 6676 bytes July 29 2022 08:22:10.
list-table.php File 3802 bytes October 04 2022 02:47:16.
media.php File 118885 bytes June 09 2024 21:53:14.
menu.php File 9618 bytes November 06 2023 09:27:24.
meta-boxes.php File 66134 bytes July 24 2024 16:32:16.
misc.php File 46458 bytes May 02 2024 12:19:14.
ms-admin-filters.php File 1296 bytes September 20 2022 01:51:10.
ms-deprecated.php File 3770 bytes September 20 2022 01:51:10.
ms.php File 33958 bytes May 11 2024 13:47:06.
nav-menu.php File 48898 bytes June 15 2024 11:34:14.
network.php File 26980 bytes May 09 2024 22:09:14.
noop.php File 1148 bytes September 21 2023 00:27:26.
options.php File 4251 bytes February 26 2024 20:18:10.
plugin-install.php File 39950 bytes June 13 2024 19:50:14.
plugin.php File 92911 bytes June 15 2024 11:34:14.
post.php File 81640 bytes June 15 2024 11:34:14.
privacy-tools.php File 33462 bytes June 22 2023 13:36:26.
revision.php File 16142 bytes February 16 2024 21:47:12.
schema.php File 42667 bytes June 13 2024 09:00:12.
screen.php File 6378 bytes June 15 2024 11:34:14.
taxonomy.php File 8424 bytes March 10 2023 07:04:20.
template.php File 98313 bytes June 15 2024 11:34:14.
theme-install.php File 6990 bytes February 26 2024 20:35:08.
theme.php File 47809 bytes June 13 2024 19:50:14.
translation-install.php File 8915 bytes June 13 2024 19:50:14.
update-core.php File 66980 bytes August 06 2025 04:48:36.
update.php File 34578 bytes June 13 2024 19:50:14.
upgrade.php File 113095 bytes June 18 2024 13:39:12.
user.php File 23514 bytes November 17 2023 13:29:26.
widgets.php File 10912 bytes September 09 2023 08:28:26.

Reading File: /home/transcarter/public_html/wp-admin/includes/widgets.php

<?php
/**
 * WordPress Widgets Administration API
 *
 * @package WordPress
 * @subpackage Administration
 */

/**
 * Display list of the available widgets.
 *
 * @since 2.5.0
 *
 * @global array $wp_registered_widgets
 * @global array $wp_registered_widget_controls
 */
function wp_list_widgets() {
	global $wp_registered_widgets, $wp_registered_widget_controls;

	$sort = $wp_registered_widgets;
	usort( $sort, '_sort_name_callback' );
	$done = array();

	foreach ( $sort as $widget ) {
		if ( in_array( $widget['callback'], $done, true ) ) { // We already showed this multi-widget.
			continue;
		}

		$sidebar = is_active_widget( $widget['callback'], $widget['id'], false, false );
		$done[]  = $widget['callback'];

		if ( ! isset( $widget['params'][0] ) ) {
			$widget['params'][0] = array();
		}

		$args = array(
			'widget_id'   => $widget['id'],
			'widget_name' => $widget['name'],
			'_display'    => 'template',
		);

		if ( isset( $wp_registered_widget_controls[ $widget['id'] ]['id_base'] ) && isset( $widget['params'][0]['number'] ) ) {
			$id_base            = $wp_registered_widget_controls[ $widget['id'] ]['id_base'];
			$args['_temp_id']   = "$id_base-__i__";
			$args['_multi_num'] = next_widget_id_number( $id_base );
			$args['_add']       = 'multi';
		} else {
			$args['_add'] = 'single';
			if ( $sidebar ) {
				$args['_hide'] = '1';
			}
		}

		$control_args = array(
			0 => $args,
			1 => $widget['params'][0],
		);
		$sidebar_args = wp_list_widget_controls_dynamic_sidebar( $control_args );

		wp_widget_control( ...$sidebar_args );
	}
}

/**
 * Callback to sort array by a 'name' key.
 *
 * @since 3.1.0
 * @access private
 *
 * @param array $a First array.
 * @param array $b Second array.
 * @return int
 */
function _sort_name_callback( $a, $b ) {
	return strnatcasecmp( $a['name'], $b['name'] );
}

/**
 * Show the widgets and their settings for a sidebar.
 * Used in the admin widget config screen.
 *
 * @since 2.5.0
 *
 * @param string $sidebar      Sidebar ID.
 * @param string $sidebar_name Optional. Sidebar name. Default empty.
 */
function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) {
	add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' );

	$description = wp_sidebar_description( $sidebar );

	echo '<div id="' . esc_attr( $sidebar ) . '" class="widgets-sortables">';

	if ( $sidebar_name ) {
		$add_to = sprintf(
			/* translators: %s: Widgets sidebar name. */
			__( 'Add to: %s' ),
			$sidebar_name
		);
		?>
		<div class="sidebar-name" data-add-to="<?php echo esc_attr( $add_to ); ?>">
			<button type="button" class="handlediv hide-if-no-js" aria-expanded="true">
				<span class="screen-reader-text"><?php echo esc_html( $sidebar_name ); ?></span>
				<span class="toggle-indicator" aria-hidden="true"></span>
			</button>
			<h2><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h2>
		</div>
		<?php
	}

	if ( ! empty( $description ) ) {
		?>
		<div class="sidebar-description">
			<p class="description"><?php echo $description; ?></p>
		</div>
		<?php
	}

	dynamic_sidebar( $sidebar );

	echo '</div>';
}

/**
 * Retrieves the widget control arguments.
 *
 * @since 2.5.0
 *
 * @global array $wp_registered_widgets
 *
 * @param array $params
 * @return array
 */
function wp_list_widget_controls_dynamic_sidebar( $params ) {
	global $wp_registered_widgets;
	static $i = 0;
	++$i;

	$widget_id = $params[0]['widget_id'];
	$id        = isset( $params[0]['_temp_id'] ) ? $params[0]['_temp_id'] : $widget_id;
	$hidden    = isset( $params[0]['_hide'] ) ? ' style="display:none;"' : '';

	$params[0]['before_widget'] = "<div id='widget-{$i}_{$id}' class='widget'$hidden>";
	$params[0]['after_widget']  = '</div>';
	$params[0]['before_title']  = '%BEG_OF_TITLE%'; // Deprecated.
	$params[0]['after_title']   = '%END_OF_TITLE%'; // Deprecated.

	if ( is_callable( $wp_registered_widgets[ $widget_id ]['callback'] ) ) {
		$wp_registered_widgets[ $widget_id ]['_callback'] = $wp_registered_widgets[ $widget_id ]['callback'];
		$wp_registered_widgets[ $widget_id ]['callback']  = 'wp_widget_control';
	}

	return $params;
}

/**
 * @global array $wp_registered_widgets
 *
 * @param string $id_base
 * @return int
 */
function next_widget_id_number( $id_base ) {
	global $wp_registered_widgets;
	$number = 1;

	foreach ( $wp_registered_widgets as $widget_id => $widget ) {
		if ( preg_match( '/' . preg_quote( $id_base, '/' ) . '-([0-9]+)$/', $widget_id, $matches ) ) {
			$number = max( $number, $matches[1] );
		}
	}
	++$number;

	return $number;
}

/**
 * Meta widget used to display the control form for a widget.
 *
 * Called from dynamic_sidebar().
 *
 * @since 2.5.0
 *
 * @global array $wp_registered_widgets
 * @global array $wp_registered_widget_controls
 * @global array $sidebars_widgets
 *
 * @param array $sidebar_args
 * @return array
 */
function wp_widget_control( $sidebar_args ) {
	global $wp_registered_widgets, $wp_registered_widget_controls, $sidebars_widgets;

	$widget_id  = $sidebar_args['widget_id'];
	$sidebar_id = isset( $sidebar_args['id'] ) ? $sidebar_args['id'] : false;
	$key        = $sidebar_id ? array_search( $widget_id, $sidebars_widgets[ $sidebar_id ], true ) : '-1'; // Position of widget in sidebar.
	$control    = isset( $wp_registered_widget_controls[ $widget_id ] ) ? $wp_registered_widget_controls[ $widget_id ] : array();
	$widget     = $wp_registered_widgets[ $widget_id ];

	$id_format     = $widget['id'];
	$widget_number = isset( $control['params'][0]['number'] ) ? $control['params'][0]['number'] : '';
	$id_base       = isset( $control['id_base'] ) ? $control['id_base'] : $widget_id;
	$width         = isset( $control['width'] ) ? $control['width'] : '';
	$height        = isset( $control['height'] ) ? $control['height'] : '';
	$multi_number  = isset( $sidebar_args['_multi_num'] ) ? $sidebar_args['_multi_num'] : '';
	$add_new       = isset( $sidebar_args['_add'] ) ? $sidebar_args['_add'] : '';

	$before_form           = isset( $sidebar_args['before_form'] ) ? $sidebar_args['before_form'] : '<form method="post">';
	$after_form            = isset( $sidebar_args['after_form'] ) ? $sidebar_args['after_form'] : '</form>';
	$before_widget_content = isset( $sidebar_args['before_widget_content'] ) ? $sidebar_args['before_widget_content'] : '<div class="widget-content">';
	$after_widget_content  = isset( $sidebar_args['after_widget_content'] ) ? $sidebar_args['after_widget_content'] : '</div>';

	$query_arg = array( 'editwidget' => $widget['id'] );
	if ( $add_new ) {
		$query_arg['addnew'] = 1;
		if ( $multi_number ) {
			$query_arg['num']  = $multi_number;
			$query_arg['base'] = $id_base;
		}
	} else {
		$query_arg['sidebar'] = $sidebar_id;
		$query_arg['key']     = $key;
	}

	/*
	 * We aren't showing a widget control, we're outputting a template
	 * for a multi-widget control.
	 */
	if ( isset( $sidebar_args['_display'] ) && 'template' === $sidebar_args['_display'] && $widget_number ) {
		// number == -1 implies a template where id numbers are replaced by a generic '__i__'.
		$control['params'][0]['number'] = -1;
		// With id_base widget ID's are constructed like {$id_base}-{$id_number}.
		if ( isset( $control['id_base'] ) ) {
			$id_format = $control['id_base'] . '-__i__';
		}
	}

	$wp_registered_widgets[ $widget_id ]['callback'] = $wp_registered_widgets[ $widget_id ]['_callback'];
	unset( $wp_registered_widgets[ $widget_id ]['_callback'] );

	$widget_title = esc_html( strip_tags( $sidebar_args['widget_name'] ) );
	$has_form     = 'noform';

	echo $sidebar_args['before_widget'];
	?>
	<div class="widget-top">
	<div class="widget-title-action">
		<button type="button" class="widget-action hide-if-no-js" aria-expanded="false">
			<span class="screen-reader-text edit">
				<?php
				/* translators: Hidden accessibility text. %s: Widget title. */
				printf( __( 'Edit widget: %s' ), $widget_title );
				?>
			</span>
			<span class="screen-reader-text add">
				<?php
				/* translators: Hidden accessibility text. %s: Widget title. */
				printf( __( 'Add widget: %s' ), $widget_title );
				?>
			</span>
			<span class="toggle-indicator" aria-hidden="true"></span>
		</button>
		<a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>">
			<span class="edit"><?php _ex( 'Edit', 'widget' ); ?></span>
			<span class="add"><?php _ex( 'Add', 'widget' ); ?></span>
			<span class="screen-reader-text"><?php echo $widget_title; ?></span>
		</a>
	</div>
	<div class="widget-title"><h3><?php echo $widget_title; ?><span class="in-widget-title"></span></h3></div>
	</div>

	<div class="widget-inside">
	<?php echo $before_form; ?>
	<?php echo $before_widget_content; ?>
	<?php
	if ( isset( $control['callback'] ) ) {
		$has_form = call_user_func_array( $control['callback'], $control['params'] );
	} else {
		echo "\t\t<p>" . __( 'There are no options for this widget.' ) . "</p>\n";
	}

	$noform_class = '';
	if ( 'noform' === $has_form ) {
		$noform_class = ' widget-control-noform';
	}
	?>
	<?php echo $after_widget_content; ?>
	<input type="hidden" name="widget-id" class="widget-id" value="<?php echo esc_attr( $id_format ); ?>" />
	<input type="hidden" name="id_base" class="id_base" value="<?php echo esc_attr( $id_base ); ?>" />
	<input type="hidden" name="widget-width" class="widget-width" value="<?php echo esc_attr( $width ); ?>" />
	<input type="hidden" name="widget-height" class="widget-height" value="<?php echo esc_attr( $height ); ?>" />
	<input type="hidden" name="widget_number" class="widget_number" value="<?php echo esc_attr( $widget_number ); ?>" />
	<input type="hidden" name="multi_number" class="multi_number" value="<?php echo esc_attr( $multi_number ); ?>" />
	<input type="hidden" name="add_new" class="add_new" value="<?php echo esc_attr( $add_new ); ?>" />

	<div class="widget-control-actions">
		<div class="alignleft">
			<button type="button" class="button-link button-link-delete widget-control-remove"><?php _e( 'Delete' ); ?></button>
			<span class="widget-control-close-wrapper">
				| <button type="button" class="button-link widget-control-close"><?php _e( 'Done' ); ?></button>
			</span>
		</div>
		<div class="alignright<?php echo $noform_class; ?>">
			<?php submit_button( __( 'Save' ), 'primary widget-control-save right', 'savewidget', false, array( 'id' => 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?>
			<span class="spinner"></span>
		</div>
		<br class="clear" />
	</div>
	<?php echo $after_form; ?>
	</div>

	<div class="widget-description">
	<?php
	$widget_description = wp_widget_description( $widget_id );
	echo ( $widget_description ) ? "$widget_description\n" : "$widget_title\n";
	?>
	</div>
	<?php
	echo $sidebar_args['after_widget'];

	return $sidebar_args;
}

/**
 * @param string $classes
 * @return string
 */
function wp_widgets_access_body_class( $classes ) {
	return "$classes widgets_access ";
}

SILENT KILLER Tool