WordPress.org

Plugin Directory

Changeset 583791


Ignore:
Timestamp:
08/10/12 06:39:36 (21 months ago)
Author:
M66B
Message:

1.163 dev apply default when not using post editor

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

Legend:

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

    r581964 r583791  
    781781* Improvement: add to page: none 
    782782* Improvement: updated Mozilla CA certificates 
     783* Improvement: apply (video) exclude default when not using the post editor 
    783784* Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
    784785* Updated German (de\_DE) translation by [Wolfgang Tischer](http://www.literaturcafe.de "Wolfgang Tischer") 
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r578378 r583791  
    883883            <div class="al2fb_post_submit"> 
    884884            <div class="misc-pub-section"> 
     885            <input type="hidden" id="al2fb_form" name="al2fb_form" value="true"> 
    885886<?php 
    886887            wp_nonce_field(plugin_basename(__FILE__), c_al2fb_nonce_form); 
    887  
    888888 
    889889            if (get_option(c_al2fb_option_login_add_links)) 
     
    12481248                update_user_meta($user_ID, c_al2fb_meta_facebook_page, $_POST[c_al2fb_meta_facebook_page]); 
    12491249 
     1250            // Apply defaults if no form 
     1251            if (!isset($_POST['al2fb_form'])) { 
     1252                update_post_meta($post_id, c_al2fb_meta_exclude, get_user_meta($user_ID, c_al2fb_meta_exclude_default, true)); 
     1253                update_post_meta($post_id, c_al2fb_meta_exclude_video, get_user_meta($user_ID, c_al2fb_meta_exclude_default_video, true)); 
     1254            } 
     1255 
    12501256            // Process exclude indication 
    12511257            if (isset($_POST[c_al2fb_meta_exclude]) && $_POST[c_al2fb_meta_exclude]) 
  • add-link-to-facebook/trunk/readme.txt

    r581964 r583791  
    781781* Improvement: add to page: none 
    782782* Improvement: updated Mozilla CA certificates 
     783* Improvement: apply (video) exclude default when not using the post editor 
    783784* Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
    784785* Updated German (de\_DE) translation by [Wolfgang Tischer](http://www.literaturcafe.de "Wolfgang Tischer") 
Note: See TracChangeset for help on using the changeset viewer.