Plugin Directory

Changeset 1607808


Ignore:
Timestamp:
03/04/2017 02:05:59 PM (9 years ago)
Author:
mln141
Message:

new version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • restricted-page/trunk/RestrictedPage.php

    r1175395 r1607808  
    44Plugin URI:
    55Description: Hides page content from not logged-in users
    6 Version: 1.0.1
     6Version: 1.0.2
    77Author: Leonid N. Malyshev
    88Author URI: http://mln.sk
     
    9191        }
    9292        //Delete 2nd... instances of short-code
    93         if ($content != "") $j=strpos($content,"[".$sc_name,1); else $j=-1;
     93        if ($content != "") $j=strpos($content,"[/".$sc_name,1); else $j=-1;
    9494        if ($j!=false && $j>=0) $content=substr ($content,0,$j);
    9595        //Delete after shortcode end ([\
Note: See TracChangeset for help on using the changeset viewer.