Changeset 208134
- Timestamp:
- 02/19/2010 10:29:27 PM (16 years ago)
- File:
-
- 1 edited
-
striptease/trunk/striptease.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
striptease/trunk/striptease.php
r208126 r208134 1 1 <?php 2 3 /** 4 * A WordPress plugin that strips the "#more" fragments from the end of "Read More" teaser links. 5 * 6 * @package StripTease 7 * @link http://guyfisher.com/builder/striptease/ 8 * @author Guy Fisher 9 * @copyright Copyright © 2010 Guy M. Fisher 10 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 11 * @version 2.0 12 */ 2 13 3 14 /* … … 5 16 Plugin Name: StripTease 6 17 Plugin URI: http://guyfisher.com/builder/striptease/ 7 Description: Strips the "#more" fragment from the end of "Read More" teaser links.18 Description: Strips the "#more" fragments from the end of "Read More" teaser links. 8 19 Author: Guy Fisher 9 20 Author URI: http://guyfisher.com/ … … 26 37 */ 27 38 39 /** 40 * Strips the #more-$id fragments from the end of "Read More" teaser links. 41 * 42 * Filters the $more_link string passed from the_content_more_link filter 43 * in the get_the_content() function. 44 * 45 * @since 2.0 46 * 47 * @global int Post ID 48 * @param string $more_link HTML markup for teaser link 49 * @return string HTML markup with #more-$id fragment stripped off 50 */ 28 51 function striptease_more_link( $more_link ) { 29 52 global $id;
Note: See TracChangeset
for help on using the changeset viewer.