[wp-trac] [WordPress Trac] #41039: `_delete_option_fresh_site()` continually queries the database
WordPress Trac
noreply at wordpress.org
Mon Aug 7 07:21:40 UTC 2017
#41039: `_delete_option_fresh_site()` continually queries the database
--------------------------+--------------------------
Reporter: dlh | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.9
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------------
Changes (by westonruter):
* keywords: => has-patch
* owner: => westonruter
* status: new => accepted
* component: Upgrade/Install => Customize
* milestone: Awaiting Review => 4.9
Comment:
This makes sense to me. It's ironic that for the abundance of loose type
checking `==` equality in WordPress, an instance where strict `===`
equality ''does'' exist here in `update_option()` and it causes a slight
performance problem when the `publish_post`, `publish_page`,
`wp_ajax_save-widget`, `wp_ajax_widgets-order`, or `customize_save_after`
actions are done.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41039#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list