#2518 closed defect (bug) (fixed)
bbp_enqueue_script and bbp_enqueue_style do not support HTTPS
| Reported by: | tonyrix | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5.4 |
| Component: | General | Version: | 2.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
The bbp_enqueue_script and bbp_enqueue_style functions do not support https. Scripts and stylesheets are always sent using http resulting in browser insecure content warnings when a bbPress page is viewed over https.
The use of the WP_CONTENT_URL constant in these functions bypasses any protocol checks. Using the WP function content_url() instead returns the URL with the correct protocol.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Changes WP_CONTENT_URL to content_url()