diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 2a4995507f..74b1153df8 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -3267,7 +3267,14 @@ function edit_form_image_editor( $post ) { 'textarea_name' => 'content', 'textarea_rows' => 5, 'media_buttons' => false, - 'tinymce' => false, + /** + * Filter the TinyMCE argument for the media description field on the attachment details screen. + * + * @since 6.6.0 + * + * @param bool Activate TinyMCE in media description field. Default false. + */ + 'tinymce' => apply_filters( 'activate_tinymce_for_media_description', false ), 'quicktags' => $quicktags_settings, ); diff --git a/wp-includes/version.php b/wp-includes/version.php index a7928bb0d8..21af687abe 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta1-58371'; +$wp_version = '6.6-beta1-58372'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.