Changeset 1607808
- Timestamp:
- 03/04/2017 02:05:59 PM (9 years ago)
- File:
-
- 1 edited
-
restricted-page/trunk/RestrictedPage.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
restricted-page/trunk/RestrictedPage.php
r1175395 r1607808 4 4 Plugin URI: 5 5 Description: Hides page content from not logged-in users 6 Version: 1.0. 16 Version: 1.0.2 7 7 Author: Leonid N. Malyshev 8 8 Author URI: http://mln.sk … … 91 91 } 92 92 //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; 94 94 if ($j!=false && $j>=0) $content=substr ($content,0,$j); 95 95 //Delete after shortcode end ([\
Note: See TracChangeset
for help on using the changeset viewer.