| @@ -18,9 +18,9 @@ | ||
| 18 | 18 | * Translation for TinyMCE |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | 21 | if ( ! class_exists( '_WP_Editors' ) ) { |
| 22 | - require( ABSPATH . WPINC . '/class-wp-editor.php' ); | |
| 22 | + require ABSPATH . WPINC . '/class-wp-editor.php'; | |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * The module for all languages stuff. |
| @@ -67,8 +67,19 @@ | ||
| 67 | 67 | |
| 68 | 68 | return $translated; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | + /** | |
| 72 | + * | |
| 73 | + * The method that returns the strings array | |
| 74 | + * | |
| 75 | + * @since ? | |
| 76 | + * @access public | |
| 77 | + * @return array | |
| 78 | + */ | |
| 79 | + public function get_strings() { | |
| 80 | + return $this->strings; | |
| 81 | + } | |
| 71 | 82 | } |
| 72 | 83 | |
| 73 | 84 | $visualizerLangClass = new Visualizer_Module_Language(); |
| 74 | 85 | $strings = $visualizerLangClass->tinymce_translation(); |