[wp-trac] [WordPress Trac] #34368: WP_Site_Icon->get_post_metadata performance improvement
WordPress Trac
noreply at wordpress.org
Tue Oct 20 17:50:46 UTC 2015
#34368: WP_Site_Icon->get_post_metadata performance improvement
---------------------------------------------+--------------------------
Reporter: ap.koponen | Owner: obenland
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.4
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit has-unit-tests | Focuses: performance
---------------------------------------------+--------------------------
Comment (by ocean90):
Replying to [comment:4 swissspidy]:
> That wasn't a problem in the unit test (see [attachment:34368.2.diff]),
Right, because `_insert_attachment()`/`wp_insert_attachment()` returns an
integer. But if it gets saved through the Customizer then the value is
currently a string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34368#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list