[wp-trac] [WordPress Trac] #27736: Save one query when inserting a new post
WordPress Trac
noreply at wordpress.org
Mon Feb 10 22:45:42 UTC 2025
#27736: Save one query when inserting a new post
-------------------------------------+-------------------------------------
Reporter: ozh | Owner: pbearne
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: Posts, Post Types | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch has-unit- | Focuses: administration,
tests close | performance
-------------------------------------+-------------------------------------
Changes (by pbearne):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests close
* owner: (none) => pbearne
* status: new => assigned
Comment:
Hi all
I refreshed the patch and added tests.
But the tests don't show a saving in DB calls.
I support that the new post is still in the object cache, so the saved
calls don't now hit the DB
As such, I will close the tick as it won't fix unless someone else can see
the DB saving with the patch
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27736#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list