Permalink
Browse files

change from full get_post object to post_content only

  • Loading branch information...
chen420 committed Oct 6, 2016
1 parent 4effc90 commit ec0a0c0567e23cbdceb66788e9c3d8ccbd07f9c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 tinywebdb.php
View
@@ -118,7 +118,7 @@ public static function getvalue($tagName) {
$tagValue = get_post($postid);
if (is_null($tagValue)) $tagValue = $bedtag; //reports a get_post failure
// $tagName = wp_tinywebdb_api_get_tagName($postid);
return $tagValue;
return $tagValue->post_content;
}
public static function storeavalue($tagName, $tagValue) {

0 comments on commit ec0a0c0

Please sign in to comment.