Changeset 680952
- Timestamp:
- 03/13/2013 02:55:01 AM (13 years ago)
- Location:
- show-hide-author/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
show_hide_author.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
show-hide-author/trunk/readme.txt
r677018 r680952 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.5 7 Stable tag: 2. 17 Stable tag: 2.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 112 112 == Changelog == 113 113 114 = 2.2 = 115 * Support for IE8 and below. 116 117 = 2.1 = 118 * Added more themes support. 119 114 120 = 2.0 = 115 121 * Fixed a problem when multiple Regular Expressions were used. -
show-hide-author/trunk/show_hide_author.php
r677018 r680952 3 3 Plugin Name: Show Hide Author 4 4 Description: Choose whether to show or hide the author name. 5 Version: 2. 15 Version: 2.2 6 6 Author: Michael Spyratos 7 7 Author URI: http://mspyratos.com/ … … 369 369 var regex_array = regex.split(";"); 370 370 for(var k = 0; k < regex_array.length; k++) { 371 if (elements[j].innerHTML.match(new RegExp(regex_array[k] ))) {372 var replaced_txt = elements[j].innerHTML.replace(new RegExp(regex_array[k] ), '');371 if (elements[j].innerHTML.match(new RegExp(regex_array[k], "i"))) { 372 var replaced_txt = elements[j].innerHTML.replace(new RegExp(regex_array[k], "i"), ''); 373 373 elements[j].innerHTML = replaced_txt; 374 374 }
Note: See TracChangeset
for help on using the changeset viewer.