PluginProbe
WP Ultimate Post Grid / 1.6
WP Ultimate Post Grid v1.6
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
← All changes | vendor/vafpress/bootstrap.php +4 -8 2.7.01.6 View file →
@@ -15,9 +15,9 @@
15 15
16 16 //////////////////////////
17 17 // Load Languages //
18 18 //////////////////////////
19 -load_theme_textdomain('wp-ultimate-post-grid', VP_DIR . '/lang');
19 +load_theme_textdomain('wp-ultimate-recipe', VP_DIR . '/lang');
20 20
21 21 //////////////////////////
22 22 // Setup FileSystem //
23 23 //////////////////////////
@@ -84,9 +84,9 @@
84 84
85 85 try {
86 86 $result['data'] = call_user_func_array($function, $params);
87 87 $result['status'] = true;
88 - $result['message'] = __("Successful", 'wp-ultimate-post-grid');
88 + $result['message'] = __("Successful", 'wp-ultimate-recipe');
89 89 } catch (Exception $e) {
90 90 $result['data'] = '';
91 91 $result['status'] = false;
92 92 $result['message'] = $e->getMessage();
@@ -95,9 +95,9 @@
95 95 else
96 96 {
97 97 $result['data'] = '';
98 98 $result['status'] = false;
99 - $result['message'] = __("Unauthorized function", 'wp-ultimate-post-grid');
99 + $result['message'] = __("Unauthorized function", 'wp-ultimate-recipe');
100 100 }
101 101
102 102 if (ob_get_length()) ob_clean();
103 103 header('Content-type: application/json');
@@ -191,16 +191,12 @@
191 191
192 192 if( $dummy )
193 193 {
194 194 echo '<div style="display: none">';
195 - add_filter( 'wp_default_editor', 'vp_post_dummy_editor_tinymce' );
195 + add_filter( 'wp_default_editor', create_function('', 'return "tinymce";') );
196 196 wp_editor ( '', 'vp_dummy_editor' );
197 197 echo '</div>';
198 198 }
199 - }
200 -
201 - function vp_post_dummy_editor_tinymce() {
202 - return "tinymce";
203 199 }
204 200 }
205 201
206 202 if( !function_exists('vp_sg_init_buttons') )