Plugin Directory

Changeset 2365744


Ignore:
Timestamp:
08/20/2020 12:00:06 PM (6 years ago)
Author:
msh134
Message:
  • Removed fancy UI to resolve JS issue.
  • Tested compatibility with 5.5.
  • Fixed issue with Spanish translation.
Location:
wp-reroute-email/trunk
Files:
4 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • wp-reroute-email/trunk/js/wp-reroute-email.js

    r2226063 r2365744  
    11(function($){
    2     $(document).ready(function(){
    3         $('#enable_reroute').switchbutton();
    4        
     2    $(document).ready(function(){       
    53        if($('#enable_reroute').is(':checked')){
    6             $('.settings-tables').show(function(){
    7                 $('#append_recipient').switchbutton();
    8                 $('#enable_db_log').switchbutton();
    9             });
     4            $('.settings-tables').show();
    105        }
    116
    127        $('.form-table').on('change', '#enable_reroute', function(){
    138            if($(this).is(':checked')){
    14                 $('.settings-tables').slideDown(function(){
    15                     $('#append_recipient').switchbutton();
    16                     $('#enable_db_log').switchbutton();
    17                 });
     9                $('.settings-tables').slideDown();
    1810            }
    1911            else{
  • wp-reroute-email/trunk/languages/wp_reroute_email-es_ES.po

    r2226063 r2365744  
    1111"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1212"Language: es_ES\n"
    13 "X-Generator: Poedit 1.8.7.1\n"
     13"X-Generator: Poedit 2.4.1\n"
    1414
    1515msgid "Settings"
     
    2929
    3030msgid "To change settings go %1$shere%2$s."
    31 msgstr "Para cambiar la configuración, vaya %1$saquí% 2$s."
     31msgstr "Para cambiar la configuración, vaya %1$saquí%2$s."
    3232
    3333msgid "Enter at least one email address."
  • wp-reroute-email/trunk/readme.txt

    r2356834 r2365744  
    22Contributors: msh134
    33Tags: mail, email, developer tool, development server
    4 Tested up to: 5.4.2
    5 Stable tag: 1.4.0
     4Tested up to: 5.5
     5Stable tag: 1.4.1
    66License: GPLv2 or later
    77
     
    3131
    3232== Changelog ==
     33= 1.4.1 =
     34* Removed fancy UI to resolve JS issue.
     35* Tested compatibility with 5.5.
     36* Fixed issue with Spanish translation.
     37
    3338= 1.4.0 =
    3439* Made compatible with upcoming PHPMailer location change
  • wp-reroute-email/trunk/wp-reroute-email.php

    r2356834 r2365744  
    44 * Plugin URI: http://wordpress.org/extend/plugins/wp-reroute-email/
    55 * Description: This plugin intercepts all outgoing emails from a WordPress site and reroutes them to a predefined configurable email address.
    6  * Version: 1.4.0
     6 * Version: 1.4.1
    77 * Author: Sajjad Hossain
    88 * Author URI: http://www.sajjadhossain.com
     
    6464    public function enqueueJS($hook) {
    6565        if ('wp-reroute-email/settings.php' == $hook || 'wp-reroute-email/db_log.php' == $hook) {
    66             wp_enqueue_script('jquery-template', plugins_url('js/jquery.tmpl.min.js', __FILE__), array('jquery'), '1.0.0', true);
    67             wp_enqueue_script('jquery-ui', plugins_url('js/jquery-ui-1.8.16.custom.min.js', __FILE__), array('jquery-template'), '1.8.16', true);
    68             wp_enqueue_script('jquery-switchbutton', plugins_url('js/jquery.switchbutton.min.js', __FILE__), array('jquery-ui'));
    69             wp_enqueue_script('wp-reroute-email-js', plugins_url('js/wp-reroute-email.js', __FILE__), array('jquery-switchbutton'));
    70             wp_register_style('jquery-switchbutton-css', plugins_url('js/ui.switchbutton.min.css', __FILE__), false, '1.0.0');
    71             wp_enqueue_style('jquery-switchbutton-css');
     66            wp_enqueue_script('wp-reroute-email-js', plugins_url('js/wp-reroute-email.js', __FILE__), array('jquery'));
    7267            wp_register_style('wp-reroute-email-css', plugins_url('css/wp-reroute-email-styles.css', __FILE__), false, '1.0.0');
    7368            wp_enqueue_style('wp-reroute-email-css');
Note: See TracChangeset for help on using the changeset viewer.