Plugin Directory

Changeset 3016101


Ignore:
Timestamp:
01/01/2024 11:45:54 AM (2 years ago)
Author:
postsmtp
Message:

Released Version 1.0.1

Location:
post-smtp-for-mainwp/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • post-smtp-for-mainwp/trunk/assets/js/admin.js

    r3011187 r3016101  
    3030
    3131        var currentURL = window.location.href;
    32         var site_id    = PostSMTPGetParameterByName( 'site_id', currentURL );
     32        var site_id = PostSMTPGetParameterByName( 'site_id', currentURL );
    3333        // Render Child Sites on Log Page.
    34         var _options                     = ` < option value = '-1' > ${PSMainWP.allSites} < / option > `;
     34        var _options = `<option value='-1'>${PSMainWP.allSites}</option>`;
    3535        PSMainWP.childSites['main_site'] = PSMainWP.mainSite;
    3636
     
    4747                }
    4848
    49                 _options += ` < option value = '${key}' ${_selected} > ${value} < / option > `;
     49                _options += ` <option value='${key}' ${_selected}> ${value} </option>`;
    5050
    5151            }
    5252        )
    5353        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>`
    6361        );
    6462
  • post-smtp-for-mainwp/trunk/includes/class-post-smtp-mwp-page.php

    r3011187 r3016101  
    202202
    203203                $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'] ) ) : '';
    205205                $names                = isset( $_POST['name'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['name'] ) ) : '';
    206206                $reply_tos            = isset( $_POST['reply_to'] ) ? array_map( 'sanitize_email', wp_unslash( $_POST['reply_to'] ) ) : '';
     
    222222                update_option( 'post_smtp_mainwp_sites', $sites );
    223223
    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' ) );
    225225
    226226            }
  • post-smtp-for-mainwp/trunk/mainwp-post-smtp-extension.php

    r3011187 r3016101  
    44 * Plugin URI: https://mainwp.com/extension/post-smtp/
    55 * Description: MainWP Post SMTP extension allows you to manage SMTP of you all your child sites from one central location.
    6  * Version: 1.0.0
     6 * Version: 1.0.1
    77 * Author: Post SMTP
    88 * Text Domain: post-smtp
  • post-smtp-for-mainwp/trunk/readme.txt

    r3013326 r3016101  
    44Requires at least: 4.7
    55Tested up to: 6.4.2
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    119119== Changelog ==
    120120
     121= 1.0.1 Jan 01, 2024 =
     122
     123* FIX - Sites' logs switching drop down was not rendering properly.
     124
    121125= 1.0.0 December 18, 2023 =
    122126
Note: See TracChangeset for help on using the changeset viewer.