WordPress.org

Plugin Directory

Changeset 683535


Ignore:
Timestamp:
03/18/13 07:48:22 (13 months ago)
Author:
M66B
Message:

1.178 dev removed share link feature

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

Legend:

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

    r683147 r683535  
    774774= Development version = 
    775775* Bugfix: localized registration 
     776* Removed *Share link* feature, since there are too many problems with it 
    776777 
    777778Follow these steps to install the development version: 
  • add-link-to-facebook/trunk/add-link-to-facebook-admin.php

    r667319 r683535  
    682682 
    683683    <tr valign="top"><th scope="row"> 
    684         <label for="al2fb_share_link"><?php _e('Add \'Share\' link:', c_al2fb_text_domain); ?></label> 
    685     </th><td> 
    686         <input id="al2fb_share_link" name="<?php echo c_al2fb_meta_share_link; ?>" type="checkbox"<?php if (get_user_meta($user_ID, c_al2fb_meta_share_link, true)) echo ' checked="checked"'; ?> /> 
    687         <strong>Experimental!</strong> 
    688     </td></tr> 
    689  
    690     <tr valign="top"><th scope="row"> 
    691684        <label for="al2fb_shortlink"><?php _e('Use short URL:', c_al2fb_text_domain); ?></label> 
    692685    </th><td> 
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r667319 r683535  
    483483            update_user_meta($user_ID, c_al2fb_meta_trailer, $_POST[c_al2fb_meta_trailer]); 
    484484            update_user_meta($user_ID, c_al2fb_meta_hyperlink, $_POST[c_al2fb_meta_hyperlink]); 
    485             update_user_meta($user_ID, c_al2fb_meta_share_link, $_POST[c_al2fb_meta_share_link]); 
    486485            update_user_meta($user_ID, c_al2fb_meta_fb_comments, $_POST[c_al2fb_meta_fb_comments]); 
    487486            update_user_meta($user_ID, c_al2fb_meta_fb_comments_trailer, $_POST[c_al2fb_meta_fb_comments_trailer]); 
  • add-link-to-facebook/trunk/add-link-to-facebook-const.php

    r667319 r683535  
    8787define('c_al2fb_meta_trailer', 'al2fb_trailer'); 
    8888define('c_al2fb_meta_hyperlink', 'al2fb_hyperlink'); 
    89 define('c_al2fb_meta_share_link', 'al2fb_share_link'); 
    9089define('c_al2fb_meta_fb_comments', 'al2fb_fb_comments'); 
    9190define('c_al2fb_meta_fb_comments_trailer', 'al2fb_fb_comments_trailer'); 
  • add-link-to-facebook/trunk/add-link-to-facebook-debug.php

    r646659 r683535  
    157157    $info .= '<tr><td>Trailer:</td><td>' . htmlspecialchars(get_user_meta($user_ID, c_al2fb_meta_trailer, true), ENT_QUOTES, $charset) . '</td></tr>'; 
    158158    $info .= '<tr><td>Hyperlink:</td><td>' . (get_user_meta($user_ID, c_al2fb_meta_hyperlink, true) ? 'Yes' : 'No') . '</td></tr>'; 
    159     $info .= '<tr><td>Share link:</td><td>' . (get_user_meta($user_ID, c_al2fb_meta_share_link, true) ? 'Yes' : 'No') . '</td></tr>'; 
    160159    $info .= '<tr><td>Shortlink:</td><td>' . (get_user_meta($user_ID, c_al2fb_meta_shortlink, true) ? 'Yes' : 'No') . '</td></tr>'; 
    161160    $info .= '<tr><td>Page link:</td><td>' . (get_user_meta($user_ID, c_al2fb_meta_add_new_page, true) ? 'Yes' : 'No') . '</td></tr>'; 
  • add-link-to-facebook/trunk/add-link-to-facebook-int.php

    r683147 r683535  
    677677            if ($icon) 
    678678                $query_array['icon'] = $icon; 
    679  
    680             // Add share link (overwrites how link) 
    681             if (get_user_meta($user_ID, c_al2fb_meta_share_link, true)) { 
    682                 // http://forum.developers.facebook.net/viewtopic.php?id=50049 
    683                 // http://bugs.developers.facebook.net/show_bug.cgi?id=9075 
    684                 $actions = array( 
    685                     'name' => __('Share', c_al2fb_text_domain), 
    686                     'link' => 'http://www.facebook.com/share.php?u=' . urlencode($link) . '&t=' . rawurlencode($name) 
    687                 ); 
    688                 $query_array['actions'] = json_encode($actions); 
    689             } 
    690679 
    691680            // Get me info (needed for malformed link id's) 
  • add-link-to-facebook/trunk/readme.txt

    r683147 r683535  
    774774= Development version = 
    775775* Bugfix: localized registration 
     776* Removed *Share link* feature, since there are too many problems with it 
    776777 
    777778Follow these steps to install the development version: 
Note: See TracChangeset for help on using the changeset viewer.