Changeset 647622
- Timestamp:
- 01/03/2013 10:38:54 PM (13 years ago)
- Location:
- show-hide-author
- Files:
-
- 2 edited
- 3 copied
-
tags/1.0 (copied) (copied from show-hide-author/trunk)
-
tags/1.0/readme.txt (copied) (copied from show-hide-author/trunk/readme.txt) (1 diff)
-
tags/1.0/show_hide_author.php (copied) (copied from show-hide-author/trunk/show_hide_author.php) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/show_hide_author.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
show-hide-author/tags/1.0/readme.txt
r646290 r647622 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.5 7 Stable tag: 1. 07 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
show-hide-author/tags/1.0/show_hide_author.php
r646294 r647622 306 306 $custom_classes_array = explode(';', $options_by['option_by_class']); 307 307 } else { 308 $custom_classes_array = [''];308 $custom_classes_array = array(''); 309 309 } 310 310 foreach($custom_classes_array as $custom_class) { … … 316 316 $custom_regexs_array = explode(';', $options_by['option_by_regex']); 317 317 } else { 318 $custom_regexs_array = [''];318 $custom_regexs_array = array(''); 319 319 } 320 320 if($custom_regexs_array[0] != '') { … … 352 352 var regex = / by <a(.*?)\/a>|<span class="meta-sep">by<\/span>/; 353 353 break; 354 case 'object' : 355 var classes = ['post-details', 'post']; 356 var regex = / by <span(.*?)\/span>|<p class="post-details">by/; 357 break; 354 358 default: 355 359 var classes = ['entry-meta']; -
show-hide-author/trunk/readme.txt
r646290 r647622 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.5 7 Stable tag: 1. 07 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
show-hide-author/trunk/show_hide_author.php
r646294 r647622 306 306 $custom_classes_array = explode(';', $options_by['option_by_class']); 307 307 } else { 308 $custom_classes_array = [''];308 $custom_classes_array = array(''); 309 309 } 310 310 foreach($custom_classes_array as $custom_class) { … … 316 316 $custom_regexs_array = explode(';', $options_by['option_by_regex']); 317 317 } else { 318 $custom_regexs_array = [''];318 $custom_regexs_array = array(''); 319 319 } 320 320 if($custom_regexs_array[0] != '') { … … 352 352 var regex = / by <a(.*?)\/a>|<span class="meta-sep">by<\/span>/; 353 353 break; 354 case 'object' : 355 var classes = ['post-details', 'post']; 356 var regex = / by <span(.*?)\/span>|<p class="post-details">by/; 357 break; 354 358 default: 355 359 var classes = ['entry-meta'];
Note: See TracChangeset
for help on using the changeset viewer.