Plugin Directory

Changeset 1445143


Ignore:
Timestamp:
06/28/2016 06:12:52 PM (10 years ago)
Author:
thrivehive
Message:

forcing reauth when viewing draft posts if not logged in.

Location:
thrivehive/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • thrivehive/trunk/controllers/core.php

    r1285189 r1445143  
    269269    global $json_api, $post;
    270270
     271    if(!current_user_can("read_private_posts")){
     272      $json_api->error("Can't let you view that", "**auth**");
     273    }
     274
    271275    // Remove the filter for hiding the title so we get it in the response
    272276    remove_filter( 'the_title', 'suppress_title', 10);
  • thrivehive/trunk/readme.txt

    r1438031 r1445143  
    3535
    3636== Changelog ==
     37* V 1.121 Forcing a reauth when viewing draft posts if not logged in.
    3738* V 1.120 Fixing bug with header style options and json deserialization
    3839* V 1.119 Adding support for user-tokens in snippets
  • thrivehive/trunk/thrivehive.php

    r1438031 r1445143  
    55   *Plugin URI: http://thrivehive.com
    66   *Description: A plugin to include ThriveHive's tracking code
    7    *Version: 1.120
     7   *Version: 1.121
    88   *Author: ThriveHive
    99   *Author URI: http://thrivehive.com
Note: See TracChangeset for help on using the changeset viewer.