Changeset 6670 for trunk/src/includes/admin/converters/vBulletin.php
- Timestamp:
- 08/27/2017 11:24:00 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/converters/vBulletin.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/vBulletin.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 private 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 *****************************************************/ … … 651 656 652 657 /** 653 * Translate the forum type from vBulletin v4.x numeric 's to WordPress's strings.658 * Translate the forum type from vBulletin v4.x numerics to WordPress's strings. 654 659 * 655 660 * @param int $status vBulletin v4.x numeric forum type … … 666 671 667 672 /** 668 * Translate the topic sticky status type from vBulletin v4.x numeric 's to WordPress's strings.673 * Translate the topic sticky status type from vBulletin v4.x numerics to WordPress's strings. 669 674 * 670 675 * @param int $status vBulletin v4.x numeric forum type … … 701 706 702 707 /** 703 * Translate the post status from vBulletin numeric 's to WordPress's strings.708 * Translate the post status from vBulletin numerics to WordPress's strings. 704 709 * 705 710 * @param int $status vBulletin v4.x numeric topic status … … 747 752 748 753 // Parse out any bbCodes in $field with the BBCode 'parser.php' 749 require_once bbpress()->admin->admin_dir . 'parser.php'; 750 $bbcode = BBCode::getInstance(); 751 $bbcode->enable_smileys = false; 752 $bbcode->smiley_regex = false; 753 return html_entity_decode( $bbcode->Parse( $field ) ); 754 return parent::callback_html( $field ); 754 755 } 755 756 }
Note: See TracChangeset
for help on using the changeset viewer.