Changeset 727596
- Timestamp:
- 06/17/2013 06:40:45 PM (13 years ago)
- Location:
- html-cleanup
- Files:
-
- 3 edited
-
assets/screenshot-1.png (modified) (previous)
-
trunk/html-cleanup.php (modified) (2 diffs)
-
trunk/settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
html-cleanup/trunk/html-cleanup.php
r704380 r727596 4 4 Plugin URI: https://davidlyness.com/plugins/html-cleanup 5 5 Description: A plugin to replace or remove lines of HTML generated by Wordpress and other plugins based on predefined regular expressions. 6 Version: 1.2. 06 Version: 1.2.1 7 7 Author: David Lyness 8 8 Author URI: https://davidlyness.com … … 11 11 12 12 // File to get / set administrative options 13 require_once( __DIR__. '/settings.php');13 require_once(dirname(__FILE__) . '/settings.php'); 14 14 15 15 // Do the actual filtering by performing regex search & replace operations -
html-cleanup/trunk/settings.php
r704380 r727596 31 31 update_option('blacklisted_patterns', ""); 32 32 } 33 add_settings_field('html_cleanup_blacklisted_patterns', ' List of patterns to blacklist', 'text_html_cleanup_blacklist', 'html_cleanup', 'html_cleanup_blacklist_settings');33 add_settings_field('html_cleanup_blacklisted_patterns', 'Patterns to blacklist', 'text_html_cleanup_blacklist', 'html_cleanup', 'html_cleanup_blacklist_settings'); 34 34 35 35 register_setting('html_cleanup_group', 'blacklist_replace_flag');
Note: See TracChangeset
for help on using the changeset viewer.