pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Automatic Templates and Default Wordpress Password Protected Posts #6962

Closed doyenwilliams closed 1 year ago

doyenwilliams commented 1 year ago

Description

Content supplied by PODS is not protected by the default WordPress “Password Protected” post option.

If “After” is chosen – the password protected content message appears, but then my template content shows directly afterwards. Despite the password protected content message triggering, my content is not hidden at all so that’s a fail

If “Before” is chosen – My template (content and all) shows at the top of the page directly followed by the password protected content message. Despite the password protected content message triggering, my content is not hidden at all so that’s a fail

If “Replace” is chosen – My template (content and all) shows at the at the top of the page with NO password protected content message at all... so that’s a fail

Version

2.9.9

Testing Instructions

  1. Create a Pod template
  2. Create a Pod
  3. Enable the auto template option for the Pod
  4. Set the Singular Template to the template designed
  5. Set the Singular Template Location to either Before, After or Replace (results will be the same for any as noted above)
  6. Set the Singular Template Filter to "the_content"
  7. Create a post for the Pod
  8. Display the post

Screenshots / Screencast

No response

Possible Workaround

No response

Site Health Information

`
### wp-core ###

version: 6.1.1
site_language: en_US
user_language: en_US
timezone: America/Jamaica
permalink: /%postname%/
https_status: true
multisite: true
user_registration: false
blog_public: 0
default_comment_status: undefined
environment_type: production
site_count: 9
network_count: 1
user_count: 1
dotorg_communication: true

### wp-active-theme ###

name: Hello Elementor (hello-elementor)
version: 2.6.1
author: Elementor Team
author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, menus, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
theme_path: /home3/newtdl/public_html/the3wolves.com/wp-content/themes/hello-elementor
auto_update: Disabled

### wp-themes-inactive (8) ###

Blank Canvas: version: 1.2.9, author: Automattic, Auto-updates disabled
Bravada: version: 1.0.7.1, author: Cryout Creations, Auto-updates disabled
julia: version: 2.1.4, author: Kayapati, Auto-updates disabled
Seedlet: version: 1.1.13, author: Automattic, Auto-updates disabled
Twenty Twenty: version: 2.1, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.7, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Two: version: 1.3, author: the WordPress team, Auto-updates disabled

### wp-plugins-active (25) ###

Admin Menu Editor: version: 1.10.4, author: Janis Elsts, Auto-updates disabled
AutomatorWP: version: 2.4.8, author: AutomatorWP, Auto-updates disabled
Branda: version: 3.4.8.1, author: WPMU DEV, Auto-updates disabled
CMP - Coming Soon & Maintenance Plugin: version: 4.1.5, author: NiteoThemes, Auto-updates disabled
Conditional Fields for Contact Form 7: version: 2.2.9, author: Jules Colle, Auto-updates disabled
Contact Form 7: version: 5.6.4, author: Takayuki Miyoshi, Auto-updates disabled
Contact Form 7 Multi Step Pro: version: 2.6.8, author: NinjaTeam, Auto-updates disabled
Elementor: version: 3.8.1, author: Elementor.com, Auto-updates disabled
Essential Addons for Elementor: version: 5.4.4, author: WPDeveloper, Auto-updates disabled
Essential Blocks: version: 3.8.2, author: WPDeveloper, Auto-updates disabled
EventON: version: 4.0.2, author: AshanJay, Auto-updates disabled
Flamingo: version: 2.3, author: Takayuki Miyoshi, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 2.9.9, author: Pods Framework Team, Auto-updates disabled
Pods Alternative Cache: version: 2.1.5, author: Pods Framework Team, Auto-updates disabled
Popup Maker: version: 1.17.0, author: Popup Maker (latest version: 1.17.1), Auto-updates disabled
Post SMTP: version: 2.1.10, author: Post SMTP, Auto-updates disabled
Really Simple SSL: version: 6.0.11, author: Really Simple Plugins (latest version: 6.0.12), Auto-updates disabled
ShortPixel Image Optimizer: version: 5.1.5, author: ShortPixel, Auto-updates disabled
Site Kit by Google: version: 1.88.0, author: Google, Auto-updates disabled
Woody code snippets (PHP snippets | Insert PHP): version: 2.4.7, author: Creative Motion, Will Bontrager Software, LLC <will@willmaster.com>, Auto-updates disabled
Wordfence Security: version: 7.8.0, author: Wordfence, Auto-updates disabled
WPAppsDev - CF7 Form Submission Limit: version: 2.3.1, author: Saiful Islam Ananda, Auto-updates disabled
WP Better Emails: version: 0.4, author: Nicolas Lemoine, Auto-updates disabled
WP Fastest Cache: version: 1.0.8, author: Emre Vona, Auto-updates disabled
Yoast SEO: version: 19.11, author: Team Yoast, Auto-updates disabled

### wp-plugins-inactive (11) ###

Akismet Anti-Spam: version: 5.0.2, author: Automattic, Auto-updates disabled
bbPress: version: 2.6.9, author: The bbPress Contributors, Auto-updates disabled
Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: version: 6.15.6, author: SeedProd, Auto-updates disabled
Cryout Serious Slider: version: 1.2.3, author: Cryout Creations, Auto-updates disabled
GTranslate: version: 2.9.14, author: Translate AI Multilingual Solutions, Auto-updates disabled
Jetpack CRM: version: 5.4.4, author: Automattic - Jetpack CRM team, Auto-updates disabled
LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: version: 2.6.1, author: Themeisle, Auto-updates disabled
Otter – Page Builder Blocks & Extensions for Gutenberg: version: 2.1.5, author: ThemeIsle, Auto-updates disabled
Social Chat: version: 6.2.2, author: QuadLayers, Auto-updates disabled
wpForo: version: 2.1.1, author: gVectors Team, Auto-updates disabled
WP Statistics: version: 13.2.7, author: VeronaLabs (latest version: 13.2.8), Auto-updates disabled

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1654
imagemagick_version: ImageMagick 6.7.6-8 2016-07-19 Q16 http://www.imagemagick.org
imagick_version: 3.4.3
file_uploads: File uploads is turned off
post_max_size: 516M
upload_max_filesize: 512M
max_effective_size: 512 MB
max_file_uploads: 20
imagick_limits: 
    imagick::RESOURCETYPE_AREA: 115 GB
    imagick::RESOURCETYPE_DISK: -1
    imagick::RESOURCETYPE_FILE: 12288
    imagick::RESOURCETYPE_MAP: 48 MB
    imagick::RESOURCETYPE_MEMORY: 48 MB
    imagick::RESOURCETYPE_THREAD: not available
imagemagick_file_formats: 3FR, A, AAI, AI, ART, ARW, AVI, AVS, B, BGR, BGRA, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, J2C, JNG, JP2, JPC, JPEG, JPG, JPX, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MAT, MATTE, MEF, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, BMP, XPM
ghostscript_version: 8.71

### wp-server ###

server_architecture: Linux 4.19.150-76.ELK.el6.x86_64 x86_64
httpd_software: Apache
php_version: 7.4.29 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 60
memory_limit: 512M
max_input_time: 60
upload_max_filesize: 512M
php_post_max_size: 516M
curl_version: 7.81.0 OpenSSL/1.1.1n
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true

### wp-database ###

extension: mysqli
server_version: 5.6.41-84.1
client_version: mysqlnd 7.4.29
max_allowed_packet: 268435456
max_connections: 150

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home3/newtdl/public_html/the3wolves.com/wp-content
WP_PLUGIN_DIR: /home3/newtdl/public_html/the3wolves.com/wp-content/plugins
WP_MEMORY_LIMIT: 64M
WP_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable

### google-site-kit ###

version: 1.88.0
php_version: 7.4.29
wp_version: 6.1.1
reference_url: https://nompublishing.com
amp_mode: no
site_status: connected-site
user_status: authenticated
verification_status: verified-file
connected_user_count: 1
active_modules: site-verification, search-console, analytics, analytics-4, pagespeed-insights
recoverable_modules: none
required_scopes: 
    openid: ✅
    https://www.googleapis.com/auth/userinfo.profile: ✅
    https://www.googleapis.com/auth/userinfo.email: ✅
    https://www.googleapis.com/auth/siteverification: ✅
    https://www.googleapis.com/auth/webmasters: ✅
    https://www.googleapis.com/auth/analytics.readonly: ✅
capabilities: 
    googlesitekit_authenticate: ✅
    googlesitekit_setup: ✅
    googlesitekit_view_posts_insights: ✅
    googlesitekit_view_dashboard: ✅
    googlesitekit_manage_options: ✅
    googlesitekit_view_splash: ✅
    googlesitekit_view_authenticated_dashboard: ✅
    googlesitekit_view_wp_dashboard_widget: ✅
    googlesitekit_view_admin_bar_menu: ✅
enabled_features: 
    adsenseSetupV2: ⭕
    dashboardSharing: ⭕
    ga4ActivationBanner: ⭕
    ideaHubModule: ⭕
    twgModule: ⭕
    userInput: ⭕
search_console_property: https://nompublishing.com/
analytics_account_id: 2510•••••
analytics_property_id: UA-2510•••••••
analytics_profile_id: 2811•••••
analytics_use_snippet: yes
analytics_4_property_id: 3450690••
analytics_4_web_data_stream_id: 4333••••••
analytics_4_measurement_id: G-7V••••••••
analytics_4_use_snippet: yes

### pods ###

pods-server-software: Apache
pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
pods-session-save-path: /var/cpanel/php/sessions/ea-php74
pods-session-save-path-exists: Yes
pods-session-save-path-writable: Yes
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: Yes
pods-opcode-cache-redis: No
pods-object-cache-apc: No
pods-object-cache-apcu: No
pods-object-cache-memcache: No
pods-object-cache-memcached: No
pods-object-cache-redis: No
pods-memory-current-usage: 28.943M
pods-memory-current-usage-real: 30.000M
pods-network-wide: No
pods-install-location: /wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-relationship-table-enabled: Yes
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-sessions: Auto-detect sessions (enable on first anonymous submission)
pods-can-use-sessions: Yes
pods-relationship-table-status: 0

`

Pods Package

No response

sc0ttkclark commented 1 year ago

Fixed via https://github.com/pods-framework/pods/commit/4c0bd73c569f2ce96bc55b88ea00f5397cec5324