gocodebox / gocodebox/lifterlms

"View As" and [hide_content] aren't working properly together

Open
#697 0 comments 0 reactions 0 assignees View on GitHub
good first issue hacktoberfest help wanted Type: Bug
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

### 1. Reproduction Steps

+ Add [hide_content] shortcode on a page to hide some content
+ Use "View As" to view as someone else

### 2. Expected Behavior

+ "View as self" when an admin should show the content

### 3. Actual Behavior

+ Content is hidden unless the current user belongs to the specified membership

### 4. Related topic

https://wordpress.org/support/topic/hidden-content-visible-to-admin/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.