Skip to content

Commit

Permalink
fix: also handle the current user
Browse files Browse the repository at this point in the history
  • Loading branch information
adekbadek committed Nov 2, 2022
1 parent 728f9e2 commit c72631b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/authors/class-authors-custom-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ final class Authors_Custom_Fields {
*/
public static function init() {
\add_action( 'edit_user_profile', [ __CLASS__, 'edit_user_profile' ] );
\add_action( 'show_user_profile', [ __CLASS__, 'edit_user_profile' ] );
\add_action( 'edit_user_profile_update', [ __CLASS__, 'edit_user_profile_update' ] );
\add_action( 'personal_options_update', [ __CLASS__, 'edit_user_profile_update' ] );
\add_filter( 'newspack_author_bio_name', [ __CLASS__, 'newspack_author_bio_name' ], 10, 2 );
\add_filter( 'coauthors_guest_author_fields', [ __CLASS__, 'coauthors_guest_author_fields' ], 10, 2 );
}
Expand Down

0 comments on commit c72631b

Please sign in to comment.