Changeset 11303
- Timestamp:
- 11/02/2021 04:18:30 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/rest-api/class-internal.php
r11280 r11303 60 60 61 61 // Raw SQL to avoid loading every WP_Post / WP_User object causing OOM errors. 62 // postmeta join is temporary to only allow certain themes during testing.63 62 $themes = $wpdb->get_results( 64 63 "SELECT p.post_name as slug, u.user_login as user 65 64 FROM {$wpdb->posts} p 66 65 JOIN {$wpdb->users} u ON p.post_author = u.ID 67 JOIN {$wpdb->postmeta} pm ON p.ID = pm.post_id AND pm.meta_key = 'svn_access'68 66 WHERE p.post_type = 'repopackage' AND p.post_status IN( 'publish', 'delist' ) 69 67 ORDER BY p.post_name ASC"
Note: See TracChangeset
for help on using the changeset viewer.