[wp-trac] [WordPress Trac] #40292: Use echo file_get_contents() instead of require_once() to pull in SVG file contents in Twenty Seventeen
WordPress Trac
noreply at wordpress.org
Wed Mar 29 09:47:53 UTC 2017
#40292: Use echo file_get_contents() instead of require_once() to pull in SVG file
contents in Twenty Seventeen
---------------------------+------------------------------
Reporter: kellenmace | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 4.7.3
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by thamaraiselvam):
{{{
@readfile()
}}}
could be better because it will suppress error.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40292#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list