Welcome, Guest
Username: Password: Remember me
Discussion about the Another Events Calendar plugin for WordPress.

TOPIC: Mixed content error + data privacy

Mixed content error + data privacy 2 months 18 hours ago #1283

  • Michael
  • Michael's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
Hi there,

we're currently testing your plugin for our non-profit media platform. I've noticed a few problems by loading your plugin.

First we have a HTTPs only site, but by installing your plugin it triggers a mixed content warning by this line:
<link rel='stylesheet' id='jquery-ui-css-css'  href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css?ver=4.8' type='text/css' media='all' />
maybe there is more, didn't investigate further. The link should be HTTPs. Optimum would be for data privacy reasons to implement an option to load the file locally from plugin folder instead of google servers.

Same as for Google Maps, even I deactivate it in the settings, it is loading in the background.

Thank you.
The administrator has disabled public write access.

Mixed content error + data privacy 2 months 16 hours ago #1285

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 235
  • Thank you received: 49
  • Karma: 8
The issues you've mentioned will be solved in our next version.

As an immediate solution,
1. Open /wp-content/plugins/another-events-calendar/public/class-aec-public.php
2. Search for "http:" and replace the findings to "https:"
3. Save the changes and try now.

This must solve the mixed content warning issue.
The administrator has disabled public write access.
The following user(s) said Thank You: Michael

Mixed content error + data privacy 2 months 14 hours ago #1287

  • Michael
  • Michael's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
Thank you for your quick response.

I've just replaced the lines with this code in class-aec-public.php
wp_register_style( 'jquery-ui-css', AEC_PLUGIN_URL.'public/css/jquery-ui_1.8.2.css' );

if( ! empty( $map_settings[ 'enabled' ] ) ) {wp_register_script( AEC_PLUGIN_SLUG.'-google-map', '//maps.googleapis.com/maps/api/js?v=3.exp'.$api_key );}

and in class-aec-admin.php
wp_enqueue_style( 'jquery-ui-css', AEC_PLUGIN_URL.'public/css/jquery-ui_1.8.2.css' );

if( ! empty( $map_settings[ 'enabled' ] ) ) {wp_enqueue_script( AEC_PLUGIN_SLUG.'-google-map', 'maps.googleapis.com/maps/api/js?v=3.exp'.$api_key );}

to fix the mixed content error and load the plugin locally from plugin folder to be independent from google servers. Second line will prevent Google Maps to load if Maps is deactivated in ACE settings.

For me this works great.

Is there an ETA or Roadmap for the next release?

Thank you.
Last Edit: 2 months 12 hours ago by Super User.
The administrator has disabled public write access.

Mixed content error + data privacy 2 months 13 hours ago #1288

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 235
  • Thank you received: 49
  • Karma: 8
Thanks. Our next version must be coming out by JULY.
Last Edit: 2 months 13 hours ago by Super User.
The administrator has disabled public write access.
Time to create page: 0.136 seconds