Changeset 42228 for trunk/tests/phpunit/tests/formatting/Smilies.php
- Timestamp:
- 11/26/2017 11:56:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/Smilies.php
r41043 r42228 105 105 106 106 $wpsmiliestrans = array( 107 108 109 110 107 ':PP' => 'icon_tongue.gif', 108 ':arrow:' => 'icon_arrow.gif', 109 ':monkey:' => 'icon_shock_the_monkey.gif', 110 ':nervou:' => 'icon_nervou.gif' 111 111 ); 112 112 … … 259 259 260 260 $wpsmiliestrans = array ( 261 261 ':)' => 'simple-smile.png' 262 262 ); 263 263 … … 347 347 348 348 349 349 public function _filter_remove_smilies( $wpsmiliestrans ) { 350 350 unset( $wpsmiliestrans[':oops:'] ); 351 351 return $wpsmiliestrans; 352 353 354 352 } 353 354 public function _filter_add_smilies( $wpsmiliestrans ) { 355 355 $wpsmiliestrans['<3'] = '\xe2\x9d\xa4'; 356 356 return $wpsmiliestrans; 357 357 } 358 358 }
Note: See TracChangeset
for help on using the changeset viewer.