chnm / anthologize

Anthologize is a free, open-source, WordPress-based platform for publishing. Grab posts from your WordPress blog, pull in feeds from external sites, or create new content directly in Anthologize. Then outline, order, and edit your work, crafting it into a coherent volume for export in several formats, including PDF, EPUB, and TEI.
http://anthologize.org
GNU General Public License v3.0
174 stars 28 forks source link

WP_PLUGIN_URL creates SSL mixed content mess #77

Closed bozicm closed 10 years ago

bozicm commented 10 years ago

I have SSL enforced for URLs with wp-admin - when browsing the Anthologize plugin, browser blocked the parts with .css and .js content because they were sent via url with wp-content. Anthologize plugin didn't work well because of that (waited to load the js stuff).

I narrowed down the problem to use of WP_PLUGIN_URL in includes/class-admin-main.php. Changing it to _pluginsurl() helped.

SOURCE

boonebgorges commented 10 years ago

Nice, thanks very much for this catch.

On 01/24/2014 09:32 AM, bozicm wrote:

I have SSL enforced for URLs with wp-admin - when browsing the Anthologize plugin, browser blocked the parts with .css and .js content because they were sent via url with wp-content. Anthologize plugin didn't work well because of that (waited to load the js stuff).

I narrowed down the problem to use of WP_PLUGIN_URL in includes/class-admin-main.php. Changing it to /plugins_url()/ helped.

SOURCE

— Reply to this email directly or view it on GitHub https://github.com/chnm/anthologize/issues/77.