WordPress.org

Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #21760, comment 98


Ignore:
Timestamp:
09/29/2016 09:56:53 PM (4 years ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21760, comment 98

    v3 v4  
    1 This is a before/after overview for the SQL queries with [attachment:21760.7.patch]:
     1This is a before/after overview for the SQL queries with [attachment:21760.8.patch]:
    22
    33==== get_term_by( 'slug' ) ====
     
    2727
    2828'''After:'''
    29 > SELECT  t.*, tt.* FROM wptests_terms AS t  INNER JOIN wptests_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('category') AND t.term_id IN ( 4 )  LIMIT 1
     29> SELECT t.*, tt.* FROM wptests_terms AS t INNER JOIN wptests_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE t.term_id = 4"
    3030
    3131[[BR]]