[wp-trac] [WordPress Trac] #58737: Site Health Info doesnt show correct value for file_uploads in debug/clipboard text
WordPress Trac
noreply at wordpress.org
Thu Aug 31 21:47:54 UTC 2023
#58737: Site Health Info doesnt show correct value for file_uploads in
debug/clipboard text
--------------------------+------------------------------
Reporter: Michi91 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 6.3
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Comment (by Presskopp):
Hi @Michi91,
Nice find! I think you're good to go with just:
{{{#!php
'value' => empty( ini_get( 'file_uploads' ) ) ? __( 'Disabled' ) : __(
'Enabled' ),
'debug' => empty( ini_get( 'file_uploads' ) ) ? __( 'Disabled' ) : __(
'Enabled' ),
}}}
I'd like to see you upload your patch. Let's get this into core!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58737#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list