[wp-trac] [WordPress Trac] #54769: INNER JOIN missing "AS" in /wp-includes/link-template.php

WordPress Trac noreply at wordpress.org
Tue Jan 11 04:10:20 UTC 2022

#54769: INNER JOIN missing "AS" in /wp-includes/link-template.php
 Reporter:  domainsupport  |       Owner:  SergeyBiryukov
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  6.0
Component:  Database       |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"52553" 52553]:
 #!CommitTicketReference repository="" revision="52553"
 Database: Add missing `AS` after `INNER JOIN` in some queries.

 While `AS` is an optional keyword in SQL, it is commonly considered best
 practice to include it for better readability and compatibility. This also
 makes the queries more consistent with other queries using aliases in

 Follow-up to [6359], [30238].

 Props costdev, domainsupport.
 Fixes #54769.

Ticket URL: <https://core.trac.wordpress.org/ticket/54769#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list