WordPress.org

Make WordPress Core

Opened 17 months ago

Last modified 3 months ago

#22846 new defect (bug)

Site transient autoload even when they have expiry time

Reported by: mark-k Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.4.2
Component: Options, Meta APIs Keywords:
Focuses: multisite, performance Cc:

Description

I guess set_site_transient should set autoload to NO after calling add_site_option when there is expiration time.

As far as I can see the all of the site transients right now are used only by cron and admin so no reason to auto load

Change History (3)

comment:1 webaware11 months ago

Problem still exists in 3.5.1, meaning all site transients are autoloaded on every page on every site. This includes such broadly useful things as the 'browser_' site transients (only used by wp_check_browser_version() in the dashboard).

comment:2 nacin3 months ago

  • Component changed from Performance to Options and Meta
  • Focuses performance added

comment:3 jeremyfelt3 months ago

  • Focuses multisite added

Related #26929

Note: See TracTickets for help on using tickets.