Changeset 544932
- Timestamp:
- 05/16/2012 02:44:46 PM (14 years ago)
- Location:
- flattr/trunk
- Files:
-
- 2 edited
-
flattr.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
flattr/trunk/flattr.php
r544873 r544932 3 3 * @package Flattr 4 4 * @author Michael Henke 5 * @version 1.2.0b 25 * @version 1.2.0b3 6 6 Plugin Name: Flattr 7 7 Plugin URI: http://wordpress.org/extend/plugins/flattr/ 8 8 Description: Give your readers the opportunity to Flattr your effort 9 Version: 1.2.0b 29 Version: 1.2.0b3 10 10 Author: Michael Henke 11 11 Author URI: http://www.codingmerc.com/tags/flattr/ … … 21 21 const API_SCRIPT = 'api.flattr.com/js/0.6/load.js?mode=auto'; 22 22 23 const VERSION = "1.2.0b 2";23 const VERSION = "1.2.0b3"; 24 24 25 25 /** … … 443 443 } 444 444 445 if (is_front_page() && get_option('flattr_global_button')) {446 $url = $this->getGlobalButton('autosubmitUrl');445 if (is_front_page()) { 446 $url = get_option('flattr_global_button') ? $this->getGlobalButton('autosubmitUrl') : false; 447 447 } else if (in_array(get_post_type(), (array)get_option('flattr_post_types', array()))) { 448 448 $url = $this->getButton('autosubmitUrl'); … … 505 505 'user_id' => $flattr_uid, 506 506 'popout' => (get_option('flattr_popout_enabled', true) ? 1 : 0 ), 507 'url' => site_url( ),507 'url' => site_url('/'), 508 508 'compact' => (get_option('flattr_compact', false) ? true : false ), 509 509 'hidden' => get_option('flattr_hide'), -
flattr/trunk/readme.txt
r544867 r544932 59 59 * New Feature: The payment links in RSS/Atom can now be added without adding the graphical buttons and are now on by default 60 60 * New Feature: Payment links are now not only included in feed entries - they are now also by default included in the head-tag of entry pages which is usable for eg. browser extensions to detect the existence of a flattr button. 61 * New Feature: The site itself can now be become flattrable - both feeds and the frontpage will by default in new installs have a payment links for the site itself. 61 * New Feature: The site itself can now be become flattrable - both feeds and the frontpage will by default in new installs have a payment links for the site itself. Existing pages needs to activate the "Make frontpage flattrable" option. 62 62 * New Feature: Added a [flattr] shortcode for easy inclusion of Flattr buttons in posts and pages 63 63 * Fix: No longer prevents caching due to needless session initialization
Note: See TracChangeset
for help on using the changeset viewer.