Commits

simplemediacode  committed 3f4ce32

fix #1 wp_register_style was called incorrectly
fixed: wp_register_style was called incorrectly. More info [bitbucket.org/simplemediacode/itempropwp](http://xh.lv/20). Reported RFT Group.

  • Participants
  • Parent commits 4197b42

Comments (0)

Files changed (3)

 ### Example:
 
 	<span itemscope itemtype="http://schema.org/Article" class="itempropwp-wrap">
-	<!-- Itemprop WP 3.3.0 by Rolands Umbrovskis http://umbrovskis.com -->
+	<!-- Itemprop WP 3.3.6 by Rolands Umbrovskis http://umbrovskis.com -->
 	 <meta itemprop="name" content="Title of the Article" />
 	 <meta itemprop="url" content="http://fulllink.example.com/seo-optimized-article/" />
 	 <meta itemprop="image" content="http://fulllink.example.com/seo-optimized-article/example.jpg" />
 	 <meta itemprop="datePublished" content="2012-09-13 19:17:21"/>
 	 <meta itemprop="dateModified" content="2012-09-29 13:33:25" />
 	 <meta itemprop="interactionCount" content="UserComments:356"/>
-	<!-- Itemprop WP 3.3.0 by Rolands Umbrovskis http://umbrovskis.com end -->
+	<!-- Itemprop WP 3.3.6 by Rolands Umbrovskis http://umbrovskis.com end -->
 	</span>
 
 ### How does it work?
 
 ## Changelog
 
+### 3.3.6
+
+* fixed: wp_register_style was called incorrectly. More info [bitbucket.org/simplemediacode/itempropwp](http://xh.lv/20). Reported RFT Group.
+
 ### 3.2.1
 
 * updated: whitespaces in code removed

File itempropwp.php

 Plugin Name: itemprop WP for SERP (and SEO) Rich snippets
 Plugin URI: http://simplemediacode.com/wordpress-pugins/itemprop-wp/?utm_source=wordpress&utm_medium=wpplugin&utm_campaign=itempropWP&utm_content=v-3.3.4-itempropWP_load_widgets
 Description: Add human invisible schema.org code to conent
-Version: 3.3.5
+Version: 3.3.6
 Requires at least: 3.3
-Tested up to: 3.5,1
+Tested up to: 3.6
 Author: Rolands Umbrovskis
 Author URI: http://umbrovskis.com
 License: simplemediacode
 Copyright (C) 2008-2013, Rolands Umbrovskis - rolands@simplemediacode.com
 
 */
-	define('SMCIPWPV','3.3.4'); // location general @since 1.0
+	define('SMCIPWPV','3.3.6'); // location general @since 1.0
 	define('SMCIPWPM',dirname(__FILE__)); // location general @since 1.0
 	define('SMCIPWPF','itempropwp'); // location folder @since 1.0 
 	define('IPWPT',__('itemprop WP for SERP/SEO Rich snippets','itempropwp')); // Name @since 1.1
 		public function __construct(){
 			add_action('init', array( 'itempropwp', 'init' ),10);
 			add_action('plugin_row_meta', array( 'itempropwp', 'smcwpd_set_plugin_meta' ), 10, 2 );
+		} 
+		// Initialize
+		public function init() {
 
 /*
  * itempropwp Admin interface
 				wp_register_style('itempropwp', SMCIPWPURL.'assets/css/itempropwp.css', array(), SMCIPWPV, 'all');
 				wp_enqueue_style('itempropwp');
 			endif;
-		} 
-		// Initialize
-		public function init() {
+			
 			load_plugin_textdomain( 'itempropwp', false, SMCIPWPDIR. '/lang/');
 			add_filter('the_content', array( 'itempropwp', 'ipwp_the_content_filter' ), 10, 2 ); // Adding context @since 3.0
 			
 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Z4ALL9WUMY3CL&lc=LV&item_name=Umbrovskis%2e%20WordPress%20plugins&item_number=002&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
 Tags: SEO, schema, schema.org, itemprop, schema.org itemprop, images, microdata, rich snippets, richsnippets, SERP, html5, structured data
 Requires at least: 3.3
-Tested up to: 3.5.1
-Stable tag: 3.3.5
+Tested up to: 3.6
+Stable tag: 3.3.6
 License: simplemediacode
 License URI: http://simplemediacode.com/license/gpl/
 
 
 This plugin is very simple. Using WordPress built in function to filter element attributes and adding < meta > tags with schema.org item properties.
 
-[Project itempropWP homepage](http://simplemediacode.com/wordpress-pugins/itemprop-wp/?utm_source=http://wordpress.org/extend/plugins/itempropwp/&utm_medium=link&utm_campaign=itempropWP-WordPress-theme-feature-requests-3.3.5&utm_content=WordPress-plugin-itempropwp-3.3.5)
+[Project itempropWP homepage](http://simplemediacode.com/wordpress-pugins/itemprop-wp/?utm_source=http://wordpress.org/extend/plugins/itempropwp/&utm_medium=link&utm_campaign=itempropWP-WordPress-theme-feature-requests-3.3.6&utm_content=WordPress-plugin-itempropwp-3.3.6)
 
 Example output:
 
 `
 <span itemscope itemtype="http://schema.org/Article" class="itempropwp-wrap">
-<!-- Itemprop WP 3.3.5 by Rolands Umbrovskis http://umbrovskis.com -->
+<!-- Itemprop WP 3.3.6 by Rolands Umbrovskis http://umbrovskis.com -->
  <meta itemprop="name" content="Title of the Article" />
  <meta itemprop="url" content="http://example.com/seo-optimized-article/" />
  <meta itemprop="image" content="http://example.com/images/example.jpg" />
  <meta itemprop="datePublished" content="2012-09-13 19:17:21" />
  <meta itemprop="dateModified" content="2012-09-29 13:33:25" />
  <meta itemprop="interactionCount" content="UserComments:356" />
-<!-- Itemprop WP 3.3.5 by Rolands Umbrovskis http://umbrovskis.com end -->
+<!-- Itemprop WP 3.3.6 by Rolands Umbrovskis http://umbrovskis.com end -->
 </span>
 `
 
 
 == Changelog ==
 
+= 3.3.6 = 
+
+* fixed: wp_register_style was called incorrectly. More info [bitbucket.org/simplemediacode/itempropwp](http://xh.lv/20). Reported RFT Group.
+
 = 3.3.5 = 
 
 * small bugfix in rare cases: "For some reason all blog articles now have Type: http://schema.org/Review;", thanks to [indevd bugreport](http://wordpress.org/support/topic/schemaorgreview?replies=4#post-3882462) 
 
 == Upgrade Notice ==
 
+= 3.3.6 = 
+
+* fixed: wp_register_style was called incorrectly. More info [bitbucket.org/simplemediacode/itempropwp](http://xh.lv/20). Reported RFT Group.
+
 = 3.3.5 = 
 
 * small bugfix in rare cases: "For some reason all blog articles now have Type: http://schema.org/Review;", thanks to [indevd bugreport](http://wordpress.org/support/topic/schemaorgreview?replies=4#post-3882462)