This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Page Builder does not currently generate generate protocol relative code

9 years ago · Last reply by robd 9 years ago

hi PB dev people:

The code sent to a browser by a Page Builder built site currently includes one or more hard-coded http:// references.

These can easily and should all be protocol relative references.

For a trivial example that :
1) correctly uses protocol relative references,
2) incorrectly hard codes one or more http: references regardless of the connection protocol being used,
3) incorrectly but harmlessly hard codes one or more https: references,

please visit:
Private Snippet

This issue is currently a showstopper with respect to my company’s ongoing use of Page Builder by our “front end” content dev services provider.

Accordingly, we look forward to a resolution of this issue asap.

Please email if you have any questions / require clarification.

Regards

– rob d

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

8
  1. Alex S Staff 9 years, 9 months ago

    Hi Robd,

    Could you please provide a reference of where this is happening? This isn’t standard functionality so I’m quite surprised you’re experiencing this.

    It should be noted that while we can control our own markup, we can’t control the markup generated by WordPress. If you’re adding images via WordPress functionality (ie. the Add Media button) that’s a general WordPress issue.

  2. robd Private 9 years, 9 months ago

    This is a private message.

  3. Alex S Staff 9 years, 9 months ago

    Hi Robd,

    I understand the issue here, but based on what you’ve described, it sounds like a content issue. The content you’re referring to, based on your description, is handled by WordPress. Meaning it’s something we merely output and it’s generated by WordPress itself. To confirm this, could you please send me an export of the layout? To do this open up the page with the widget, and click prebuilt. Then click import / export and then click download. Please upload the export to a 3rd party file hosting site such as teknik.io.

  4. robd Private 9 years, 9 months ago

    This is a private message.

  5. Alex S Staff 9 years, 9 months ago

    Hi Robd,

    Okay, so this is a WordPress issue. You can verify this by opening the referenced link and search for HTTP or https or // You’ll notice that the only thing that comes up is an anchor (read: unreleased). This, sadly, isn’t something I can help you with as this is a general WordPress issue, and WordPress hasn’t fully implemented your desired functionality yet.

  6. robd Private 9 years, 9 months ago

    This is a private message.

  7. Alex S Staff 9 years, 9 months ago

    Hi Robd,

    That’s fine. For reference, the WordPress function wp_get_attachment_image_src() is used to “generate” the URL for the image. We could make a custom version of this function but due to the nature of WordPress, kind of a wild west at times, a constant function that works the same way in every setup is the ideal method for our plugin as to prevent compatibility issues with other, weird obscure setups.

  8. robd 9 years, 9 months ago

    Alex:
    Thanks for the additional info.
    This is getting closer to the issue I suspect.
    I agree that tweaking WordPress functions is undesirable.
    We’ll keep in touch.
    – rob d

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread