From 88a7bcacc36937142ef9f65c35cbec70af71d82f Mon Sep 17 00:00:00 2001 From: Phil Barker Date: Thu, 17 Nov 2016 15:19:34 +0000 Subject: [PATCH] changing use of WP_PLUGIN_URL to plugins_url() to build URL of stylesheet and image to avoid https errors, per https://wordpress.org/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account --- openattribute.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) mode change 100644 => 100755 openattribute.php diff --git a/openattribute.php b/openattribute.php old mode 100644 new mode 100755 index e8f27a3..dff1e09 --- a/openattribute.php +++ b/openattribute.php @@ -3,7 +3,7 @@ Plugin Name: Open Attribute Plugin URI: http://openattribute.com OpenAttribute allows you to add licensing information to your Wordpress site and individual blogs. It places information into posts and RSS feeds as well as other user friendly features. -Version: 0.997 +Version: 1 Author: OpenAttribute, pgogy Author URI: http://openattribute.com */ @@ -205,7 +205,7 @@ function insert_author(){ openattribute_iframe.css' type='text/css' media='all' />
- +

Adding licensing to your blog post

Choose the author for this blog

HTML Text

'; @@ -1458,8 +1458,9 @@ function openattribute_augment_feed($content) { } function openattribute_stylesheet(){ - - echo ' '; + + $url_for_stylesheet = plugins_url( 'openattribute_popup.css', __FILE__ ); + echo ' '; }