[wp-trac] [WordPress Trac] #19599: Localizations should not need to worry about the default secret key
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 7 03:42:55 UTC 2012
#19599: Localizations should not need to worry about the default secret key
----------------------------+-----------------------
Reporter: nacin | Owner: nacin
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.4
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------
Comment (by nacin):
Replying to [comment:9 nacin]:
> In [20135]:
> {{{
> #!CommitTicketReference repository="" revision="20135"
> Internally cache return values of wp_salt(). Always run the filter. Big
performance gains on a pageload that generates hundreds of nonces. see
#19599.
> }}}
wp_create_nonce() was 2% of the processing time on themes.php with wpcom-
themes in place. This reduced it down to 0.28%, with no flexibility lost
for the filter.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19599#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list