Commit 315fdf551f for wordpress.org
commit 315fdf551f773d1a4a8e4fe76c1ab5ebc5bbfe87
Author: audrasjb <audrasjb@git.wordpress.org>
Date: Mon Nov 9 22:41:57 2026 +0000
Administration: Restore the full-width upload folder row on Settings > Media.
On Settings > Media, "Organize my uploads into month- and year-based folders" wraps onto three lines as soon as any plugin registers a field in the Uploads settings section.
The row spanned both columns unconditionally until [40823] which moved it inside the upload-path conditional in order to change its `th` into a `td`. That carried `colspan="2"` onto the editable-paths branch only.
This changeset closes the conditional above the row and restore the single unconditional cell, keeping the td/td-full markup [40823] introduced.
Follow-up to [40823].
Props imath, dpknauss, dhruvang21, audrasjb, dilip2615, im3dabasia1.
Fixes #51190.
Built from https://develop.svn.wordpress.org/trunk@65359
git-svn-id: http://core.svn.wordpress.org/trunk@64498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php
index d7decddf01..35661427c1 100644
--- a/wp-admin/options-media.php
+++ b/wp-admin/options-media.php
@@ -140,12 +140,9 @@ if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) :
<p class="description"><?php _e( 'Configuring this is optional. By default, it should be blank.' ); ?></p>
</td>
</tr>
+<?php endif; ?>
<tr>
<td colspan="2" class="td-full">
-<?php else : ?>
-<tr>
-<td class="td-full">
-<?php endif; ?>
<label for="uploads_use_yearmonth_folders">
<input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1"<?php checked( '1', get_option( 'uploads_use_yearmonth_folders' ) ); ?> />
<?php _e( 'Organize my uploads into month- and year-based folders' ); ?>
diff --git a/wp-includes/version.php b/wp-includes/version.php
index e6ba6e96f8..3bd2443834 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-beta4-65357';
+$wp_version = '7.2-beta4-65359';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.