Making WordPress.org

Changeset 10195

Timestamp:
08/21/2020 02:56:09 AM (4 years ago)
Author:
dd32
Message:

Plugin Directory: Remove some old commented out code from 2016.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-tools.php

    r10125 r10195  
    581581        $users = array();
    582582
    583         // Include the subscribers from the bbPress plugin directory until we've fully migrated.
    584         /*
    585         $bbpress_subscribers = maybe_unserialize( $wpdb->get_var( $wpdb->prepare( 'SELECT m.meta_value FROM ' . PLUGINS_TABLE_PREFIX . 'topics t JOIN ' . PLUGINS_TABLE_PREFIX . 'meta m ON ( m.object_type = "bb_topic" AND m.object_id = t.topic_id AND m.meta_key = "commit_subscribed") WHERE t.topic_slug = %s', $plugin_slug ) ) );
    586         if ( $bbpress_subscribers ) {
    587             foreach ( array_keys( $bbpress_subscribers ) as $subscriber_id ) {
    588                 if ( $subscriber_id && $user = get_user_by( 'id', $subscriber_id ) ) {
    589                     $users[] = $user;
    590                 }
    591             }
    592         }
    593          */
    594 
    595583        // Plugin Committers are always subscrived to plugin commits.
    596584        $committers = self::get_plugin_committers( $plugin_slug );
Note: See TracChangeset for help on using the changeset viewer.