• Resolved skedoozy

    (@skedoozy)


    Had a helluva time figuring this one out but wanted to post the bug here for anyone else who it may happen to and alert PODS team of bug.

    When you have the WordPress Visual Editor disabled in your profile settings the PODS WYSIWYG strips URL’s and makes them relative on page load in the editor. There is no way to see that this is happened so essentially someone comes in, makes any change unrelated to PODS or unrelated to links in PODS and then saves the page and all of your links in a pod get broken unless they happen to actually be a relative link to the page you are working on.

    Broke a LOT of pages on our site before we noticed it because editors would not even know that would be a thing to look for and there is no visual way of knowing that PODS changed all of the URL’s on load.

    You can easily reproduce the bug by disabling WP Visual editor. Going to any page with a PODs WYSIWYG create a fully qualified link, toggle between visual and text editor and you will see the url get changed.

    Recreated this in multi-environments. So many steps tested before turning visual editor back on in WP settings just to see what happened.

Viewing 1 replies (of 1 total)
  • Plugin Support pdclark

    (@pdclark)

    In a default install with Pods 3.2.8.2, I was unable to reproduce the issue with these steps:

    • Created a default WYSIWYG field on Posts, Pages, and a CPT called Tests.
    • On /wp-admin/profile.php, checked the Disable the visual editor when writing for my user with level administrator
    • In the field’s TinyMCE editor with default settings, created a link to https://wordpress.org/support/topic/pods-breaking-urls-when-wp-visual-editor-disabled/ in both the visual tab and text tab, toggling back and forth before and after save.
    • Viewed the page output, displaying the field with a shortcode [pods]{@what_you_see}[/pods]

    In each case, the full URL appeared in the link HTML in visual mode, was clickable in frontend output.

    If the issue persists, please verify there’s not any save actions which might effect URLs.

    If there are more details or an environment where it can be researched further, please open an issue on GitHub with pods.io/submit/ or via the Slack support channel if credentials to a test environment are involved.

Viewing 1 replies (of 1 total)

The topic ‘PODS breaking URLs when WP Visual Editor Disabled’ is closed to new replies.