WordPress.org

Plugin Directory

Changeset 618024


Ignore:
Timestamp:
10/27/12 13:59:30 (18 months ago)
Author:
M66B
Message:

1.167 dev bugfix: excludes when using scheduled posts

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

Legend:

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

    r615287 r618024  
    784784 
    785785= Development version = 
     786* Bugfix: excludes when using scheduled posts 
    786787* New feature: widget/shortcode/template tag for Facebook subscribe button 
    787788* Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r615225 r618024  
    13341334 
    13351335            // Delegate 
    1336             $_POST['al2fb_form'] = true; 
    13371336            self::Transition_post_status('publish', 'future', $post); 
    13381337        } 
     
    13961395                // Apply defaults if no form 
    13971396                if (!isset($_POST['al2fb_form'])) { 
    1398                     update_post_meta($post->ID, c_al2fb_meta_exclude, get_user_meta($user_ID, c_al2fb_meta_exclude_default, true)); 
    1399                     update_post_meta($post->ID, c_al2fb_meta_exclude_video, get_user_meta($user_ID, c_al2fb_meta_exclude_default_video, true)); 
     1397                    if (!get_post_meta($post->ID, c_al2fb_meta_exclude, true)) 
     1398                        update_post_meta($post->ID, c_al2fb_meta_exclude, get_user_meta($user_ID, c_al2fb_meta_exclude_default, true)); 
     1399                    if (!get_post_meta($post->ID, c_al2fb_meta_exclude_video, true)) 
     1400                        update_post_meta($post->ID, c_al2fb_meta_exclude_video, get_user_meta($user_ID, c_al2fb_meta_exclude_default_video, true)); 
    14001401                } 
    14011402 
  • add-link-to-facebook/trunk/readme.txt

    r615287 r618024  
    784784 
    785785= Development version = 
     786* Bugfix: excludes when using scheduled posts 
    786787* New feature: widget/shortcode/template tag for Facebook subscribe button 
    787788* Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
Note: See TracChangeset for help on using the changeset viewer.