[wp-trac] [WordPress Trac] #25542: Function "set_site_transient" is executed twice for plugins - Is it necessary?

WordPress Trac noreply at wordpress.org
Mon Nov 4 08:56:40 UTC 2013


#25542: Function "set_site_transient" is executed twice for plugins - Is it
necessary?
-------------------------------------------------+-------------------------
 Reporter:  johnstonphilip                       |       Owner:
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Performance                          |  Review
 Severity:  trivial                              |     Version:  3.6.1
 Keywords:  2nd-opinion needs-testing dev-       |  Resolution:  duplicate
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by TobiasBg):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 @johnstonphilip: Yes, a "counter" should work, but you should probably use
 a boolean flag.

 Meanwhile, closing this as a duplicate of #22377, which has the same goal.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25542#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list