PATH:
home
/
lab2454c
/
isaaclondston.com
/
wp-content
/
plugins
/
woocommerce
/
includes
/
admin
/
views
<?php /** * Admin View: Page - Status Tools * * @package WooCommerce */ use Automattic\WooCommerce\Utilities\ArrayUtil; if ( ! defined( 'ABSPATH' ) ) { exit; } foreach ( $tools as $action_name => $tool ) { ?> <form id="<?php echo esc_attr( 'form_' . $action_name ); ?>" method="GET" action="<?php echo esc_attr( esc_url( admin_url( 'admin.php?foo=bar' ) ) ); ?>"> <?php wp_nonce_field( 'debug_action', '_wpnonce', false ); ?> <input type="hidden" name="page" value="wc-status"/> <input type="hidden" name="tab" value="tools"/> <input type="hidden" name="action" value="<?php echo esc_attr( $action_name ); ?>"/> </form> <?php } ?> <table class="wc_status_table wc_status_table--tools widefat" cellspacing="0"> <tbody class="tools"> <?php foreach ( $tools as $action_name => $tool ) : ?> <tr class="<?php echo sanitize_html_class( $action_name ); ?>"> <th> <strong class="name"><?php echo esc_html( $tool['name'] ); ?></strong> <p class="description"> <?php echo wp_kses_post( $tool['desc'] ); if ( ! is_null( ArrayUtil::get_value_or_default( $tool, 'selector' ) ) ) { $selector = $tool['selector']; if ( isset( $selector['description'] ) ) { echo '</p><p class="description">'; echo wp_kses_post( $selector['description'] ); } // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo " <select style='width: 300px;' form='form_$action_name' id='selector_$action_name' data-allow_clear='true' class='${selector['class']}' name='${selector['name']}' data-placeholder='${selector['placeholder']}' data-action='${selector['search_action']}'></select>"; } ?> </p> </th> <td class="run-tool"> <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> <input <?php echo ArrayUtil::is_truthy( $tool, 'disabled' ) ? 'disabled' : ''; ?> type="submit" form="<?php echo 'form_' . $action_name; ?>" class="button button-large" value="<?php echo esc_attr( $tool['button'] ); ?>" /> </td> </tr> <?php endforeach; ?> </tbody> </table>
[-] html-admin-page-addons.php
[edit]
[-] html-notice-download-dir-sync-complete.php
[edit]
[-] html-notice-no-shipping-methods.php
[edit]
[-] html-notice-custom.php
[edit]
[-] html-notice-wp-php-minimum-requirements.php
[edit]
[-] html-notice-regenerating-lookup-table.php
[edit]
[-] html-admin-page-status-report.php
[edit]
[-] html-notice-updated.php
[edit]
[-] html-admin-settings.php
[edit]
[-] html-notice-regenerating-thumbnails.php
[edit]
[-] html-notice-updating.php
[edit]
[-] html-notice-uploads-directory-is-unprotected.php
[edit]
[+]
..
[-] html-report-by-date.php
[edit]
[-] html-bulk-edit-product.php
[edit]
[-] html-notice-legacy-shipping.php
[edit]
[-] html-admin-page-status-logs-db.php
[edit]
[-] html-admin-dashboard-setup.php
[edit]
[-] html-admin-page-reports.php
[edit]
[-] html-notice-maxmind-license-key.php
[edit]
[-] html-quick-edit-product.php
[edit]
[-] html-admin-page-product-export.php
[edit]
[-] html-admin-page-status-tools.php
[edit]
[-] html-admin-page-addons-category-nav.php
[edit]
[-] html-admin-page-status.php
[edit]
[-] html-notice-secure-connection.php
[edit]
[-] html-admin-page-status-logs.php
[edit]
[-] html-notice-install.php
[edit]
[-] html-notice-redirect-only-download.php
[edit]
[-] html-notice-template-check.php
[edit]
[-] html-email-template-preview.php
[edit]
[-] html-notice-base-table-missing.php
[edit]
[-] html-notice-update.php
[edit]