bulk.php
1 month ago
delete.php
1 month ago
index.php
1 month ago
scheduling.php
1 month ago
update.php
1 month ago
update.php
32 lines
| 1 | <?php if ( ! defined( 'ABSPATH' ) ) exit; ?> |
| 2 | <h2><?php esc_html_e('Update Import', 'wp-all-import') ?></h2> |
| 3 | |
| 4 | <?php if ($this->errors->get_error_codes()): ?> |
| 5 | <?php $this->error() ?> |
| 6 | <?php endif ?> |
| 7 | |
| 8 | <?php if ($item->path): ?> |
| 9 | <form method="post"> |
| 10 | <p><?php echo wp_kses( sprintf( |
| 11 | /* translators: %s: import name */ |
| 12 | __('Are you sure you want to update <strong>%s</strong> import?', 'wp-all-import'), |
| 13 | esc_html($item->name) |
| 14 | ), array('strong' => array()) ); ?></p> |
| 15 | <p><?php echo wp_kses( sprintf( |
| 16 | /* translators: %s: source path */ |
| 17 | __('Source path is <strong>%s</strong>', 'wp-all-import'), |
| 18 | esc_html($item->path) |
| 19 | ), array('strong' => array()) ); ?></p> |
| 20 | |
| 21 | <p class="submit"> |
| 22 | <?php wp_nonce_field('update-import', '_wpnonce_update-import') ?> |
| 23 | <input type="hidden" name="is_confirmed" value="1" /> |
| 24 | <input type="submit" class="button-primary ajax-update" value="Create Posts" /> |
| 25 | </p> |
| 26 | |
| 27 | </form> |
| 28 | <?php else: ?> |
| 29 | <div class="error"> |
| 30 | <p><?php esc_html_e('Update feature is not available for this import since it has no external path linked.', 'wp-all-import') ?></p> |
| 31 | </div> |
| 32 | <?php endif ?> |