Changeset 422256
- Timestamp:
- 08/11/2011 07:17:24 PM (15 years ago)
- Location:
- facebook-likes-you/trunk
- Files:
-
- 5 edited
-
facebook-likes-you.php (modified) (3 diffs)
-
languages/fb_like_trans_domain-pl_PL.mo (modified) (previous)
-
languages/fb_like_trans_domain-pl_PL.po (modified) (1 diff)
-
languages/fb_like_trans_domain.pot (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
facebook-likes-you/trunk/facebook-likes-you.php
r419893 r422256 4 4 Plugin URI: http://www.sproject.name/download/wp-facebook-likes-you/ 5 5 Description: Facebook Likes You! is simple plugin which makes it easy to add Facebook Like button and widgetable Like box. It's fully configurable, so you can decide where to append the button. 6 Version: 1.4. 46 Version: 1.4.5 7 7 Author: Piotr Sochalewski 8 8 Author URI: http://www.sproject.name/ … … 209 209 ob_start(); 210 210 ob_end_clean(); 211 212 if (is_home()) 213 return $fb_like_settings['defaultpic']; 211 214 212 215 if (current_theme_supports('post-thumbnails')) 213 216 if (has_post_thumbnail($post->ID)) { 214 217 $img = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'medium' ); 215 return esc_attr($img[0]); 218 if (!empty($img)) 219 return esc_attr($img[0]); 216 220 } 217 221 … … 230 234 if($fb_like_settings['opengraph']=='true') { 231 235 ?> 232 <meta property="og:title" content="<?php wp_title('«', true, 'right'); ?><?php bloginfo('name'); ?>"/>233 236 <?php if (is_home()) 234 echo '<meta property="og:type" content="blog"/> <meta property="og:url" content="' . get_bloginfo("home") . '"/>'; 235 else echo '<meta property="og:type" content="article"/> <meta property="og:url" content="' . get_permalink() . '"/>'; ?> 237 echo '<meta property="og:title" content="' . get_bloginfo('name') . '"/> 238 <meta property="og:type" content="blog"/> 239 <meta property="og:url" content="' . get_bloginfo("home") . '"/> 240 '; 241 else echo '<meta property="og:title" content="' . wp_title('«', false, 'right') . get_bloginfo('name') .'"/> 242 <meta property="og:type" content="article"/> 243 <meta property="og:url" content="' . get_permalink() . '"/> 244 '; ?> 236 245 <meta property="og:image" content="<?php echo fb_like_catch_image() ?>"/> 237 <meta property="og:site_name" content="<?php bloginfo('name') ?>"/>238 <?php if (fb_like_return_appid()!=$defaultappid)239 echo '<meta property="fb:app_id" content="' . fb_like_return_appid() . '"/>';246 <meta property="og:site_name" content="<?php bloginfo('name') ?>"/> 247 <?php if (fb_like_return_appid()!=$defaultappid) 248 echo '<meta property="fb:app_id" content="' . fb_like_return_appid() . '"/>'; 240 249 } 241 250 } -
facebook-likes-you/trunk/languages/fb_like_trans_domain-pl_PL.po
r419000 r422256 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Facebook Likes You! v1.4 \n"3 "Project-Id-Version: Facebook Likes You! v1.4.5\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2011-05-03 01:22-0800\n" 6 "PO-Revision-Date: 2011-08- 04 01:14+0100\n"6 "PO-Revision-Date: 2011-08-11 21:15+0100\n" 7 7 "Last-Translator: Piotr Sochalewski <[email protected]>\n" 8 8 "Language-Team: Piotr Sochalewski <[email protected]>\n" -
facebook-likes-you/trunk/languages/fb_like_trans_domain.pot
r419000 r422256 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Facebook Likes You! 1.4 \n"3 "Project-Id-Version: Facebook Likes You! 1.4.5\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2011-05-03 01:22-0800\n" -
facebook-likes-you/trunk/readme.txt
r419893 r422256 5 5 Requires at least: 2.9 6 6 Tested up to: 3.2 7 Stable tag: 1.4. 47 Stable tag: 1.4.5 8 8 9 9 Facebook Likes You! is simple plugin which makes it easy to add Like Button and widgetable Like Box. Google +1 Button isn't a problem too! … … 48 48 49 49 == Changelog == 50 51 = 1.4.5 = 52 * Fixes for Open Graph 50 53 51 54 = 1.4.4 =
Note: See TracChangeset
for help on using the changeset viewer.