WordPress.org

Plugin Directory

Changeset 578382


Ignore:
Timestamp:
07/28/12 12:03:29 (21 months ago)
Author:
M66B
Message:

1.163 dev add to page: none

Location:
add-link-to-facebook
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • add-link-to-facebook/tags/1.162/readme.txt

    r578378 r578382  
    779779* New feature: add to wall of friends ([Pro version](http://www.faircode.eu/al2fbpro/) only; beta) 
    780780* New feature: option to clear all errors (settings tab Misc) 
     781* Improvement: add to page: none 
    781782* Improvement: updated Mozilla CA certificates 
    782783* Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
  • add-link-to-facebook/trunk/add-link-to-facebook-admin.php

    r578378 r578382  
    442442                    <select class="al2fb_select" id="al2fb_page" name="<?php echo c_al2fb_meta_page; ?>"> 
    443443<?php 
     444                    echo '<option value="-"' . ($selected_page == '-' ? ' selected' : '') . '>' . __('None', c_al2fb_text_domain) . '</option>'; 
    444445                    if ($me) 
    445446                        echo '<option value=""' . ($selected_page ? '' : ' selected') . '>' . htmlspecialchars($me->name, ENT_QUOTES, $charset) . ' (' . __('Personal', c_al2fb_text_domain) . ')</option>'; 
  • add-link-to-facebook/trunk/add-link-to-facebook-int.php

    r578149 r578382  
    536536            // Pages 
    537537            if (empty($page_ids) || WPAL2Int::Check_multiple()) { 
    538                 $page_ids[] = get_user_meta($user_ID, c_al2fb_meta_page, true); 
     538                $page = get_user_meta($user_ID, c_al2fb_meta_page, true); 
     539                if ($page != '-') 
     540                    $page_ids[] = $page; 
    539541                if (WPAL2Int::Check_multiple()) { 
    540542                    $extra = get_user_meta($user_ID, c_al2fb_meta_page_extra, true); 
     
    10041006            if (get_user_meta($user_ID, c_al2fb_meta_use_groups, true)) 
    10051007                $page_id = get_user_meta($user_ID, c_al2fb_meta_group, true); 
    1006             if (empty($page_id)) 
     1008            if (empty($page_id)) { 
    10071009                $page_id = get_user_meta($user_ID, c_al2fb_meta_page, true); 
     1010                if ($page_id == '-') 
     1011                    unset($page_id); 
     1012            } 
    10081013            if ($self || empty($page_id)) 
    10091014                $page_id = 'me'; 
  • add-link-to-facebook/trunk/readme.txt

    r578378 r578382  
    779779* New feature: add to wall of friends ([Pro version](http://www.faircode.eu/al2fbpro/) only; beta) 
    780780* New feature: option to clear all errors (settings tab Misc) 
     781* Improvement: add to page: none 
    781782* Improvement: updated Mozilla CA certificates 
    782783* Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
Note: See TracChangeset for help on using the changeset viewer.