Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#17745 closed defect (bug) (fixed)

Twenty Eleven SQL optimization

Reported by: pavelevap's profile pavelevap Owned by: ryan's profile ryan
Milestone: 3.2 Priority: normal
Severity: normal Version: 3.2
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

Twenty Eleven will be used by many users, so we should avoid some queries with no_found_rows argument? Patch attached.

Related: http://core.trac.wordpress.org/ticket/17203

Attachments (1)

sql_optimization.patch (981 bytes) - added by pavelevap 13 years ago.

Download all attachments as: .zip

Change History (6)

#1 @dd32
13 years ago

  • Component changed from Performance to Bundled Theme
  • Milestone changed from Awaiting Review to 3.2

#2 @dd32
13 years ago

'nopaging' can be removed from the args as well, the default in this case will be false.

I see no harm in adding no_found_rows to these Queries

#3 @aaroncampbell
13 years ago

+1 - It's a good idea and the patch looks good.

#4 @ocean90
13 years ago

  • Keywords has-patch added

#5 @ryan
13 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [18239]:

Use no_found_rows for some queries. Props pavelevap. fixes #17745

Note: See TracTickets for help on using tickets.