Changeset 428069
- Timestamp:
- 08/24/2011 10:48:27 AM (15 years ago)
- Location:
- facebook-likes-you/trunk
- Files:
-
- 2 edited
-
facebook-likes-you.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
facebook-likes-you/trunk/facebook-likes-you.php
r427428 r428069 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.5 6 Version: 1.5.1 7 7 Author: Piotr Sochalewski 8 8 Author URI: http://www.sproject.name/ … … 35 35 $fb_like_colorschemes = array('light', 'dark'); 36 36 $fb_like_font = array('', 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'); 37 38 $defaultappid = 165570960176857; 37 39 38 40 function fb_register_like_settings() { … … 134 136 $fb_like_settings['css_style'] = get_option('fb_like_css_style'); 135 137 136 $defaultappid = 165570960176857;137 138 138 $locale = defined(WPLANG) ? WPLANG : 'en_US'; 139 139 … … 159 159 160 160 function fb_like_return_appid() { 161 global $fb_like_settings ;161 global $fb_like_settings, $defaultappid; 162 162 163 163 $appid = trim($fb_like_settings['appid']); … … 262 262 263 263 function fb_like_open_graph() { 264 global $fb_like_settings ;264 global $fb_like_settings, $defaultappid; 265 265 266 266 if($fb_like_settings['opengraph']=='true') { … … 277 277 <meta property="og:image" content="<?php echo fb_like_catch_image() ?>"/> 278 278 <meta property="og:site_name" content="<?php bloginfo('name') ?>"/> 279 <?php if ( fb_like_return_appid()!=$defaultappid)279 <?php if (!empty($fb_like_settings['appid']) && fb_like_return_appid()!=$defaultappid) 280 280 echo '<meta property="fb:app_id" content="' . fb_like_return_appid() . '"/>'; 281 281 } -
facebook-likes-you/trunk/readme.txt
r427428 r428069 5 5 Requires at least: 2.9 6 6 Tested up to: 3.2.1 7 Stable tag: 1.5 7 Stable tag: 1.5.1 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! … … 45 45 46 46 == Changelog == 47 48 = 1.5.1 = 49 * Fixed critical bug: really important if use Open Graph and have no app ID 47 50 48 51 = 1.5 =
Note: See TracChangeset
for help on using the changeset viewer.