Changeset 14718 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-committer-added.php
- Timestamp:
- 03/16/2026 03:53:45 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-committer-added.php
r10125 r14718 6 6 class Committer_Added extends Base { 7 7 protected $required_args = [ 'committer' ]; 8 9 public function __construct( $plugin, $users = [], $args = [] ) { 10 parent::__construct( $plugin, $users, $args ); 11 12 // Notify the plugins team of committer changes on featured plugins as a safety-net. 13 if ( $this->plugin && is_object_in_term( $this->plugin->ID, 'plugin_section', array( 'featured', 'beta' ) ) ) { 14 $plugins_team = get_user_by( 'email', PLUGIN_TEAM_EMAIL ); 15 if ( $plugins_team ) { 16 $this->users[] = $plugins_team; 17 } 18 } 19 } 8 20 9 21 function subject() {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)