Changeset 640073
- Timestamp:
- 12/16/2012 04:21:22 PM (13 years ago)
- Location:
- wpsocialite/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
wpsocialite.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpsocialite/trunk/readme.txt
r620950 r640073 5 5 Requires at least: 3.0 6 6 Tested up to: 3.4.2 7 Stable tag: 1.4. 47 Stable tag: 1.4.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 74 74 == Changelog == 75 75 76 = 1.4.5 = 77 * Fixed in_array error being thrown due to post type check. 78 76 79 = 1.4.4 = 77 80 * Fixed WP_Trip_excerpt Issue. … … 105 108 == Upgrade Notice == 106 109 110 = 1.4.5 = 111 * Fixed in_array error being thrown due to post type check. 112 107 113 = 1.4.4 = 108 114 * Fixes WP_Trip_excerpt Issue. -
wpsocialite/trunk/wpsocialite.php
r620950 r640073 5 5 Description: No one likes long load times! Yet we all want to be able to share our content via Facebook, Twitter, and all other social networks. These take a long time to load. Paradox? Not anymore! With WPSocialite (utilizing David Bushnell's amazing SocialiteJS plugin [http://www.socialitejs.com/]) we can manage the loading process of our social sharing links. Load them on hover, on page scroll, and more! 6 6 Author: Tom Morton 7 Version: 1.4. 47 Version: 1.4.5 8 8 Author URI: http://twmorton.com/ 9 9 … … 204 204 return $content; 205 205 206 if(!in_array($pt,$post_types)) //Do not display on the specified post type 207 return $content; 208 206 if($post_types){ 207 if(!in_array($pt,$post_types)) //Do not display on the specified post type 208 return $content; 209 } 209 210 if(is_feed()) 210 211 return $content; //do not include social markup in feed … … 410 411 function wpsocialite_post_types(){ 411 412 $value = get_option('wpsocialite_post_types',array()); 413 if($value === ''){ 414 $value = array(); 415 } 412 416 $post_types = get_post_types(array('public'=>true),'objects'); 413 417
Note: See TracChangeset
for help on using the changeset viewer.