Plugin Directory

Changeset 345439


Ignore:
Timestamp:
02/14/2011 06:16:23 PM (15 years ago)
Author:
mcinvale
Message:

Added new functionality.

Location:
header-cleanup/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • header-cleanup/trunk/headercleanup.php

    r311764 r345439  
    44Plugin URI: http://binarym.com/2010/wordpress-head-cleanup-plugin/
    55Description: Remove extraneous head tags from WordPress.
    6 Version: 0.0.3
     6Version: 0.0.4
    77Author: Matt McInvale - BinaryM Inc.
    88Author URI: http://binarym.com/
     
    4040        remove_action( 'template_redirect', 'wp_shortlink_header', 11, 0 );
    4141    }
     42    if ($binaryheadercleanup['commentsrss']) {
     43        add_filter('post_comments_feed_link','headerCleanupKillCommentsRSS');
     44    }
    4245
    4346}
     47
     48function headerCleanupKillCommentsRSS( $for_comments ) {
     49    return;
     50}
     51
    4452
    4553function headerCleanupKillCommentsStyle() {
     
    7482        <input type="hidden" name="page_options" value="binaryheadercleanup" />
    7583
    76 
    7784        <table class="form-table">
    7885            <tr valign="top">
    7986                <th scope="row">RSD Link</th>
    8087                <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>
    8192            </tr>
    8293            <tr valign="top">
  • header-cleanup/trunk/readme.txt

    r311739 r345439  
    33Tags: html, clean, puppies
    44Requires at least: 2.7
    5 Tested up to: 3.0.1
     5Tested up to: 3.0.5
    66Stable tag: trunk
    77
Note: See TracChangeset for help on using the changeset viewer.