WordPress.org

Plugin Directory

Changeset 487614


Ignore:
Timestamp:
01/10/12 16:21:30 (2 years ago)
Author:
ryelle
Message:

add readme updates, PFS backcompat fix

Location:
post-from-site/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • post-from-site/trunk/post-from-site.class.php

    r487351 r487614  
    373373            if ( array_key_exists('taxonomy',$options) ){ 
    374374                foreach ($options['taxonomy'] as $i => $tax){ 
    375                     $out .= $this->get_taxonomy_list($tax); 
     375                    //if ($tax != 'category' || empty($cat)){ 
     376                        $out .= $this->get_taxonomy_list($tax); 
     377                    //} 
    376378                } 
    377379            }        
     
    464466    return $size; 
    465467} 
     468 
     469/** 
     470 * Backwards compatibility 
     471 */ 
     472function post_from_site($cat = '', $linktext = ''){ 
     473    $pfs = new PostFromSite(0, $linktext, true, $cat); 
     474    $pfs->form(); 
     475} 
  • post-from-site/trunk/readme.txt

    r487585 r487614  
    1515After install, you can display a form on your site via a widget, shortcode, or PHP code in your theme. See [this page for further documentation](http://me.redradar.net/category/plugins/post-from-site/). 
    1616 
     17== Upgrade Notice == 
     18 
     19If you're updating from 2.0.3 or below, you'll need to resave your settings before it will work correctly (a lot of things were changed in 3.0). 
     20 
    1721== Installation == 
    1822 
     
    2933 
    3034== Changelog == 
     35= 3.0.1 = 
     36* Added the post_from_site function back for compatability 
     37 
    3138= 3.0 = 
    3239* Rewrote code (again) into a class. 
Note: See TracChangeset for help on using the changeset viewer.