Changeset 10282
- Timestamp:
- 09/23/2020 11:50:59 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-author-card.php
r10268 r10282 202 202 203 203 // Include any warning flags. 204 $warning_flags = self::get_user_flags( $user->ID );204 $warning_flags = self::get_user_flags( $user->ID, $author_plugins ); 205 205 if ( $warning_flags ) { 206 206 echo '<strong>' . __( 'Warning Flags:', 'wporg-plugins' ) . '</strong>'; … … 327 327 } 328 328 329 protected static function get_user_flags( $user_id ) {329 protected static function get_user_flags( $user_id, $author_plugins ) { 330 330 $author = get_user_by( 'id', $user_id ); 331 331 $flagged = array(
Note: See TracChangeset
for help on using the changeset viewer.