Changeset 6670 for trunk/src/includes/admin/converters/e107v1.php
- Timestamp:
- 08/27/2017 11:24:00 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/e107v1.php
r6573 r6670 21 21 * 22 22 */ 23 function __construct() {23 public function __construct() { 24 24 parent::__construct(); 25 $this->setup_globals();26 25 } 27 26 … … 30 29 */ 31 30 public function setup_globals() { 31 32 // Setup smiley URL & path 33 $this->bbcode_parser_properties = array( 34 'smiley_url' => false, 35 'smiley_dir' => false 36 ); 32 37 33 38 /** Forum Section *****************************************************/ … … 489 494 490 495 /** 491 * Translate the forum type from e107 v1.x numeric 's to WordPress's strings.496 * Translate the forum type from e107 v1.x numerics to WordPress's strings. 492 497 * 493 498 * @param int $status e107 v1.x numeric forum type … … 504 509 505 510 /** 506 * Translate the post status from e107 v1.x numeric 's to WordPress's strings.511 * Translate the post status from e107 v1.x numerics to WordPress's strings. 507 512 * 508 513 * @param int $status e107 v1.x numeric topic status … … 524 529 525 530 /** 526 * Translate the topic sticky status type from e107 v1.x numeric 's to WordPress's strings.531 * Translate the topic sticky status type from e107 v1.x numerics to WordPress's strings. 527 532 * 528 533 * @param int $status e107 v1.x numeric forum type … … 628 633 629 634 // Parse out any bbCodes in $field with the BBCode 'parser.php' 630 require_once bbpress()->admin->admin_dir . 'parser.php'; 631 $bbcode = BBCode::getInstance(); 632 $bbcode->enable_smileys = false; 633 $bbcode->smiley_regex = false; 634 return html_entity_decode( $bbcode->Parse( $field ) ); 635 return parent::callback_html( $field ); 635 636 } 636 637 }
Note: See TracChangeset
for help on using the changeset viewer.