Making WordPress.org


Ignore:
Timestamp:
01/08/2016 05:23:27 PM (10 years ago)
Author:
ocean90
Message:

Trac Notifications: Restore component followers on component pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications-db.php

    r2133 r2258  
    5858    }
    5959
    60     function get_component_followers() {
    61         return $this->db->get_col( $this->db->prepare( "SELECT username FROM _notifications WHERE type = 'component' AND value = %s", $post->post_title ) );
     60    function get_component_followers( $component ) {
     61        return $this->db->get_col( $this->db->prepare( "SELECT username FROM _notifications WHERE type = 'component' AND value = %s", $component ) );
    6262    }
    6363
Note: See TracChangeset for help on using the changeset viewer.