🚀 Auto Backup WP
var
/
www
/
vhosts
/
construcciondepiscinas.top
/
httpdocs
/
wp-includes
/
Name
Size
Perm
Action
assets/
DIR
drwxr-xr-x
🗑️
📝
🔧
block-patterns/
DIR
drwxr-xr-x
🗑️
📝
🔧
block-supports/
DIR
drwxr-xr-x
🗑️
📝
🔧
blocks/
DIR
drwxr-xr-x
🗑️
📝
🔧
certificates/
DIR
drwxr-xr-x
🗑️
📝
🔧
css/
DIR
drwxr-xr-x
🗑️
📝
🔧
customize/
DIR
drwxr-xr-x
🗑️
📝
🔧
fonts/
DIR
drwxr-xr-x
🗑️
📝
🔧
ID3/
DIR
drwxr-xr-x
🗑️
📝
🔧
images/
DIR
drwxr-xr-x
🗑️
📝
🔧
IXR/
DIR
drwxr-xr-x
🗑️
📝
🔧
js/
DIR
drwxr-xr-x
🗑️
📝
🔧
php-compat/
DIR
drwxr-xr-x
🗑️
📝
🔧
PHPMailer/
DIR
drwxr-xr-x
🗑️
📝
🔧
pomo/
DIR
drwxr-xr-x
🗑️
📝
🔧
random_compat/
DIR
drwxr-xr-x
🗑️
📝
🔧
Requests/
DIR
drwxr-xr-x
🗑️
📝
🔧
rest-api/
DIR
drwxr-xr-x
🗑️
📝
🔧
SimplePie/
DIR
drwxr-xr-x
🗑️
📝
🔧
sitemaps/
DIR
drwxr-xr-x
🗑️
📝
🔧
sodium_compat/
DIR
drwxr-xr-x
🗑️
📝
🔧
style-engine/
DIR
drwxr-xr-x
🗑️
📝
🔧
Text/
DIR
drwxr-xr-x
🗑️
📝
🔧
theme-compat/
DIR
drwxr-xr-x
🗑️
📝
🔧
widgets/
DIR
drwxr-xr-x
🗑️
📝
🔧
author-template.php
18750B
-rw-r--r--
🗑️
✏️
📝
🔧
block-i18n.json
316B
-rw-r--r--
🗑️
✏️
📝
🔧
block-template.php
11505B
-rw-r--r--
🗑️
✏️
📝
🔧
bookmark-template.php
12904B
-rw-r--r--
🗑️
✏️
📝
🔧
bookmark.php
15346B
-rw-r--r--
🗑️
✏️
📝
🔧
canonical.php
33330B
-rw-r--r--
🗑️
✏️
📝
🔧
category-template.php
56920B
-rw-r--r--
🗑️
✏️
📝
🔧
class-http.php
367B
-rw-r--r--
🗑️
✏️
📝
🔧
class-snoopy.php
37715B
-rw-r--r--
🗑️
✏️
📝
🔧
class-walker-category.php
8471B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-application-passwords.php
12262B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-block-parser.php
15202B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-block-patterns-registry.php
7852B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-block-type-registry.php
5013B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-block-type.php
13991B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-customize-section.php
10999B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-http-ixr-client.php
3501B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-http-requests-hooks.php
2010B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-image-editor-imagick.php
27874B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-image-editor.php
17061B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-post-type.php
25781B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-post.php
6484B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-roles.php
8578B
-rw-r--r--
🗑️
✏️
📝
🔧
class-wp-term-query.php
39932B
-rw-r--r--
🗑️
✏️
📝
🔧
class.wp-scripts.php
343B
-rw-r--r--
🗑️
✏️
📝
🔧
embed-template.php
338B
-rw-r--r--
🗑️
✏️
📝
🔧
feed-atom-comments.php
5444B
-rw-r--r--
🗑️
✏️
📝
🔧
feed-rss2-comments.php
4070B
-rw-r--r--
🗑️
✏️
📝
🔧
feed-rss2.php
3799B
-rw-r--r--
🗑️
✏️
📝
🔧
formatting.php
332005B
-rw-r--r--
🗑️
✏️
📝
🔧
functions.wp-styles.php
8571B
-rw-r--r--
🗑️
✏️
📝
🔧
general-template.php
167424B
-rw-r--r--
🗑️
✏️
📝
🔧
https-migration.php
4730B
-rw-r--r--
🗑️
✏️
📝
🔧
kses.php
69739B
-rw-r--r--
🗑️
✏️
📝
🔧
l10n.php
60333B
-rw-r--r--
🗑️
✏️
📝
🔧
link-template.php
150140B
-rw-r--r--
🗑️
✏️
📝
🔧
load.php
50976B
-rw-r--r--
🗑️
✏️
📝
🔧
media-template.php
60509B
-rw-r--r--
🗑️
✏️
📝
🔧
media.php
192328B
-rw-r--r--
🗑️
✏️
📝
🔧
meta.php
63019B
-rw-r--r--
🗑️
✏️
📝
🔧
ms-load.php
19838B
-rw-r--r--
🗑️
✏️
📝
🔧
ms-site.php
39875B
-rw-r--r--
🗑️
✏️
📝
🔧
post-formats.php
7079B
-rw-r--r--
🗑️
✏️
📝
🔧
post-template.php
65860B
-rw-r--r--
🗑️
✏️
📝
🔧
post-thumbnail-template.php
10902B
-rw-r--r--
🗑️
✏️
📝
🔧
post.php
275540B
-rw-r--r--
🗑️
✏️
📝
🔧
registration.php
200B
-rw-r--r--
🗑️
✏️
📝
🔧
sitemaps.php
3238B
-rw-r--r--
🗑️
✏️
📝
🔧
template-canvas.php
592B
-rw-r--r--
🗑️
✏️
📝
🔧
template.php
23335B
-rw-r--r--
🗑️
✏️
📝
🔧
theme-i18n.json
1151B
-rw-r--r--
🗑️
✏️
📝
🔧
theme.json
9408B
-rw-r--r--
🗑️
✏️
📝
🔧
vars.php
5870B
-rw-r--r--
🗑️
✏️
📝
🔧
wlwmanifest.xml
1045B
-rw-r--r--
🗑️
✏️
📝
🔧
<?php /** * HTTPS migration functions. * * @package WordPress * @since 5.7.0 */ /** * Checks whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart. * * If a WordPress site had its URL changed from HTTP to HTTPS, by default this will return `true`, causing WordPress to * add frontend filters to replace insecure site URLs that may be present in older database content. The * {@see 'wp_should_replace_insecure_home_url'} filter can be used to modify that behavior. * * @since 5.7.0 * * @return bool True if insecure URLs should replaced, false otherwise. */ function wp_should_replace_insecure_home_url() { $should_replace_insecure_home_url = wp_is_using_https() && get_option( 'https_migration_required' ) // For automatic replacement, both 'home' and 'siteurl' need to not only use HTTPS, they also need to be using // the same domain. && wp_parse_url( home_url(), PHP_URL_HOST ) === wp_parse_url( site_url(), PHP_URL_HOST ); /** * Filters whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart. * * If a WordPress site had its URL changed from HTTP to HTTPS, by default this will return `true`. This filter can * be used to disable that behavior, e.g. after having replaced URLs manually in the database. * * @since 5.7.0 * * @param bool $should_replace_insecure_home_url Whether insecure HTTP URLs to the site should be replaced. */ return apply_filters( 'wp_should_replace_insecure_home_url', $should_replace_insecure_home_url ); } /** * Replaces insecure HTTP URLs to the site in the given content, if configured to do so. * * This function replaces all occurrences of the HTTP version of the site's URL with its HTTPS counterpart, if * determined via {@see wp_should_replace_insecure_home_url()}. * * @since 5.7.0 * * @param string $content Content to replace URLs in. * @return string Filtered content. */ function wp_replace_insecure_home_url( $content ) { if ( ! wp_should_replace_insecure_home_url() ) { return $content; } $https_url = home_url( '', 'https' ); $http_url = str_replace( 'https://', 'http://', $https_url ); // Also replace potentially escaped URL. $escaped_https_url = str_replace( '/', '\/', $https_url ); $escaped_http_url = str_replace( '/', '\/', $http_url ); return str_replace( array( $http_url, $escaped_http_url, ), array( $https_url, $escaped_https_url, ), $content ); } /** * Update the 'home' and 'siteurl' option to use the HTTPS variant of their URL. * * If this update does not result in WordPress recognizing that the site is now using HTTPS (e.g. due to constants * overriding the URLs used), the changes will be reverted. In such a case the function will return false. * * @since 5.7.0 * * @return bool True on success, false on failure. */ function wp_update_urls_to_https() { // Get current URL options. $orig_home = get_option( 'home' ); $orig_siteurl = get_option( 'siteurl' ); // Get current URL options, replacing HTTP with HTTPS. $home = str_replace( 'http://', 'https://', $orig_home ); $siteurl = str_replace( 'http://', 'https://', $orig_siteurl ); // Update the options. update_option( 'home', $home ); update_option( 'siteurl', $siteurl ); if ( ! wp_is_using_https() ) { // If this did not result in the site recognizing HTTPS as being used, // revert the change and return false. update_option( 'home', $orig_home ); update_option( 'siteurl', $orig_siteurl ); return false; } // Otherwise the URLs were successfully changed to use HTTPS. return true; } /** * Updates the 'https_migration_required' option if needed when the given URL has been updated from HTTP to HTTPS. * * If this is a fresh site, a migration will not be required, so the option will be set as `false`. * * This is hooked into the {@see 'update_option_home'} action. * * @since 5.7.0 * @access private * * @param mixed $old_url Previous value of the URL option. * @param mixed $new_url New value of the URL option. */ function wp_update_https_migration_required( $old_url, $new_url ) { // Do nothing if WordPress is being installed. if ( wp_installing() ) { return; } // Delete/reset the option if the new URL is not the HTTPS version of the old URL. if ( untrailingslashit( (string) $old_url ) !== str_replace( 'https://', 'http://', untrailingslashit( (string) $new_url ) ) ) { delete_option( 'https_migration_required' ); return; } // If this is a fresh site, there is no content to migrate, so do not require migration. $https_migration_required = get_option( 'fresh_site' ) ? false : true; update_option( 'https_migration_required', $https_migration_required ); }
Terminal Command