WordPress.org

Making WordPress.org


Ignore:
Timestamp:
11/17/17 10:08:15 (4 weeks ago)
Author:
ocean90
Message:

Plugin Directory: Use new table for locales.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-locale-banner.php

    r6121 r6139  
    3636        // Get the locale subdomain associations used to link languages to their local site. 
    3737        $locale_subdomain_assoc = $wpdb->get_results( 
    38             "SELECT locale, subdomain FROM locales WHERE locale NOT LIKE '%\_%\_%'", OBJECT_K // Don't grab variants, for now. 
     38            "SELECT locale, subdomain FROM locales WHERE wporg_locale NOT LIKE '%\_%\_%'", OBJECT_K // Don't grab variants, for now. 
    3939        ); 
    4040 
Note: See TracChangeset for help on using the changeset viewer.