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 265 forks source link

Data Entry on a WYSIWYG field of a Custom Settings Page via WordPress Dashboard is Different on WYSIWYG field shown on a PODS form #7049

Closed papa-pup closed 1 year ago

papa-pup commented 1 year ago

Description

Discovered that a WYSIWYG field of a Custom Settings Page via WordPress Dashboard is different on WYSIWYG field shown on a PODS form.

Version

2.9.13

Testing Instructions

  1. Create a Custom Setting Page with a WYSIWYG field
  2. Create a Page contain a PODS form for data entry.
  3. Enter the data to this field via the WordPress Dashboard. You will see that the data entered on the WordPress dashboard is not the same view on the PODS form

See screenshots on the difference.

However, if entry is done via the PODS form, the data is the same as WordPress dashboard.

Screenshots / Screencast

image Image showing data via the PODS form

image Image showing data via the WordPress Dashboard

Possible Workaround

Enter data via the PODS form

Site Health Information

`
### wp-core ###

version: 6.2
site_language: en_US
user_language: en_US
timezone: Asia/Kuala_Lumpur
permalink: /%year%/%monthnum%/%day%/%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 0
default_comment_status: open
environment_type: production
user_count: 5
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/techacti/WPworkspace13.techactions.dev
wordpress_size: 56.99 MB (59762303 bytes)
uploads_path: /home/techacti/WPworkspace13.techactions.dev/wp-content/uploads
uploads_size: 57.77 MB (60572360 bytes)
themes_path: /home/techacti/WPworkspace13.techactions.dev/wp-content/themes
themes_size: 39.22 MB (41129935 bytes)
plugins_path: /home/techacti/WPworkspace13.techactions.dev/wp-content/plugins
plugins_size: 79.29 MB (83144138 bytes)
database_size: 18.55 MB (19449875 bytes)
total_size: 251.83 MB (264058611 bytes)

### wp-dropins (1) ###

maintenance.php: true

### wp-active-theme ###

name: Astra (astra)
version: 4.0.2 (latest version: 4.1.2)
author: Brainstorm Force
author_website: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
parent_theme: none
theme_features: core-block-patterns, astra_hooks, widgets-block-editor, align-wide, automatic-feed-links, title-tag, post-thumbnails, starter-content, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, rank-math-breadcrumbs, amp, widgets, menus
theme_path: /home/techacti/WPworkspace13.techactions.dev/wp-content/themes/astra
auto_update: Disabled

### wp-themes-inactive (5) ###

Twenty Nineteen: version: 2.5, author: the WordPress team, Auto-updates disabled
Twenty Twenty: version: 2.2, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Three: version: 1.1, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Two: version: 1.4, author: the WordPress team, Auto-updates disabled

### wp-plugins-active (21) ###

Advanced Editor Tools: version: 5.9.0, author: Automattic, Auto-updates disabled
BAW Login/Logout menu: version: 1.3.3, author: Juliobox, Auto-updates disabled
Code Snippets: version: 3.3.0, author: Code Snippets Pro, Auto-updates disabled
Conditional Fields for Contact Form 7: version: 2.3.5, author: Jules Colle, Auto-updates disabled
Contact Form 7: version: 5.7.5.1, author: Takayuki Miyoshi, Auto-updates disabled
Duplicate Page: version: 4.5.1, author: mndpsingh287, Auto-updates disabled
Editor Plus: version: 2.9.14, author: Munir Kamal, Auto-updates disabled
Enable Media Replace: version: 4.1.0, author: ShortPixel, Auto-updates disabled
Facebook Chat Plugin - Live Chat Plugin for WordPress: version: 2.5, author: Meta, Auto-updates disabled
Flexible Map: version: 1.17.1, author: WebAware, Auto-updates disabled
Font Awesome: version: 4.3.2, author: Font Awesome, Auto-updates disabled
Gutenberg: version: 15.4.0, author: Gutenberg Team, Auto-updates disabled
International Telephone Input for Contact Form 7: version: 1.5.7, author: Damià Rita and Yordan Soares, Auto-updates disabled
Listo: version: 1.6, author: Takayuki Miyoshi, Auto-updates disabled
Members: version: 3.2.4, author: MemberPress, Auto-updates disabled
Nav Menu Roles: version: 2.1.2, author: Kathy Darling, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 2.9.13, author: Pods Framework Team, Auto-updates disabled
Post SMTP: version: 2.4.6, author: Post SMTP, Auto-updates disabled
Simple Page Ordering: version: 2.4.4, author: 10up, Auto-updates disabled
Wordfence Security: version: 7.9.2, author: Wordfence, Auto-updates disabled
WP Rollback: version: 1.7.3, author: GiveWP.com, Auto-updates disabled

### wp-plugins-inactive (6) ###

Akismet Anti-Spam: version: 5.1, author: Automattic, Auto-updates disabled
Chaty: version: 3.0.7, author: Premio, Auto-updates disabled
Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates disabled
WP Dashboard Notes: version: 1.0.10, author: Jeroen Sormani, Auto-updates disabled
WPFront Scroll Top: version: 2.0.7.08086, author: Syam Mohan, Auto-updates disabled
WPS Hide Login: version: 1.9.8, author: WPServeur, NicolasKulka, wpformation, Auto-updates disabled

### code-snippets (12) ###

snippet-13: name: FAQs: Update FAQs Category After Post Creation, scope: global, modified: 2022-10-11 09:46:50
snippet-14: name: PODs.io: Hide Specific WP Post Status, scope: global, modified: 2022-12-12 08:35:24
snippet-12: name: PODs - Extended WP Post: Update Featured Image & Taxonomy, scope: global, modified: 2022-12-16 05:01:49
snippet-16: name: Astra Theme: Sticky Header, scope: front-end, modified: 2023-03-20 14:27:04
snippet-17: name: Login Area: Customization, scope: front-end, modified: 2023-02-06 16:11:37
snippet-18: name: Admin Bar: Remove Admin Bar for All Roles except Administrator, scope: front-end, modified: 2022-12-18 04:33:39
snippet-20: name: Admin Area: Dashboard Customization, scope: admin, modified: 2022-12-18 04:33:11
snippet-21: name: WP Media Manager: Customization, scope: global, modified: 2023-02-24 15:53:32
snippet-22: name: Login Area: CSS Customization, scope: front-end, modified: 2022-12-18 05:26:55, tags: [css]
snippet-24: name: Visa Types: Disable Sidebar & Comment Section, scope: global, modified: 2022-12-19 14:47:41
snippet-25: name: Default Value Checkbox Contact Form 7, scope: global, modified: 2023-02-01 12:24:59
snippet-26: name: WP Editor (TinyMCE) : Customization, scope: front-end, modified: 2023-03-24 14:32:29

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1808
imagemagick_version: ImageMagick 7.1.0-20 Q16-HDRI x86_64 2022-01-22 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: File uploads is turned off
post_max_size: 3096M
upload_max_filesize: 3096M
max_effective_size: 3 GB
max_file_uploads: 20
imagick_limits: 
    imagick::RESOURCETYPE_AREA: 251 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 37500
    imagick::RESOURCETYPE_MAP: 251 GB
    imagick::RESOURCETYPE_MEMORY: 126 GB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, FTXT, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCbCr, YCbCrA, YUV
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.25

### wp-server ###

server_architecture: Linux 3.10.0-962.3.2.lve1.5.67.el7.x86_64 x86_64
httpd_software: LiteSpeed
php_version: 7.4.33 64bit
php_sapi: litespeed
max_input_variables: 5000
time_limit: 3000
memory_limit: 3048M
max_input_time: 3000
upload_max_filesize: 3096M
php_post_max_size: 3096M
curl_version: 7.84.0 OpenSSL/1.1.1p
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true

### wp-database ###

extension: mysqli
server_version: 5.7.41
client_version: 5.7.40
max_allowed_packet: 536870912
max_connections: 500

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/techacti/WPworkspace13.techactions.dev/wp-content
WP_PLUGIN_DIR: /home/techacti/WPworkspace13.techactions.dev/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 3048M
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

### pods ###

pods-server-software: LiteSpeed
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
pods-session-save-path: /var/cpanel/php/sessions/ea-php56
pods-session-save-path-exists: Yes
pods-session-save-path-writable: Yes
pods-session-max-lifetime: 3000
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: No
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: 84.864M
pods-memory-current-usage-real: 13.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: Yes
pods-sessions: Disable sessions
pods-can-use-sessions: Yes
pods-relationship-table-status: 45

`

