--- a/wp/wp-includes/class-wp-recovery-mode-email-service.php Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/class-wp-recovery-mode-email-service.php Tue Sep 27 16:37:53 2022 +0200
@@ -40,7 +40,7 @@
* @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 $error Error details from `error_get_last()`.
* @param array $extension {
* The extension that caused the error.
*
@@ -101,8 +101,13 @@
* @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.
+ * @param array $error Error details from `error_get_last()`.
+ * @param array $extension {
+ * The extension that caused the error.
+ *
+ * @type string $slug The extension slug. The directory of the plugin or theme.
+ * @type string $type The extension type. Either 'plugin' or 'theme'.
+ * }
* @return bool Whether the email was sent successfully.
*/
private function send_recovery_mode_email( $rate_limit, $error, $extension ) {
@@ -256,7 +261,12 @@
*
* @since 5.2.0
*
- * @param array $extension The extension that caused the error.
+ * @param array $extension {
+ * The extension that caused the error.
+ *
+ * @type string $slug The extension slug. The directory of the plugin or theme.
+ * @type string $type The extension type. Either 'plugin' or 'theme'.
+ * }
* @return string Message about which extension caused the error.
*/
private function get_cause( $extension ) {
@@ -288,7 +298,12 @@
*
* @since 5.3.0
*
- * @param array $extension The extension that caused the error.
+ * @param array $extension {
+ * The extension that caused the error.
+ *
+ * @type string $slug The extension slug. The directory of the plugin or theme.
+ * @type string $type The extension type. Either 'plugin' or 'theme'.
+ * }
* @return array|false A plugin array {@see get_plugins()} or `false` if no plugin was found.
*/
private function get_plugin( $extension ) {
@@ -317,7 +332,12 @@
*
* @since 5.3.0
*
- * @param array $extension The extension that caused the error.
+ * @param array $extension {
+ * The extension that caused the error.
+ *
+ * @type string $slug The extension slug. The directory of the plugin or theme.
+ * @type string $type The extension type. Either 'plugin' or 'theme'.
+ * }
* @return array An associative array of debug information.
*/
private function get_debug( $extension ) {
@@ -338,7 +358,7 @@
),
'theme' => sprintf(
/* translators: 1: Current active theme name. 2: Current active theme version. */
- __( 'Current theme: %1$s (version %2$s)' ),
+ __( 'Active theme: %1$s (version %2$s)' ),
$theme->get( 'Name' ),
$theme->get( 'Version' )
),