WordPress.org

Plugin Directory

Changeset 611811


Ignore:
Timestamp:
10/13/12 06:30:00 (19 months ago)
Author:
M66B
Message:

1.165 dev exclude/video scheduled posts; global URL parameter

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

Legend:

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

    r601458 r611811  
    44Tags: post, posts, Facebook, social, link, links, permalink, wpmu, admin, comment, comments, shortcode, sidebar, widget, bbPress 
    55Requires at least: 3.2 
    6 Tested up to: 3.4.1 
     6Tested up to: 3.5 
    77Stable tag: 1.164 
    88 
     
    784784 
    785785= Development version = 
     786* Bugfix: exclude/video for scheduled posts 
    786787* Improvement: auto fix invalid locales 
    787788* Improvement: strip shortcodes if not filtering text/excerpt 
     789* New feature: global URL parameter 
     790* Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
     791* Tested with WordPress 3.5 beta 2 
    788792 
    789793Follow these steps to install the development version: 
     
    818822* Updated Norwegian (nb\_NO) translation by [Stein Ivar Johnsen](http://www.idyrøy.no/ "Stein Ivar Johnsen") 
    819823 
    820 = 1.162 = 
    821 * Improvement: strip_shortcodes when not processing shortcodes 
    822 * Bugfix: define WP_DEBUG only if not already defined (debug mode only) 
    823 * Updated Norwegian (nb\_NO) translation by [Stein Ivar Johnsen](http://www.idyrøy.no/ "Stein Ivar Johnsen") 
    824  
    825824= Older versions = 
    826825* Deleted, because of maximum readme.txt size 
     
    834833= 1.163 = 
    835834Two bugfixes, two new features, four improvements, several translation updates 
    836  
    837 = 1.162 = 
    838 One improvement, one bugfix, translation update 
    839835 
    840836== Setup guide == 
  • add-link-to-facebook/trunk/add-link-to-facebook-admin.php

    r601869 r611811  
    387387        <input type="radio" name="<?php echo c_al2fb_meta_picture_size; ?>" value="medium"<?php echo $pic_medium; ?>><?php _e('medium', c_al2fb_text_domain); ?><br /> 
    388388        <input type="radio" name="<?php echo c_al2fb_meta_picture_size; ?>" value="large"<?php echo $pic_large; ?>><?php _e('large', c_al2fb_text_domain); ?><br /> 
     389        <span class="al2fb_explanation"><?php _e('Facebook will always show a small picture', c_al2fb_text_domain); ?></span><br /> 
    389390        <span class="al2fb_explanation"><?php _e('Only works for pictures from the media library', c_al2fb_text_domain); ?></span> 
    390391    </td></tr> 
     
    11831184 
    11841185    <tr valign="top"><th scope="row"> 
     1186        <label for="al2fb_param_name"><?php _e('Extra URL parameter', c_al2fb_text_domain); ?>:</label> 
     1187    </th><td> 
     1188        <input id="al2fb_param_name" class="al2fb_text" name="<?php echo c_al2fb_meta_param_name; ?>" type="text" value="<?php echo get_user_meta($user_ID, c_al2fb_meta_param_name, true); ?>" /> 
     1189        &nbsp;=&nbsp; 
     1190        <input id="al2fb_param_value" class="al2fb_text" name="<?php echo c_al2fb_meta_param_value ?>" type="text" value="<?php echo get_user_meta($user_ID, c_al2fb_meta_param_value, true); ?>" /> 
     1191        <br /><span class="al2fb_explanation"><?php _e('For example for Google Anaylytics', c_al2fb_text_domain); ?></span> 
     1192    </td></tr> 
     1193 
     1194    <tr valign="top"><th scope="row"> 
    11851195        <label for="al2fb_clear_errors"><?php _e('Clear all error messages:', c_al2fb_text_domain); ?></label> 
    11861196    </th><td> 
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r600479 r611811  
    530530            update_user_meta($user_ID, c_al2fb_meta_fb_encoding, $_POST[c_al2fb_meta_fb_encoding]); 
    531531            update_user_meta($user_ID, c_al2fb_meta_fb_locale, $_POST[c_al2fb_meta_fb_locale]); 
     532            update_user_meta($user_ID, c_al2fb_meta_param_name, $_POST[c_al2fb_meta_param_name]); 
     533            update_user_meta($user_ID, c_al2fb_meta_param_value, $_POST[c_al2fb_meta_param_value]); 
    532534            update_user_meta($user_ID, c_al2fb_meta_donated, $_POST[c_al2fb_meta_donated]); 
    533535            update_user_meta($user_ID, c_al2fb_meta_rated, $_POST[c_al2fb_meta_rated]); 
     
    13291331 
    13301332            // Delegate 
     1333            $_POST['al2fb_form'] = true; 
    13311334            self::Transition_post_status('publish', 'future', $post); 
    13321335        } 
  • add-link-to-facebook/trunk/add-link-to-facebook-const.php

    r578378 r611811  
    140140define('c_al2fb_meta_fb_encoding', 'al2fb_fb_encoding'); 
    141141define('c_al2fb_meta_fb_locale', 'al2fb_fb_locale'); 
     142define('c_al2fb_meta_param_name', 'al2fb_param_name'); 
     143define('c_al2fb_meta_param_value', 'al2fb_param_value'); 
    142144define('c_al2fb_meta_clear_errors', 'al2fb_clear_errors'); 
    143145define('c_al2fb_meta_donated', 'al2fb_donated'); 
  • add-link-to-facebook/trunk/add-link-to-facebook-int.php

    r600222 r611811  
    575575            if (empty($link)) 
    576576                $link = get_permalink($post->ID); 
    577             $url_param_name = get_post_meta($post->ID, c_al2fb_meta_url_param_name, true); 
    578             $url_param_value = get_post_meta($post->ID, c_al2fb_meta_url_param_value, true); 
     577 
     578            // Get URL param 
     579            $url_param_name = get_user_meta($user_ID, c_al2fb_meta_param_name, true); 
     580            $url_param_value = get_user_meta($user_ID, c_al2fb_meta_param_value, true); 
     581            if (empty($url_param_name)) 
     582                $url_param_name = get_post_meta($post->ID, c_al2fb_meta_url_param_name, true); 
     583            if (empty($url_param_value)) 
     584                $url_param_value = get_post_meta($post->ID, c_al2fb_meta_url_param_value, true); 
    579585            if (!empty($url_param_name)) 
    580586                $link = add_query_arg($url_param_name, $url_param_value, $link); 
     587 
    581588            $link = apply_filters('al2fb_link', $link, $post); 
    582589 
  • add-link-to-facebook/trunk/language/add-link-to-facebook-nl_BE.po

    r578378 r611811  
    99"Content-Type: text/plain; charset=UTF-8\n" 
    1010"Content-Transfer-Encoding: 8bit\n" 
    11 "PO-Revision-Date: 2012-07-28 13:28+0100\n" 
     11"PO-Revision-Date: 2012-10-13 08:00+0100\n" 
    1212"Last-Translator: Marcel Bokhorst\n" 
    1313"Language-Team: Marcel Bokhorst\n" 
     
    10381038msgstr "Wis alle foutmeldingen:" 
    10391039 
     1040msgid "Facebook will always show a small picture" 
     1041msgstr "Facebook laat altijd een kleine afbeelding zien" 
     1042 
  • add-link-to-facebook/trunk/language/add-link-to-facebook-nl_NL.po

    r578378 r611811  
    99"Content-Type: text/plain; charset=UTF-8\n" 
    1010"Content-Transfer-Encoding: 8bit\n" 
    11 "PO-Revision-Date: 2012-07-28 13:28+0100\n" 
     11"PO-Revision-Date: 2012-10-13 08:00+0100\n" 
    1212"Last-Translator: Marcel Bokhorst\n" 
    1313"Language-Team: Marcel Bokhorst\n" 
     
    10381038msgstr "Wis alle foutmeldingen:" 
    10391039 
     1040msgid "Facebook will always show a small picture" 
     1041msgstr "Facebook laat altijd een kleine afbeelding zien" 
     1042 
  • add-link-to-facebook/trunk/readme.txt

    r601458 r611811  
    44Tags: post, posts, Facebook, social, link, links, permalink, wpmu, admin, comment, comments, shortcode, sidebar, widget, bbPress 
    55Requires at least: 3.2 
    6 Tested up to: 3.4.1 
     6Tested up to: 3.5 
    77Stable tag: 1.164 
    88 
     
    784784 
    785785= Development version = 
     786* Bugfix: exclude/video for scheduled posts 
    786787* Improvement: auto fix invalid locales 
    787788* Improvement: strip shortcodes if not filtering text/excerpt 
     789* New feature: global URL parameter 
     790* Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
     791* Tested with WordPress 3.5 beta 2 
    788792 
    789793Follow these steps to install the development version: 
     
    818822* Updated Norwegian (nb\_NO) translation by [Stein Ivar Johnsen](http://www.idyrøy.no/ "Stein Ivar Johnsen") 
    819823 
    820 = 1.162 = 
    821 * Improvement: strip_shortcodes when not processing shortcodes 
    822 * Bugfix: define WP_DEBUG only if not already defined (debug mode only) 
    823 * Updated Norwegian (nb\_NO) translation by [Stein Ivar Johnsen](http://www.idyrøy.no/ "Stein Ivar Johnsen") 
    824  
    825824= Older versions = 
    826825* Deleted, because of maximum readme.txt size 
     
    834833= 1.163 = 
    835834Two bugfixes, two new features, four improvements, several translation updates 
    836  
    837 = 1.162 = 
    838 One improvement, one bugfix, translation update 
    839835 
    840836== Setup guide == 
Note: See TracChangeset for help on using the changeset viewer.