Plugin Directory

Changeset 1664279


Ignore:
Timestamp:
05/24/2017 09:18:31 PM (9 years ago)
Author:
signalfade
Message:

Fixed article image and incremented version

Location:
json-feeder/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • json-feeder/trunk/json-feeder.php

    r1664186 r1664279  
    55Description: Adds a new type of feed you can subscribe to. http://example.com/feed/json or http://example.com/?feed=json to anywhere you get a JSON form.
    66Author: signalfade
    7 Version: 1.0.2
     7Version: 1.0.3
    88
    99License:
  • json-feeder/trunk/readme.txt

    r1664186 r1664279  
    44Requires at least: 4.0
    55Tested up to: 4.7.5
    6 Stable tag: 1.0.2
     6Stable tag: 1.0.3
    77
    88Adds a feed based on the jsonfeed.org standard that one can subscribe to or parse.
     
    2020== Changelog ==
    2121
    22 **1.0.1 May 24, 2017**
     22**1.0.3 May 24, 2017**
     23
     24Fixed item image link.
     25
     26**1.0.2 May 24, 2017**
    2327
    2428Fixed head link, missing href.
  • json-feeder/trunk/template/json-feeder.php

    r1664116 r1664279  
    4848        // thumbnail
    4949        if (function_exists('has_post_thumbnail') && has_post_thumbnail($id)) {
    50             $single["image"] = preg_replace("/^.*['\"](https?:\/\/[^'\"]*)['\"].*/i","$1",get_the_post_thumbnail($id));
     50            $single["image"] = get_the_post_thumbnail_url($id);
    5151        }
    5252
Note: See TracChangeset for help on using the changeset viewer.