WordPress.org

Plugin Directory

Changeset 1116860


Ignore:
Timestamp:
03/20/15 13:03:42 (2 years ago)
Author:
johneckman
Message:

releasing 2.7.2

Location:
wpbook
Files:
2 edited
6 copied

Legend:

Unmodified
Added
Removed
  • wpbook/tags/2.7.2/README.txt

    r1087142 r1116860  
    22Contributors: johneckman, davelester, BandonRandon 
    33Tags: facebook, platform, application, blog, mirror 
    4 Stable tag: 2.7.1 
    5 Tested up to: 4.0 
     4Stable tag: 2.7.2 
     5Tested up to: 4.2 
    66Requires at least: 2.9.0 
    77 
  • wpbook/tags/2.7.2/trunk/README.txt

    r1087142 r1116860  
    22Contributors: johneckman, davelester, BandonRandon 
    33Tags: facebook, platform, application, blog, mirror 
    4 Stable tag: 2.7.1 
    5 Tested up to: 4.0 
     4Stable tag: 2.7.2 
     5Tested up to: 4.2 
    66Requires at least: 2.9.0 
    77 
     
    101101 
    102102== Changelog == 
     103 
     104= 2.7.2 =  
     105 * Fix nonce protection, clean up some warnings on strings  
    103106 
    104107= 2.7.1 =  
  • wpbook/tags/2.7.2/trunk/wpbook.php

    r1087142 r1116860  
    66Author: John Eckman 
    77Author URI: http://johneckman.com 
    8 Version: 2.7.1 
    9 Stable tag: 2.7.1 
     8Version: 2.7.2 
     9Stable tag: 2.7.2 
    1010*/ 
    1111 
     
    9292            $wpbookAdminOptions['proto'] = "http"; 
    9393        } 
    94     } 
    95     return $wpbookAdminOptions; 
     94        return $wpbookAdminOptions;  
     95    } 
     96    return; 
    9697} 
    9798 
     
    207208        get_currentuserinfo(); 
    208209        $wpbookAdminOptions = wpbook_getAdminOptions(); 
    209  
    210210        // if we're posting 
    211         if ( ! empty( $_POST ) && check_admin_referer( 'update_settings', 'wpbook_admin_nonce')  
    212                 && isset($_POST['fb_api_key']) && isset($_POST['fb_secret']) && isset($_POST['fb_app_url'])  
     211        if ( !empty($_POST)  && isset($_POST['fb_api_key']) && isset($_POST['fb_secret'])  
     212                && isset($_POST['fb_app_url'])  
    213213                && isset($_POST['fb_admin_target']) && (!empty($_POST['fb_api_key']))   
    214214                && (!empty($_POST['fb_secret'])) && (!empty($_POST['fb_app_url']))  
    215                 && (!empty($_POST['fb_admin_target']))) { 
     215                && (!empty($_POST['fb_admin_target'])) && (check_admin_referer( 'update_settings', 'wpbook_admin_nonce'))) { 
    216216            $fb_api_key = preg_replace("#[^0-9]#", "",$_POST['fb_api_key']); 
    217217            $fb_secret = $_POST['fb_secret']; 
     
    466466        } elseif (($wpbookAdminOptions['fb_api_key'] != "") && ($wpbookAdminOptions['fb_secret'] != "") && ($wpbookAdminOptions['fb_app_url'] != "")  && ($wpbookAdminOptions['fb_admin_target'] != "")){ 
    467467            $flash = ""; 
    468         } elseif (! check_admin_referer( 'update_settings', 'wpbook_admin_nonce') ) { 
    469             $flash = "Admin nonce failed";  
    470468        } else { 
    471469            $flash = "Please complete all necessary fields"; 
     
    480478            if ($wpbookAdminOptions['wpbook_installation'] != 1) { 
    481479                $gravatar_default = WP_PLUGIN_URL .'/wpbook/theme/default/gravatar_default.gif'; 
    482                 setAdminOptions(1, null,null,null,null,null,true,true,true,true,top,null,null,"F j, Y","g:i a", 
    483                                 true,null,null,null,disabled,null,"g",$gravatar_default,null,null,null,null,true,true,10, 
     480                setAdminOptions(1, null,null,null,null,null,true,true,true,true,"top",null,null,"F j, Y","g:i a", 
     481                                true,null,null,null,"disabled",null,"g",$gravatar_default,null,null,null,null,true,true,10, 
    484482                                false,false,false,false,false,false,7,"facebook@openparenthesis.org",null,null,null,false,false,null,false,null); 
    485483            } 
  • wpbook/tags/2.7.2/wpbook.php

    r1087142 r1116860  
    66Author: John Eckman 
    77Author URI: http://johneckman.com 
    8 Version: 2.7.1 
    9 Stable tag: 2.7.1 
     8Version: 2.7.2 
     9Stable tag: 2.7.2 
    1010*/ 
    1111 
     
    9292            $wpbookAdminOptions['proto'] = "http"; 
    9393        } 
    94     } 
    95     return $wpbookAdminOptions; 
     94        return $wpbookAdminOptions;  
     95    } 
     96    return; 
    9697} 
    9798 
     
    207208        get_currentuserinfo(); 
    208209        $wpbookAdminOptions = wpbook_getAdminOptions(); 
    209  
    210210        // if we're posting 
    211         if ( ! empty( $_POST ) && check_admin_referer( 'update_settings', 'wpbook_admin_nonce')  
    212                 && isset($_POST['fb_api_key']) && isset($_POST['fb_secret']) && isset($_POST['fb_app_url'])  
     211        if ( !empty($_POST)  && isset($_POST['fb_api_key']) && isset($_POST['fb_secret'])  
     212                && isset($_POST['fb_app_url'])  
    213213                && isset($_POST['fb_admin_target']) && (!empty($_POST['fb_api_key']))   
    214214                && (!empty($_POST['fb_secret'])) && (!empty($_POST['fb_app_url']))  
    215                 && (!empty($_POST['fb_admin_target']))) { 
     215                && (!empty($_POST['fb_admin_target'])) && (check_admin_referer( 'update_settings', 'wpbook_admin_nonce'))) { 
    216216            $fb_api_key = preg_replace("#[^0-9]#", "",$_POST['fb_api_key']); 
    217217            $fb_secret = $_POST['fb_secret']; 
     
    466466        } elseif (($wpbookAdminOptions['fb_api_key'] != "") && ($wpbookAdminOptions['fb_secret'] != "") && ($wpbookAdminOptions['fb_app_url'] != "")  && ($wpbookAdminOptions['fb_admin_target'] != "")){ 
    467467            $flash = ""; 
    468         } elseif (! check_admin_referer( 'update_settings', 'wpbook_admin_nonce') ) { 
    469             $flash = "Admin nonce failed";  
    470468        } else { 
    471469            $flash = "Please complete all necessary fields"; 
     
    480478            if ($wpbookAdminOptions['wpbook_installation'] != 1) { 
    481479                $gravatar_default = WP_PLUGIN_URL .'/wpbook/theme/default/gravatar_default.gif'; 
    482                 setAdminOptions(1, null,null,null,null,null,true,true,true,true,top,null,null,"F j, Y","g:i a", 
    483                                 true,null,null,null,disabled,null,"g",$gravatar_default,null,null,null,null,true,true,10, 
     480                setAdminOptions(1, null,null,null,null,null,true,true,true,true,"top",null,null,"F j, Y","g:i a", 
     481                                true,null,null,null,"disabled",null,"g",$gravatar_default,null,null,null,null,true,true,10, 
    484482                                false,false,false,false,false,false,7,"facebook@openparenthesis.org",null,null,null,false,false,null,false,null); 
    485483            } 
  • wpbook/trunk/README.txt

    r1087142 r1116860  
    22Contributors: johneckman, davelester, BandonRandon 
    33Tags: facebook, platform, application, blog, mirror 
    4 Stable tag: 2.7.1 
    5 Tested up to: 4.0 
     4Stable tag: 2.7.2 
     5Tested up to: 4.2 
    66Requires at least: 2.9.0 
    77 
     
    101101 
    102102== Changelog == 
     103 
     104= 2.7.2 =  
     105 * Fix nonce protection, clean up some warnings on strings  
    103106 
    104107= 2.7.1 =  
  • wpbook/trunk/wpbook.php

    r1087142 r1116860  
    66Author: John Eckman 
    77Author URI: http://johneckman.com 
    8 Version: 2.7.1 
    9 Stable tag: 2.7.1 
     8Version: 2.7.2 
     9Stable tag: 2.7.2 
    1010*/ 
    1111 
     
    9292            $wpbookAdminOptions['proto'] = "http"; 
    9393        } 
    94     } 
    95     return $wpbookAdminOptions; 
     94        return $wpbookAdminOptions;  
     95    } 
     96    return; 
    9697} 
    9798 
     
    207208        get_currentuserinfo(); 
    208209        $wpbookAdminOptions = wpbook_getAdminOptions(); 
    209  
    210210        // if we're posting 
    211         if ( ! empty( $_POST ) && check_admin_referer( 'update_settings', 'wpbook_admin_nonce')  
    212                 && isset($_POST['fb_api_key']) && isset($_POST['fb_secret']) && isset($_POST['fb_app_url'])  
     211        if ( !empty($_POST)  && isset($_POST['fb_api_key']) && isset($_POST['fb_secret'])  
     212                && isset($_POST['fb_app_url'])  
    213213                && isset($_POST['fb_admin_target']) && (!empty($_POST['fb_api_key']))   
    214214                && (!empty($_POST['fb_secret'])) && (!empty($_POST['fb_app_url']))  
    215                 && (!empty($_POST['fb_admin_target']))) { 
     215                && (!empty($_POST['fb_admin_target'])) && (check_admin_referer( 'update_settings', 'wpbook_admin_nonce'))) { 
    216216            $fb_api_key = preg_replace("#[^0-9]#", "",$_POST['fb_api_key']); 
    217217            $fb_secret = $_POST['fb_secret']; 
     
    466466        } elseif (($wpbookAdminOptions['fb_api_key'] != "") && ($wpbookAdminOptions['fb_secret'] != "") && ($wpbookAdminOptions['fb_app_url'] != "")  && ($wpbookAdminOptions['fb_admin_target'] != "")){ 
    467467            $flash = ""; 
    468         } elseif (! check_admin_referer( 'update_settings', 'wpbook_admin_nonce') ) { 
    469             $flash = "Admin nonce failed";  
    470468        } else { 
    471469            $flash = "Please complete all necessary fields"; 
     
    480478            if ($wpbookAdminOptions['wpbook_installation'] != 1) { 
    481479                $gravatar_default = WP_PLUGIN_URL .'/wpbook/theme/default/gravatar_default.gif'; 
    482                 setAdminOptions(1, null,null,null,null,null,true,true,true,true,top,null,null,"F j, Y","g:i a", 
    483                                 true,null,null,null,disabled,null,"g",$gravatar_default,null,null,null,null,true,true,10, 
     480                setAdminOptions(1, null,null,null,null,null,true,true,true,true,"top",null,null,"F j, Y","g:i a", 
     481                                true,null,null,null,"disabled",null,"g",$gravatar_default,null,null,null,null,true,true,10, 
    484482                                false,false,false,false,false,false,7,"facebook@openparenthesis.org",null,null,null,false,false,null,false,null); 
    485483            } 
Note: See TracChangeset for help on using the changeset viewer.