Skip to content
Browse files

change param to remove comments informations on dashboard to leave th…

…e uses memory section
  • Loading branch information...
1 parent 734119d commit 528e29e16eb9f35a542b9c246fab0a9bfd2f8f82 @bueltge committed
Showing with 11 additions and 12 deletions.
  1. 0 .gitignore
  2. +11 −12 remove-comments-absolute.php
  3. 0 screenshot-1.png
  4. 0 screenshot-2.png
View
0 .gitignore 100644 → 100755
File mode changed.
View
23 remove-comments-absolute.php 100644 → 100755
@@ -1,16 +1,16 @@
<?php
/**
- * Plugin Name: Remove Comments Absolutely
- * Plugin URI: http://wpengineer.com/2230/removing-comments-absolutely-wordpress/
- * Text Domain: remove_comments_absolute
- * Domain Path: /languages
- * Description: Deactivate comments functions and remove areas absolutely from the WordPress install
- * Author: Frank Bültge
- * Version: 0.0.4
- * Licence: GPLv2
- * Author URI: http://bueltge.de/
+ * Plugin Name: Remove Comments Absolutely
+ * Plugin URI: http://wpengineer.com/2230/removing-comments-absolutely-wordpress/
+ * Text Domain: remove_comments_absolute
+ * Domain Path: /languages
+ * Description: Deactivate comments functions and remove areas absolutely from the WordPress install
+ * Author: Frank Bültge
+ * Version: 0.0.5
+ * Licence: GPLv2
+ * Author URI: http://bueltge.de/
* Upgrade Check: none
- * Last Change: 17.06.2011
+ * Last Change: 02.12.2011
*/
if ( ! class_exists( 'Remove_Comments_Absolute' ) ) {
@@ -186,7 +186,7 @@ public function remove_comments_areas () {
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready( function($) {
- $( '.table_discussion' ).remove();
+ $( '.table_discussion' ).remove( ":contains('Discussion')" );
});
//]]>
</script>
@@ -237,4 +237,3 @@ public function feed_links( $args = array() ) {
} // end class
} // end if class exists
-?>
View
0 screenshot-1.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0 screenshot-2.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 528e29e

Please sign in to comment.
Something went wrong with that request. Please try again.