Plugin Directory

Changeset 828990


Ignore:
Timestamp:
12/27/2013 10:36:29 AM (12 years ago)
Author:
commentluv
Message:

tagging 1.34
wp 3.8
fix undefined indexes when debug = on

Location:
twitterlink-comments
Files:
39 added
2 edited

Legend:

Unmodified
Added
Removed
  • twitterlink-comments/trunk/readme.txt

    r821768 r828990  
    44Tags: twitter, comment form, follow me, twitterlink, twitlinkid
    55Requires at least: 3.0
    6 Tested up to: 3.7
    7 Stable tag: 1.32
     6Tested up to: 3.8
     7Stable tag: 1.34
    88   
    99Allow your commentators to include their Twitter username along with their comment so a follow-me link can be displayed with their details on the list of comments.
     
    6868
    6969== Upgrade Notice ==
     70
     71= 1.34 =
     72
     73readme and remove fancybox
     74fixed:  undefined indexes on checkbox options check
    7075
    7176= 1.33 =
  • twitterlink-comments/trunk/twitterlink-comments.php

    r821768 r828990  
    33    Plugin URI: http://comluv.com/
    44    Description: Plugin to show a link to follow the comment author on twitter if they have entered in their username at least once in the comment form
    5     Version: 1.33
     5    Version: 1.34
    66    Author: Andy Bailey
    77    Author URI: http://comluv.com
     
    4141                $local_pages = array ('plugins.php', 'options-general.php' );
    4242                // check if translation needed on current page
    43                 if (in_array ( $pagenow, $local_pages ) || in_array ( $_GET ['page'], $local_pages )) {
     43                if (in_array ( $pagenow, $local_pages ) || (isset($_GET['page']) && in_array ( $_GET ['page'], $local_pages ))) {
    4444                    $this->handle_load_domain ();
    4545                }
     
    510510                $dbtwitter = $wpdb->get_var($wpdb->prepare("SELECT twitid FROM {$wpdb->prefix}wptwitipid WHERE email = %s",$email));
    511511                // set this->twitter_id
    512                 if($options['use_profile'] == 'on'){
     512                if(isset($options['use_profile']) && $options['use_profile'] == 'on'){
    513513                    $user = get_user_by_email($email);
    514514                    $id = $user->ID;
Note: See TracChangeset for help on using the changeset viewer.