PluginProbe
Import WP – CSV & XML Import Export for WordPress / 2.15.2
Import WP – CSV & XML Import Export for WordPress v2.15.2
2.15.2 2.15.1 2.15.0 2.14.24 2.14.23 2.7.0 2.7.1 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.9.0 All 145 releases
← All changes | setup-iwp.php +13 -2 2.8.3 → 2.15.2 View file →
@@ -39,9 +39,9 @@
39 39 if (iwp_is_pro_disabled()) {
40 40 remove_action('plugins_loaded', 'iwp_pro_loaded');
41 41
42 42 // Display compatability message
43 - $message = '<strong>Import WP v' . IWP_VERSION . '</strong> requires <strong>Import WP PRO v' . IWP_CORE_MIN_PRO_VERSION . ' or greater</strong>, Download the lastest version of Import WP Pro or Rollback Import WP to a compatable version.';
43 + $message = sprintf(__('ImportWP v%s requires ImportWP PRO v%s or greater, Download the lastest version of Import WP Pro or Rollback Import WP to a compatable version.', 'jc-importer'), IWP_VERSION, IWP_CORE_MIN_PRO_VERSION);
44 44 add_action('admin_notices', function () use ($message) {
45 45
46 46 global $pagenow;
47 47
@@ -103,9 +103,9 @@
103 103
104 104 $upgrade_mesasge = function () {
105 105 ?>
106 106 <tr class="iwp-zip-remove-row-error iwp-invalid">
107 - <td colspan="4">Import WP - Zip Archive Importer Addon is now included in ImportWP, please deactivate and remove this plugin.</td>
107 + <td colspan="4"><?php _e('Import WP - Zip Archive Importer Addon is now included in ImportWP, please deactivate and remove this plugin.', 'jc-importer'); ?></td>
108 108 </tr>
109 109 <style>
110 110 .iwp-zip-remove-row-error td {
111 111 -webkit-box-shadow: 0px -1px 0 rgba(255, 255, 255, 0.1),
@@ -150,8 +150,9 @@
150 150 *
151 151 * @param string $name
152 152 * @param string $id
153 153 * @param callable(AddonInterface) $callback
154 + * @deprecated 2.14.0
154 155 *
155 156 * @return ImportWP\Common\Addon\AddonInterface
156 157 */
157 158 function iwp_register_importer_addon($name, $id, $callback)
@@ -157,4 +158,14 @@
157 158 function iwp_register_importer_addon($name, $id, $callback)
158 159 {
159 160 return new ImportWP\Common\Addon\AddonBase($name, $id, $callback);
160 161 }
162 +
163 +function iwp_register_muplugin_uninstall()
164 +{
165 + do_action('iwp/compat/register_muplugin_uninstall');
166 +}
167 +
168 +
169 +add_action('init', function () {
170 + load_plugin_textdomain('jc-importer', false, basename(dirname(__FILE__)) . '/languages/');
171 +});