[wp-trac] [WordPress Trac] #34339: Default option for site_icon
WordPress Trac
noreply at wordpress.org
Sat Oct 17 11:55:06 UTC 2015
#34339: Default option for site_icon
--------------------------------+------------------------------
Reporter: sebastian.pisula | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------------+------------------------------
Comment (by sebastian.pisula):
if option not exists then wordpress send request to mysql all the time:
{{{
SELECT option_value FROM wp_options WHERE option_name = 'site_icon' LIMIT
1
}}}
in my opinion unnecessary query
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34339#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list