PluginProbe ʕ •ᴥ•ʔ
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets / 2.13
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets v2.13
4.1.1 3.9.5 3.9.6 4.0.0 4.0.1 4.1.0 trunk 2.12 2.13 2.14 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9 3.7.0 3.7.1 3.7.2 3.7.3 3.7.3-beta-1.0 3.7.4 3.7.4-beta-1.0 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8.0 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4
wp-all-import / actions / admin_notices.php
wp-all-import / actions Last commit date
admin_menu.php 13 years ago admin_notices.php 13 years ago delete_post.php 13 years ago wp_loaded.php 13 years ago
admin_notices.php
28 lines
1 <?php
2
3 function pmxi_admin_notices() {
4 // notify user if history folder is not writable
5 if ( ! is_dir(PMXI_Plugin::ROOT_DIR . '/history') or ! is_writable(PMXI_Plugin::ROOT_DIR . '/history')) {
6 ?>
7 <div class="error"><p>
8 <?php printf(
9 __('<b>%s Plugin</b>: History folder %s must be writable for the plugin to function properly. Please deactivate the plugin, set proper permissions to the folder and activate the plugin again.', 'pmxi_plugin'),
10 PMXI_Plugin::getInstance()->getName(),
11 PMXI_Plugin::ROOT_DIR . '/history'
12 ) ?>
13 </p></div>
14 <?php
15 }
16
17 $input = new PMXI_Input();
18 $messages = $input->get('pmxi_nt', array());
19 if ($messages) {
20 is_array($messages) or $messages = array($messages);
21 foreach ($messages as $type => $m) {
22 in_array((string)$type, array('updated', 'error')) or $type = 'updated';
23 ?>
24 <div class="<?php echo $type ?>"><p><?php echo $m ?></p></div>
25 <?php
26 }
27 }
28 }