Making WordPress.org

Changeset 4185


Ignore:
Timestamp:
10/04/2016 04:37:04 AM (8 years ago)
Author:
jmdodd
Message:

Support Forums: Unlimit plugin-committer query in production.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-support-compat.php

    r4184 r4185  
    272272    public static function get_plugin_slugs_by_committer( $user_login ) {
    273273        global $wpdb;
    274         $slugs = (array) $wpdb->get_col( $wpdb->prepare( "SELECT `path` FROM `" . PLUGINS_TABLE_PREFIX . "svn_access` WHERE `user` = %s AND `access` = 'rw' LIMIT 4", $user_login ) );
     274        $slugs = (array) $wpdb->get_col( $wpdb->prepare( "SELECT `path` FROM `" . PLUGINS_TABLE_PREFIX . "svn_access` WHERE `user` = %s AND `access` = 'rw'", $user_login ) );
    275275        return $slugs;
    276276    }
Note: See TracChangeset for help on using the changeset viewer.