[wp-trac] [WordPress Trac] #36499: featured image, image upload (was: featured image)
WordPress Trac
noreply at wordpress.org
Tue May 3 01:25:44 UTC 2016
#36499: featured image, image upload
-------------------------------+------------------------------
Reporter: diskmandotnet | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by tomascot):
I had the same problem which is caused by the ini_set on line 305 in the
includes/load.php file. The error was related to the hosting security
configuration, particularly because the ini_set function was disabled.
Searching on the web I found that it's a common problem and reading in
php.net I found that using
{{{#!php
ini_set( 'display_errors', 0 );
}}}
is the same as using
{{{#!php
error_reporting(0);
}}}
As long as the code doesn't check the value that ini_set function
returned.
So, why not use the former instead?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36499#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list