Changeset 3016101
- Timestamp:
- 01/01/2024 11:45:54 AM (2 years ago)
- Location:
- post-smtp-for-mainwp/trunk
- Files:
-
- 4 edited
-
assets/js/admin.js (modified) (2 diffs)
-
includes/class-post-smtp-mwp-page.php (modified) (2 diffs)
-
mainwp-post-smtp-extension.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
post-smtp-for-mainwp/trunk/assets/js/admin.js
r3011187 r3016101 30 30 31 31 var currentURL = window.location.href; 32 var site_id = PostSMTPGetParameterByName( 'site_id', currentURL );32 var site_id = PostSMTPGetParameterByName( 'site_id', currentURL ); 33 33 // Render Child Sites on Log Page. 34 var _options = ` < option value = '-1' > ${PSMainWP.allSites} < / option >`;34 var _options = `<option value='-1'>${PSMainWP.allSites}</option>`; 35 35 PSMainWP.childSites['main_site'] = PSMainWP.mainSite; 36 36 … … 47 47 } 48 48 49 _options += ` < option value = '${key}' ${_selected} > ${value} < / option >`;49 _options += ` <option value='${key}' ${_selected}> ${value} </option>`; 50 50 51 51 } 52 52 ) 53 53 jQuery( '.ps-email-log-date-filter' ).after( 54 ` 55 < div class = "ps-mainwp-site-filter" > 56 < label > Site 57 < select class = "ps-mainwp-site-selector" > 58 ${_options} 59 < / select > 60 < / label > 61 < / div > 62 ` 54 `<div class ="ps-mainwp-site-filter"> 55 <label>Site 56 <select class ="ps-mainwp-site-selector"> 57 ${_options} 58 </select> 59 </label> 60 </div>` 63 61 ); 64 62 -
post-smtp-for-mainwp/trunk/includes/class-post-smtp-mwp-page.php
r3011187 r3016101 202 202 203 203 $site_ids = isset( $_POST['site_id'] ) ? array_map( 'intval', wp_unslash( $_POST['site_id'] ) ) : ''; 204 $email_addresses = isset( $_POST['email_address'] ) ? array_map( 'sanitize_email', wp_unslash( $_POST['email_address'] ) , 'email') : '';204 $email_addresses = isset( $_POST['email_address'] ) ? array_map( 'sanitize_email', wp_unslash( $_POST['email_address'] ) ) : ''; 205 205 $names = isset( $_POST['name'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['name'] ) ) : ''; 206 206 $reply_tos = isset( $_POST['reply_to'] ) ? array_map( 'sanitize_email', wp_unslash( $_POST['reply_to'] ) ) : ''; … … 222 222 update_option( 'post_smtp_mainwp_sites', $sites ); 223 223 224 wp_safe_redirect( admin_url( 'admin.php?page=Extensions- Mainwp-Post-Smtp-Extension' ) );224 wp_safe_redirect( admin_url( 'admin.php?page=Extensions-Post-Smtp-For-Mainwp' ) ); 225 225 226 226 } -
post-smtp-for-mainwp/trunk/mainwp-post-smtp-extension.php
r3011187 r3016101 4 4 * Plugin URI: https://mainwp.com/extension/post-smtp/ 5 5 * Description: MainWP Post SMTP extension allows you to manage SMTP of you all your child sites from one central location. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: Post SMTP 8 8 * Text Domain: post-smtp -
post-smtp-for-mainwp/trunk/readme.txt
r3013326 r3016101 4 4 Requires at least: 4.7 5 5 Tested up to: 6.4.2 6 Stable tag: 1.0. 06 Stable tag: 1.0.1 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 119 119 == Changelog == 120 120 121 = 1.0.1 Jan 01, 2024 = 122 123 * FIX - Sites' logs switching drop down was not rendering properly. 124 121 125 = 1.0.0 December 18, 2023 = 122 126
Note: See TracChangeset
for help on using the changeset viewer.