Pods Package

{
    "@meta": {
        "version": "2.9.13",
        "build": 1680198532
    },
    "settings": {
        "types_only": "0",
        "watch_changed_fields": "1",
        "metadata_integration": "1",
        "metadata_override_get": "1",
        "session_auto_start": "0",
        "wisdom_opt_out": "1"
    },
    "pods": [
        {
            "name": "site_notices",
            "id": 2624,
            "label": "Site Notices",
            "description": "",
            "type": "settings",
            "storage": "none",
            "public": "1",
            "show_ui": "1",
            "menu_name": "Site Notices",
            "menu_location": "top",
            "_migrated_28": "1",
            "required": "0",
            "required_help_boolean": "0",
            "ui_style": "settings",
            "menu_position": "0",
            "groups": [
                {
                    "name": "details",
                    "id": 2625,
                    "label": "Details",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "privacy_policy_details",
                            "id": 2626,
                            "label": "Privacy Policy",
                            "description": "",
                            "weight": 0,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "wysiwyg_editor": "tinymce",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "wysiwyg_media_buttons": "1",
                            "wysiwyg_editor_height": "300",
                            "wysiwyg_trim": "1",
                            "wysiwyg_oembed": "1",
                            "wysiwyg_wptexturize": "1",
                            "wysiwyg_convert_chars": "1",
                            "wysiwyg_wpautop": "1"
                        },
                        {
                            "name": "disclaimer_details",
                            "id": 2627,
                            "label": "Disclaimer",
                            "description": "",
                            "weight": 1,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "wysiwyg_editor": "tinymce",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "wysiwyg_media_buttons": "1",
                            "wysiwyg_editor_height": "300",
                            "wysiwyg_trim": "1",
                            "wysiwyg_oembed": "1"
                        },
                        {
                            "name": "terms_and_conditions_details",
                            "id": 2628,
                            "label": "Terms and Conditions",
                            "description": "",
                            "weight": 2,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "wysiwyg_editor": "tinymce",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "wysiwyg_trim": "1",
                            "wysiwyg_oembed": "1",
                            "wysiwyg_media_buttons": "1",
                            "wysiwyg_editor_height": "300"
                        }
                    ]
                }
            ]
        }
    ]
}
sc0ttkclark commented 1 year ago

Fixed via https://github.com/pods-framework/pods/pull/7051