Skip to content

Commit

Permalink
GH #971: Add 'message-media' context to hide media from user profile.
Browse files Browse the repository at this point in the history
Fix: Message media should not visible at user profile members/admin/media/.
  • Loading branch information
yahilmadakiya authored May 17, 2018
1 parent 6e1d7d2 commit c5caf45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/media/media-with-message.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ function( response )
'is_up_shortcode' => false,
'allow_anonymous' => true,
'privacy_enabled' => false,
'context' => 'message-media',
'context_id' => get_current_user_id(),
)
);
?>
Expand Down

0 comments on commit c5caf45

Please sign in to comment.