Server IP : 66.29.132.122 / Your IP : 18.191.34.169 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/includes/admin/views/ |
Upload File : |
<?php /** * Admin View: Notice - Uploads directory is unprotected. * * @package Kkart\Admin\Notices * @since 4.2.0 */ defined( 'ABSPATH' ) || exit; $uploads = wp_get_upload_dir(); ?> <div id="message" class="error kkart-message"> <a class="kkart-message-close notice-dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'kkart-hide-notice', 'uploads_directory_is_public' ), 'kkart_hide_notices_nonce', '_kkart_notice_nonce' ) ); ?>"><?php esc_html_e( 'Dismiss', 'kkart' ); ?></a> <p> <?php echo wp_kses_post( sprintf( /* translators: 1: uploads directory URL 2: documentation URL */ __( 'Your store\'s uploads directory is <a href="%1$s">browsable via the web</a>. We strongly recommend <a href="%2$s">configuring your web server to prevent directory indexing</a>.', 'kkart' ), esc_url( $uploads['baseurl'] . '/kkart_uploads' ), 'https://docs.kkart.com/document/digital-downloadable-product-handling/#protecting-your-uploads-directory' ) ); ?> </p> </div>