Plugin Directory

Changeset 1400670


Ignore:
Timestamp:
04/20/2016 06:43:25 PM (10 years ago)
Author:
oshingler
Message:

Wordpress 4.5 compatible

Location:
olimometer
Files:
65 added
2 edited

Legend:

Unmodified
Added
Removed
  • olimometer/trunk/olimometer.php

    r1268020 r1400670  
    66Author: Oliver Shingler
    77Author URI: http://www.speaktothegeek.co.uk
    8 Version: 2.55
     8Version: 2.56
    99*/
    1010
     
    14851485    // What is this user's user_id?
    14861486    require_once (ABSPATH . WPINC . '/pluggable.php');
    1487     global $current_user;
    1488     get_currentuserinfo();
     1487    global $current_user;   $current_user = wp_get_current_user();
     1488    //get_currentuserinfo();
    14891489   
    14901490    update_option('olimometer_last_' . $current_user->user_login, $last_olimometer_id);
     
    14951495    // What is this user's user_id?
    14961496    require_once (ABSPATH . WPINC . '/pluggable.php');
    1497     global $current_user;
    1498     get_currentuserinfo();
     1497    global $current_user;   $current_user = wp_get_current_user();
     1498    //get_currentuserinfo();
    14991499   
    15001500    $olimometer_last = get_option('olimometer_last_' . $current_user->user_login);
  • olimometer/trunk/readme.txt

    r1268024 r1400670  
    44Tags: charities, charity, counter, donate, donate goals, donate meter, donation, donations, fund, fundraise, fundraising, fundraising goal, fundraising thermometer, goal, olimometer, paypal, progress, sidebar, sponsor, sponsorship, thermometer, widget, stayclassy
    55Requires at least: 3.1
    6 Tested up to: 4.3
     6Tested up to: 4.5
    77Stable tag: trunk
    88
     
    2323If you wish the thermometer to have a transparent background then I suggest you still choose a background colour close to the actual background on which the thermometer will appear. This will ensure that the image blends in perfectly.
    2424
     25If you have *any* problems installing or using this plugin, or if it doesn't quite meet your needs then please let me know. Post your query on the forum http://wordpress.org/support/plugin/olimometer or visit http://www.speaktothegeek.co.uk/oliblog/olimometer and leave a comment, or via Twitter @OliverShingler
     26 
    2527
    2628== Installation ==
     
    6466= I've found a bug / have a suggestion =
    6567
    66 Please visit the support forum http://wordpress.org/support/plugin/olimometer or you can leave a comment on the plugin's official page http://www.speaktothegeek.co.uk/olimometer. I can't make any promises but I will do my best.
     68You can contact me via Twitter @OliverShingler, chat on the forum http://wordpress.org/support/plugin/olimometer or you can leave a comment on the plugin's official page http://www.speaktothegeek.co.uk/oliblog/olimometer. I can't make any promises but I will do my best.
    6769
    6870= How do I change the thermometer image? =
     
    117119== Changelog ==
    118120
     121= 2.56 =
     122* Updated to work with WordPress 4.5 - please note that in some cases this update will break your existing Olimometers and they may need reconfiguring.
     123
    119124= 2.55 =
    120125* Class Constructor updated to comply with Wordpress 4.3 again but done properly this time.
     
    284289== Upgrade Notice ==
    285290
     291= 2.56 =
     292* Updated to work with WordPress 4.5 - please note that in some cases this update will break your existing Olimometers and they may need reconfiguring.
     293
    286294= 2.55 =
    287295* Class Constructor updated to comply with Wordpress 4.3 again but done properly this time.
Note: See TracChangeset for help on using the changeset viewer.