Changeset 11280
- Timestamp:
- 10/18/2021 03:06:37 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
r11237 r11280 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. 62 63 $themes = $wpdb->get_results( 63 64 "SELECT p.post_name as slug, u.user_login as user 64 65 FROM {$wpdb->posts} p 65 66 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' 66 68 WHERE p.post_type = 'repopackage' AND p.post_status IN( 'publish', 'delist' ) 67 69 ORDER BY p.post_name ASC" … … 77 79 } 78 80 echo "\n"; 79 80 // TODO: Temporarily don't output the Theme Authors until we're ready.81 exit();82 81 83 82 // Theme Authors.
Note: See TracChangeset
for help on using the changeset viewer.