Changeset 6670 for trunk/src/includes/admin/converters/phpBB.php
- Timestamp:
- 08/27/2017 11:24:00 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/converters/phpBB.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/phpBB.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 *****************************************************/ … … 832 837 833 838 /** 834 * Translate the forum type from phpBB v3.x numeric 's to WordPress's strings.839 * Translate the forum type from phpBB v3.x numerics to WordPress's strings. 835 840 * 836 841 * @param int $status phpBB v3.x numeric forum type … … 852 857 853 858 /** 854 * Translate the forum status from phpBB v3.x numeric 's to WordPress's strings.859 * Translate the forum status from phpBB v3.x numerics to WordPress's strings. 855 860 * 856 861 * @param int $status phpBB v3.x numeric forum status … … 872 877 873 878 /** 874 * Translate the topic status from phpBB v3.x numeric 's to WordPress's strings.879 * Translate the topic status from phpBB v3.x numerics to WordPress's strings. 875 880 * 876 881 * @param int $status phpBB v3.x numeric topic status … … 892 897 893 898 /** 894 * Translate the topic sticky status type from phpBB 3.x numeric 's to WordPress's strings.899 * Translate the topic sticky status type from phpBB 3.x numerics to WordPress's strings. 895 900 * 896 901 * @param int $status phpBB 3.x numeric forum type … … 1018 1023 1019 1024 // Parse out any bbCodes in $field with the BBCode 'parser.php' 1020 require_once bbpress()->admin->admin_dir . 'parser.php'; 1021 $bbcode = BBCode::getInstance(); 1022 $bbcode->enable_smileys = false; 1023 $bbcode->smiley_regex = false; 1024 return html_entity_decode( $bbcode->Parse( $field ) ); 1025 return parent::callback_html( $field ); 1025 1026 } 1026 1027 }
Note: See TracChangeset
for help on using the changeset viewer.