Making WordPress.org

Changeset 11303


Ignore:
Timestamp:
11/02/2021 04:18:30 AM (4 years ago)
Author:
dd32
Message:

Theme Directory: Enable SVN access for all themes.

See #5899

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  
    6060
    6161        // 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.
    6362        $themes = $wpdb->get_results(
    6463            "SELECT p.post_name as slug, u.user_login as user
    6564            FROM {$wpdb->posts} p
    6665            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'
    6866            WHERE p.post_type = 'repopackage' AND p.post_status IN( 'publish', 'delist' )
    6967            ORDER BY p.post_name ASC"
Note: See TracChangeset for help on using the changeset viewer.