Plugin Directory

Changeset 1553513


Ignore:
Timestamp:
12/13/2016 10:06:26 AM (9 years ago)
Author:
rwtc
Message:

fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • social-bot-hook/trunk/social-bot-hook.php

    r1553231 r1553513  
    55Author: Shahid Shaikh
    66Author URI: https://codeforgeek.com/about
    7 Version: 1.1.1
     7Version: 1.1.2
    88*/
    99function sbh_retrieve_random_post() {
     
    1414  }
    1515  $sbhPost = $sbhRandomPost[0];
     16  if (!isset($sbhResponse))
     17     $sbhResponse= new stdClass();
    1618  $sbhResponse->post_title = $sbhPost->post_title;
    1719  $sbhResponse->permalink = get_permalink($sbhPost->ID);
Note: See TracChangeset for help on using the changeset viewer.