Changeset 345439
- Timestamp:
- 02/14/2011 06:16:23 PM (15 years ago)
- Location:
- header-cleanup/trunk
- Files:
-
- 2 edited
-
headercleanup.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
header-cleanup/trunk/headercleanup.php
r311764 r345439 4 4 Plugin URI: http://binarym.com/2010/wordpress-head-cleanup-plugin/ 5 5 Description: Remove extraneous head tags from WordPress. 6 Version: 0.0. 36 Version: 0.0.4 7 7 Author: Matt McInvale - BinaryM Inc. 8 8 Author URI: http://binarym.com/ … … 40 40 remove_action( 'template_redirect', 'wp_shortlink_header', 11, 0 ); 41 41 } 42 if ($binaryheadercleanup['commentsrss']) { 43 add_filter('post_comments_feed_link','headerCleanupKillCommentsRSS'); 44 } 42 45 43 46 } 47 48 function headerCleanupKillCommentsRSS( $for_comments ) { 49 return; 50 } 51 44 52 45 53 function headerCleanupKillCommentsStyle() { … … 74 82 <input type="hidden" name="page_options" value="binaryheadercleanup" /> 75 83 76 77 84 <table class="form-table"> 78 85 <tr valign="top"> 79 86 <th scope="row">RSD Link</th> 80 87 <td><input type="checkbox" name="binaryheadercleanup[rsdlink]" value="1" <?php if ($binaryheadercleanup['rsdlink']) echo 'checked="checked"'; ?>/></td> 88 </tr> 89 <tr valign="top"> 90 <th scope="row">Comments RSS</th> 91 <td><input type="checkbox" name="binaryheadercleanup[commentsrss]" value="1" <?php if ($binaryheadercleanup['commentsrss']) echo 'checked="checked"'; ?>/></td> 81 92 </tr> 82 93 <tr valign="top"> -
header-cleanup/trunk/readme.txt
r311739 r345439 3 3 Tags: html, clean, puppies 4 4 Requires at least: 2.7 5 Tested up to: 3.0. 15 Tested up to: 3.0.5 6 6 Stable tag: trunk 7 7
Note: See TracChangeset
for help on using the changeset viewer.