/home/altere25/highwoodoutdoorpool.com/wp-includes
NameSizeModeActions
assets/-0755rm
blocks/-0755rm
certificates/-0755rm
css/-0755rm
customize/-0755rm
fonts/-0755rm
ID3/-0755rm
images/-0755rm
IXR/-0755rm
js/-0755rm
pomo/-0755rm
random_compat/-0755rm
Requests/-0755rm
rest-api/-0755rm
SimplePie/-0755rm
sodium_compat/-0755rm
Text/-0755rm
theme-compat/-0755rm
widgets/-0755rm
.htaccess1780644editdlrm
admin-bar.php313150644editdlrm
atomlib.php118400644editdlrm
author-template.php170370644editdlrm
blocks.php192620644editdlrm
bookmark-template.php125030644editdlrm
bookmark.php150140644editdlrm
cache.php88010644editdlrm
canonical.php296280644editdlrm
capabilities.php346850644editdlrm
category-template.php530880644editdlrm
category.php122020644editdlrm
class-feed.php5290644editdlrm
class-http.php391080644editdlrm
class-IXR.php25430644editdlrm
class-json.php434470644editdlrm
class-oembed.php4070644editdlrm
class-phpass.php73190644editdlrm
class-phpmailer.php1485890644editdlrm
class-pop3.php209190644editdlrm
class-requests.php298040644editdlrm
class-simplepie.php892610644editdlrm
class-smtp.php409190644editdlrm
class-snoopy.php377850644editdlrm
class-walker-category-dropdown.php21270644editdlrm
class-walker-category.php78740644editdlrm
class-walker-comment.php136830644editdlrm
class-walker-nav-menu.php86500644editdlrm
class-walker-page-dropdown.php22990644editdlrm
class-walker-page.php70330644editdlrm
class-wp-admin-bar.php171850644editdlrm
class-wp-ajax-response.php52360644editdlrm
class-wp-block-parser.php152150644editdlrm
class-wp-block-styles-registry.php47280644editdlrm
class-wp-block-type-registry.php50910644editdlrm
class-wp-block-type.php48150644editdlrm
class-wp-comment-query.php445220644editdlrm
class-wp-comment.php89680644editdlrm
class-wp-customize-control.php255050644editdlrm
class-wp-customize-manager.php2001560644editdlrm
class-wp-customize-nav-menus.php549650644editdlrm
class-wp-customize-panel.php104060644editdlrm
class-wp-customize-section.php109740644editdlrm
class-wp-customize-setting.php296800644editdlrm
class-wp-customize-widgets.php669740644editdlrm
class-wp-date-query.php352800644editdlrm
class-wp-dependency.php25000644editdlrm
class-wp-editor.php706650644editdlrm
class-wp-embed.php148020644editdlrm
class-wp-error.php49230644editdlrm
class-wp-fatal-error-handler.php74160644editdlrm
class-wp-feed-cache-transient.php25600644editdlrm
class-wp-feed-cache.php7490644editdlrm
class-wp-hook.php140510644editdlrm
class-wp-http-cookie.php71460644editdlrm
class-wp-http-curl.php123300644editdlrm
class-wp-http-encoding.php65100644editdlrm
class-wp-http-ixr-client.php33390644editdlrm
class-wp-http-proxy.php60770644editdlrm
class-wp-http-requests-hooks.php19500644editdlrm
class-wp-http-requests-response.php43430644editdlrm
class-wp-http-response.php29510644editdlrm
class-wp-http-streams.php160790644editdlrm
class-wp-image-editor-gd.php141040644editdlrm
class-wp-image-editor-imagick.php290520644editdlrm
class-wp-image-editor.php140160644editdlrm
class-wp-list-util.php64070644editdlrm
class-wp-locale-switcher.php50220644editdlrm
class-wp-locale.php139140644editdlrm
class-wp-matchesmapregex.php18050644editdlrm
class-wp-meta-query.php278550644editdlrm
class-wp-metadata-lazyloader.php53860644editdlrm
class-wp-network-query.php183720644editdlrm
class-wp-network.php123760644editdlrm
class-wp-object-cache.php128480644editdlrm
class-wp-oembed-controller.php60270644editdlrm
class-wp-oembed.php304760644editdlrm
class-wp-paused-extensions-storage.php49310644editdlrm
class-wp-post-type.php195330644editdlrm
class-wp-post.php64410644editdlrm
class-wp-query.php1327830644editdlrm
class-wp-recovery-mode-cookie-service.php64570644editdlrm
class-wp-recovery-mode-email-service.php101210644editdlrm
class-wp-recovery-mode-key-service.php42820644editdlrm
class-wp-recovery-mode-link-service.php33680644editdlrm
class-wp-recovery-mode.php113560644editdlrm
class-wp-rewrite.php608310644editdlrm
class-wp-role.php27920644editdlrm
class-wp-roles.php84060644editdlrm
class-wp-session-tokens.php74310644editdlrm
class-wp-simplepie-file.php23280644editdlrm
class-wp-simplepie-sanitize-kses.php17750644editdlrm
class-wp-site-query.php285320644editdlrm
class-wp-site.php73670644editdlrm
class-wp-tax-query.php194420644editdlrm
class-wp-taxonomy.php108420644editdlrm
class-wp-term-query.php355270644editdlrm
class-wp-term.php52650644editdlrm
class-wp-text-diff-renderer-inline.php7160644editdlrm
class-wp-text-diff-renderer-table.php168310644editdlrm
class-wp-theme.php517040644editdlrm
class-wp-user-meta-session-tokens.php29900644editdlrm
class-wp-user-query.php313020644editdlrm
class-wp-user-request.php19960644editdlrm
class-wp-user.php218720644editdlrm
class-wp-walker.php127220644editdlrm
class-wp-widget-factory.php26200644editdlrm
class-wp-widget.php179020644editdlrm
class-wp-xmlrpc-server.php2103170644editdlrm
class-wp.php246880644editdlrm
class.wp-dependencies.php126740644editdlrm
class.wp-scripts.php181500644editdlrm
class.wp-styles.php106820644editdlrm
comment-template.php929920644editdlrm
comment.php1176410644editdlrm
compat.php129890644editdlrm
cron.php326670644editdlrm
date.php4060644editdlrm
default-constants.php101570644editdlrm
default-filters.php261100644editdlrm
default-widgets.php21230644editdlrm
deprecated.php1149450644editdlrm
embed-template.php3410644editdlrm
embed.php476260644editdlrm
error-protection.php33850644editdlrm
feed-atom-comments.php54440644editdlrm
feed-atom.php31020644editdlrm
feed-rdf.php26680644editdlrm
feed-rss.php11890644editdlrm
feed-rss2-comments.php40880644editdlrm
feed-rss2.php37990644editdlrm
feed.php220600644editdlrm
formatting.php2990060644editdlrm
functions.php2317760644editdlrm
functions.wp-scripts.php128420644editdlrm
functions.wp-styles.php82450644editdlrm
general-template.php1529290644editdlrm
http.php243170644editdlrm
kses.php590040644editdlrm
l10n.php538290644editdlrm
link-template.php1437950644editdlrm
load.php439550644editdlrm
locale.php1620644editdlrm
media-template.php581040644editdlrm
media.php1513450644editdlrm
meta.php504930644editdlrm
ms-blogs.php249860644editdlrm
ms-default-constants.php47870644editdlrm
ms-default-filters.php64280644editdlrm
ms-deprecated.php211220644editdlrm
ms-files.php26410644editdlrm
ms-functions.php894380644editdlrm
ms-load.php197970644editdlrm
ms-network.php36580644editdlrm
ms-settings.php41220644editdlrm
ms-site.php430330644editdlrm
nav-menu-template.php221500644editdlrm
nav-menu.php417450644editdlrm
option.php708900644editdlrm
pluggable-deprecated.php62630644editdlrm
pluggable.php1013050644editdlrm
plugin.php322010644editdlrm
post-formats.php70690644editdlrm
post-template.php631600644editdlrm
post-thumbnail-template.php90210644editdlrm
post.php2465730644editdlrm
query.php342180644editdlrm
registration-functions.php2020644editdlrm
registration.php2020644editdlrm
rest-api.php473600644editdlrm
revision.php217100644editdlrm
rewrite.php180480644editdlrm
rss-functions.php2110644editdlrm
rss.php232080644editdlrm
script-loader.php1049150644editdlrm
session.php2580644editdlrm
shortcodes.php223550644editdlrm
spl-autoload-compat.php4430644editdlrm
taxonomy.php1583470644editdlrm
template-loader.php33520644editdlrm
template.php210460644editdlrm
theme.php1049460644editdlrm
update.php256890644editdlrm
user.php1325800644editdlrm
vars.php58200644editdlrm
version.php7660644editdlrm
widgets.php587850644editdlrm
wlwmanifest.xml10450644editdlrm
wp-db.php1039120644editdlrm
wp-diff.php6470644editdlrm
Edit: /home/altere25/highwoodoutdoorpool.com/wp-includes/class-wp-recovery-mode-email-service.php (10121B)
link_service = $link_service; } /** * Sends the recovery mode email if the rate limit has not been sent. * * @since 5.2.0 * * @param int $rate_limit Number of seconds before another email can be sent. * @param array $error Error details from {@see error_get_last()} * @param array $extension The extension that caused the error. { * @type string $slug The extension slug. The plugin or theme's directory. * @type string $type The extension type. Either 'plugin' or 'theme'. * } * @return true|WP_Error True if email sent, WP_Error otherwise. */ public function maybe_send_recovery_mode_email( $rate_limit, $error, $extension ) { $last_sent = get_option( self::RATE_LIMIT_OPTION ); if ( ! $last_sent || time() > $last_sent + $rate_limit ) { if ( ! update_option( self::RATE_LIMIT_OPTION, time() ) ) { return new WP_Error( 'storage_error', __( 'Could not update the email last sent time.' ) ); } $sent = $this->send_recovery_mode_email( $rate_limit, $error, $extension ); if ( $sent ) { return true; } return new WP_Error( 'email_failed', sprintf( /* translators: %s: mail() */ __( 'The email could not be sent. Possible reason: your host may have disabled the %s function.' ), 'mail()' ) ); } $err_message = sprintf( /* translators: 1. Last sent as a human time diff, 2. Wait time as a human time diff. */ __( 'A recovery link was already sent %1$s ago. Please wait another %2$s before requesting a new email.' ), human_time_diff( $last_sent ), human_time_diff( $last_sent + $rate_limit ) ); return new WP_Error( 'email_sent_already', $err_message ); } /** * Clears the rate limit, allowing a new recovery mode email to be sent immediately. * * @since 5.2.0 * * @return bool True on success, false on failure. */ public function clear_rate_limit() { return delete_option( self::RATE_LIMIT_OPTION ); } /** * Sends the Recovery Mode email to the site admin email address. * * @since 5.2.0 * * @param int $rate_limit Number of seconds before another email can be sent. * @param array $error Error details from {@see error_get_last()} * @param array $extension Extension that caused the error. * * @return bool Whether the email was sent successfully. */ private function send_recovery_mode_email( $rate_limit, $error, $extension ) { $url = $this->link_service->generate_url(); $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); $switched_locale = false; // The switch_to_locale() function is loaded before it can actually be used. if ( function_exists( 'switch_to_locale' ) && isset( $GLOBALS['wp_locale_switcher'] ) ) { $switched_locale = switch_to_locale( get_locale() ); } if ( $extension ) { $cause = $this->get_cause( $extension ); $details = wp_strip_all_tags( wp_get_extension_error_description( $error ) ); if ( $details ) { $header = __( 'Error Details' ); $details = "\n\n" . $header . "\n" . str_pad( '', strlen( $header ), '=' ) . "\n" . $details; } } else { $cause = ''; $details = ''; } /** * Filters the support message sent with the the fatal error protection email. * * @since 5.2.0 * * @param $message string The Message to include in the email. */ $support = apply_filters( 'recovery_email_support_info', __( 'Please contact your host for assistance with investigating this issue further.' ) ); /** * Filters the debug information included in the fatal error protection email. * * @since 5.3.0 * * @param $message array An associated array of debug information. */ $debug = apply_filters( 'recovery_email_debug_info', $this->get_debug( $extension ) ); /* translators: Do not translate LINK, EXPIRES, CAUSE, DETAILS, SITEURL, PAGEURL, SUPPORT. DEBUG: those are placeholders. */ $message = __( 'Howdy! Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. ###CAUSE### First, visit your website (###SITEURL###) and check for any visible issues. Next, visit the page where the error was caught (###PAGEURL###) and check for any visible issues. ###SUPPORT### If your site appears broken and you can\'t access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further. ###LINK### To keep your site safe, this link will expire in ###EXPIRES###. Don\'t worry about that, though: a new link will be emailed to you if the error occurs again after it expires. When seeking help with this issue, you may be asked for some of the following information: ###DEBUG### ###DETAILS###' ); $message = str_replace( array( '###LINK###', '###EXPIRES###', '###CAUSE###', '###DETAILS###', '###SITEURL###', '###PAGEURL###', '###SUPPORT###', '###DEBUG###', ), array( $url, human_time_diff( time() + $rate_limit ), $cause ? "\n{$cause}\n" : "\n", $details, home_url( '/' ), home_url( $_SERVER['REQUEST_URI'] ), $support, implode( "\r\n", $debug ), ), $message ); $email = array( 'to' => $this->get_recovery_mode_email_address(), /* translators: %s: Site title. */ 'subject' => __( '[%s] Your Site is Experiencing a Technical Issue' ), 'message' => $message, 'headers' => '', ); /** * Filter the contents of the Recovery Mode email. * * @since 5.2.0 * * @param array $email Used to build wp_mail(). * @param string $url URL to enter recovery mode. */ $email = apply_filters( 'recovery_mode_email', $email, $url ); $sent = wp_mail( $email['to'], wp_specialchars_decode( sprintf( $email['subject'], $blogname ) ), $email['message'], $email['headers'] ); if ( $switched_locale ) { restore_previous_locale(); } return $sent; } /** * Gets the email address to send the recovery mode link to. * * @since 5.2.0 * * @return string Email address to send recovery mode link to. */ private function get_recovery_mode_email_address() { if ( defined( 'RECOVERY_MODE_EMAIL' ) && is_email( RECOVERY_MODE_EMAIL ) ) { return RECOVERY_MODE_EMAIL; } return get_option( 'admin_email' ); } /** * Gets the description indicating the possible cause for the error. * * @since 5.2.0 * * @param array $extension The extension that caused the error. * @return string Message about which extension caused the error. */ private function get_cause( $extension ) { if ( 'plugin' === $extension['type'] ) { $plugin = $this->get_plugin( $extension ); if ( false === $plugin ) { $name = $extension['slug']; } else { $name = $plugin['Name']; } /* translators: %s: Plugin name. */ $cause = sprintf( __( 'In this case, WordPress caught an error with one of your plugins, %s.' ), $name ); } else { $theme = wp_get_theme( $extension['slug'] ); $name = $theme->exists() ? $theme->display( 'Name' ) : $extension['slug']; /* translators: %s: Theme name. */ $cause = sprintf( __( 'In this case, WordPress caught an error with your theme, %s.' ), $name ); } return $cause; } /** * Return the details for a single plugin based on the extension data from an error. * * @since 5.3.0 * * @param array $extension The extension that caused the error. * @return bool|array A plugin array {@see get_plugins()} or `false` if no plugin was found. */ private function get_plugin( $extension ) { if ( ! function_exists( 'get_plugins' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } $plugins = get_plugins(); // Assume plugin main file name first since it is a common convention. if ( isset( $plugins[ "{$extension['slug']}/{$extension['slug']}.php" ] ) ) { return $plugins[ "{$extension['slug']}/{$extension['slug']}.php" ]; } else { foreach ( $plugins as $file => $plugin_data ) { if ( 0 === strpos( $file, "{$extension['slug']}/" ) || $file === $extension['slug'] ) { return $plugin_data; } } } return false; } /** * Return debug information in an easy to manipulate format. * * @since 5.3.0 * * @param array $extension The extension that caused the error. * @return array An associative array of debug information. */ private function get_debug( $extension ) { $theme = wp_get_theme(); $wp_version = get_bloginfo( 'version' ); if ( $extension ) { $plugin = $this->get_plugin( $extension ); } else { $plugin = null; } $debug = array( /* translators: %s: Current WordPress version number. */ 'wp' => sprintf( __( 'WordPress version %s' ), $wp_version ), 'theme' => sprintf( /* translators: 1: Current active theme name. 2: Current active theme version. */ __( 'Current theme: %1$s (version %2$s)' ), $theme->get( 'Name' ), $theme->get( 'Version' ) ), ); if ( null !== $plugin ) { $debug['plugin'] = sprintf( /* translators: 1: The failing plugins name. 2: The failing plugins version. */ __( 'Current plugin: %1$s (version %2$s)' ), $plugin['Name'], $plugin['Version'] ); } $debug['php'] = sprintf( /* translators: %s: The currently used PHP version. */ __( 'PHP version %s' ), PHP_VERSION ); return $debug; } }