Title: Importing Google APIs in https
Last modified: August 21, 2016

---

# Importing Google APIs in https

 *  [mathaher](https://wordpress.org/support/users/mathaher/)
 * (@mathaher)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/importing-google-apis-in-https/)
 * I am using this plugin on a secured hosting (https), and it was giving me an 
   error about some content not being delivered securely.
 * I came to find out that the content that is not being delivered as https is the
   Google API for the admin stylesheet (apl-admin-ui-css-css).
 * I was able to fix this issue on my installation by changing line 363 in APLCore.
   php to https instead of http, but it would be nice if you can change it in the
   plugin files so that it won’t be lost when updated.
 * `'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/' . $APLOptions['
   jquery_ui_theme'] . '/jquery-ui.css',`
 * Thanks,
 * [https://wordpress.org/plugins/advanced-post-list/](https://wordpress.org/plugins/advanced-post-list/)

Viewing 1 replies (of 1 total)

 *  [GenealogyCoach](https://wordpress.org/support/users/samatva/)
 * (@samatva)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/importing-google-apis-in-https/#post-4573176)
 * Same problem here – all pages are loaded via https
 * Most browsers support omitting the protocol, so removing the ‘http’ altogether
   works for me. So, that line 363 can be `'//ajax.gooleapis.com/...`
 * Also in /wp-content/plugins/advanced-post-list/includes/js/APL-admin.js
 * Line 782: `loadjscssfile('//ajax.googleapis.com...`

Viewing 1 replies (of 1 total)

The topic ‘Importing Google APIs in https’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-post-list.svg)
 * [Advanced Post List](https://wordpress.org/plugins/advanced-post-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-post-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-post-list/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-post-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-post-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-post-list/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [GenealogyCoach](https://wordpress.org/support/users/samatva/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/importing-google-apis-in-https/#post-4573176)
 * Status: not resolved