Plugin Directory

Changeset 422462


Ignore:
Timestamp:
08/12/2011 03:09:36 AM (15 years ago)
Author:
elubow
Message:

publishing/preview bug fix

Location:
simplereach-slide/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • simplereach-slide/trunk/readme.txt

    r422302 r422462  
    66Requires at least: 2.7
    77Tested up to: 3.2.1
    8 Stable tag: 0.5.2
     8Stable tag: 0.5.3
    99
    1010The Slide recommends related posts from within your site on a widget that "slides" in at the bottom of the page.
     
    5050
    5151== Upgrade Notice ==
    52 * Do not use version 0.5.0. There is a bug in tags that can prevent the page from loading properly.
     52* Do not use versions 0.5.0 - 0.5.2. There is a bug in tags that can prevent the page from loading properly.
    5353
    5454== Screenshots ==
     
    5757
    5858== Changelog ==
     59
     60= 0.5.3 =
     61* Better publish error checking
     62* Fixed a bug in publishing
    5963
    6064= 0.5.2 =
  • simplereach-slide/trunk/srslide.php

    r422302 r422462  
    44    Plugin URI: https://www.simplereach.com
    55    Description: After installation, you must click '<a href='options-general.php?page=SimpleReach-Slide'>Settings &rarr; SimpleReach Slide</a>' to turn on The Slide.
    6     Version: 0.5.2
     6    Version: 0.5.3
    77    Author: SimpleReach
    88    Author URI: https://www.simplereach.com
    99    */
    1010
    11 define('SRSLIDE_PLUGIN_VERSION', '0.5.2');
     11define('SRSLIDE_PLUGIN_VERSION', '0.5.3');
    1212define('SRSLIDE_PLUGIN_URL', plugin_dir_url(__FILE__));
    1313define('SRSLIDE_PLUGIN_SUPPORT_EMAIL', 'support@simplereach.com');
  • simplereach-slide/trunk/srslide_post.php

    r422302 r422462  
    123123    // Set to post title if the field is empty
    124124    if (empty($title)) {
    125         add_post_meta($id, '_srslide_title', $_POST['post_title']);
     125        if (!empty($_POST['post_title'])) {
     126            add_post_meta($id, '_srslide_title', $_POST['post_title']);
     127        }
    126128    } else {
    127129        add_post_meta($id, '_srslide_title', $title);
     
    130132    // Set to post tags if the field is empty
    131133    if (empty($tags)) {
    132 
     134        $tagset = array();
    133135        foreach (wp_get_post_tags($id) as $tag) {
    134136        $tagset[] = $tag->name;
Note: See TracChangeset for help on using the changeset viewer.