Plugin Directory

Changeset 2361297


Ignore:
Timestamp:
08/14/2020 04:19:24 PM (6 years ago)
Author:
enrico.sorcinelli
Message:

Tagging 1.3.2 release

Location:
rest-xmlrpc-data-checker/tags/1.3.2
Files:
2 added
20 copied

Legend:

Unmodified
Added
Removed
  • rest-xmlrpc-data-checker/tags/1.3.2/assets/css/admin.css

    r1984351 r2361297  
    1717    cursor: pointer;
    1818}
     19
    1920/* Tabs management - end */
    2021
     
    6768    margin-left: 22px;
    6869    display: none;
     70    background-color: #fff;
     71    border-left: 4px solid #ffba00;
     72    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    6973}
    7074
     
    9599    table-layout: fixed;
    96100}
     101
    97102table.rest-xmlrpc-data-checker-users-list thead {
    98     width: calc( 100% - 1.1em );
     103    width: calc(100% - 1.1em);
    99104}
    100105
     
    125130
    126131.rest-xmlrpc-data-checker-ok {
    127     color: green;
     132    color: #008000;
    128133}
    129134
    130135.rest-xmlrpc-data-checker-ko {
    131     color: #dd0000;
     136    color: #d00;
    132137}
    133138
     
    147152
    148153@media screen and ( max-width: 782px ) {
     154
    149155    th.column-rest-xmlrpc-data-checker-status,
    150156    td.column-rest-xmlrpc-data-checker-status {
  • rest-xmlrpc-data-checker/tags/1.3.2/assets/js/admin.js

    r1980138 r2361297  
    22 * @file This file contains XML-RPC REST Data Checker JavaScript
    33 * @author Enrico Sorcinelli <enrico.sorcinelli.com>
    4  * @version 0.0.1
     4 * @version 1.3.2
    55 * @title XML-RPC REST Data Checker
    66 */
    77
    88// Make all in a closure.
    9 ;(function ($) {
     9;( function( $ ) {
    1010    $( document ).ready( function() {
    1111
    1212        // Tab managements.
    13         $( '.nav-tab-wrapper.rest-xmlrpc-data-checker a' ).on( 'click', function () {
     13        $( '.nav-tab-wrapper.rest-xmlrpc-data-checker a' ).on( 'click', function() {
    1414            $( '.nav-tab.rest-xmlrpc-data-checker' ).removeClass( 'nav-tab-active' );
    1515            $( this ).addClass( 'nav-tab-active' );
     
    1818                .eq( $( this ).index() ).show();
    1919            $( 'input[name="' + rest_xmlrpc_data_checker_i18n.prefix + 'active_tab"]' ).val( $( this ).data( 'section' ) );
     20
    2021            document.location.hash = $( this ).data( 'section' );
    2122            return false;
     
    2324
    2425        // Active tab by hash.
    25         $( '.nav-tab-wrapper.rest-xmlrpc-data-checker a[data-section="' + document.location.hash.replace( /^#+/, '' ) + '"]' ).trigger('click');
     26        $( '.nav-tab-wrapper.rest-xmlrpc-data-checker a[data-section="' + document.location.hash.replace( /^#+/, '' ) + '"]' ).trigger( 'click' );
    2627
    2728        // Add handler on click over user row.
    28         $( 'table.rest-xmlrpc-data-checker-users-list.cb tbody tr td' ).on( 'click', function(e) {
     29        $( 'table.rest-xmlrpc-data-checker-users-list.cb tbody tr td' ).on( 'click', function( e ) {
     30
    2931            //$( e.currentTarget ).parent().toggleClass( 'selected' );
    3032            $( e.currentTarget ).parent().find( 'th input' ).first().trigger( 'click' );
     
    3638            // REST API warning.
    3739            if ( 'basic_auth' === $( 'input[name="' + rest_xmlrpc_data_checker_i18n.prefix + 'settings\\[rest\\]\\[auth_method\\]"]:checked' ).val() ) {
    38                 $( 'div.update-nag.rest_basic_auth_alert' ).show()
     40                $( 'div.update-nag.rest_basic_auth_alert' ).show();
    3941            }
    4042            else {
     
    6365
    6466        // Handle toggle over methods/end-point.
    65         $( '.rest-xmlrpc-data-checker-cb-list h2 span' ).on( 'click', function( e ) {
     67        $( '.rest-xmlrpc-data-checker-cb-list h2 span' ).on( 'click', function() {
    6668            $( this )
    6769                .toggleClass( 'closed' )
     
    7173
    7274        // Check all/none over methods/end-point.
    73         $( '.rest-xmlrpc-data-checker-cb-list h2' ).find( 'input[type="checkbox"]:first' ).on( 'click', function( e ) {
     75        $( '.rest-xmlrpc-data-checker-cb-list h2' ).find( 'input[type="checkbox"]:first' ).on( 'click', function() {
    7476            $( this ).removeClass( 'indeterminate' );
    7577            $( this ).parent().next().find( 'input[type="checkbox"]' ).prop( 'checked', $( this ).prop( 'checked' ) );
     
    120122        $( '.rest-xmlrpc-data-checker-cb-list ul' ).each( function() {
    121123            ( $( 'input[type="checkbox"]:first', this ) ).each( check_all_checkbox );
    122         } )
     124        } );
    123125
    124126    });
  • rest-xmlrpc-data-checker/tags/1.3.2/php/adminpages/settings.php

    r2096749 r2361297  
    303303                    <p class="description">
    304304                        <?php
    305                             /* translators: 1: IP/Networks example, 2: comment syntax, 3: comment syntax */ 
    306                             echo sprintf( esc_html__( 'For example: %1$s . You can add also PHP single line comments (using %2$s or %3$s).', 'rest-xmlrpc-data-checker' ), '<code>10.10.0.1/32, 10.10.10.0/25</code>', '<code>//</code>', '<code>#</code>' ); 
     305                            /* translators: 1: IP/Networks example, 2: comment syntax, 3: comment syntax */
     306                            echo sprintf( esc_html__( 'For example: %1$s . You can add also PHP single line comments (using %2$s or %3$s).', 'rest-xmlrpc-data-checker' ), '<code>10.10.0.1/32, 10.10.10.0/25</code>', '<code>//</code>', '<code>#</code>' );
    307307                        ?>
    308308                    </p>
  • rest-xmlrpc-data-checker/tags/1.3.2/php/class-rest-xmlrpc-data-checker-admin.php

    r2047276 r2361297  
    4242
    4343    /**
     44     * For use of minified libraries.
     45     *
     46     * @var string
     47     */
     48    private $assets_suffix;
     49
     50    /**
    4451     * Construct the plugin.
    4552     *
     
    7683        }
    7784
     85        // Use minified libraries if SCRIPT_DEBUG is turned off.
     86        $this->assets_suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
     87
     88        // Custom list table class.
    7889        require_once REST_XMLRPC_DATA_CHECKER_BASEDIR . '/php/class-rest-xmlrpc-data-checker-users-wp-list-table.php';
    7990
     
    207218        wp_enqueue_style(
    208219            $this->prefix . 'css',
    209             REST_XMLRPC_DATA_CHECKER_BASEURL . '/assets/css/admin.css',
     220            REST_XMLRPC_DATA_CHECKER_BASEURL . '/assets/css/admin' . $this->assets_suffix . '.css',
    210221            array(),
    211222            REST_XMLRPC_DATA_CHECKER_VERSION,
     
    224235        wp_enqueue_script(
    225236            $this->prefix . 'js',
    226             REST_XMLRPC_DATA_CHECKER_BASEURL . '/assets/js/admin.js',
     237            REST_XMLRPC_DATA_CHECKER_BASEURL . '/assets/js/admin' . $this->assets_suffix . '.js',
    227238            array(),
    228239            REST_XMLRPC_DATA_CHECKER_VERSION,
  • rest-xmlrpc-data-checker/tags/1.3.2/readme.txt

    r2096760 r2361297  
    44Requires at least: 4.4
    55Requires PHP: 5.2.4
    6 Tested up to: 5.2.1
    7 Stable tag: 1.3.1
     6Tested up to: 5.5
     7Stable tag: 1.3.2
    88License: GPLv2 or later
    99
  • rest-xmlrpc-data-checker/tags/1.3.2/rest-xmlrpc-data-checker.php

    r2096749 r2361297  
    1212 * Text Domain: rest-xmlrpc-data-checker
    1313 * Domain Path: /languages/
    14  * Version:     1.3.1
     14 * Version:     1.3.2
    1515 * License:     GPLv2 or later
    1616 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2424
    2525// Plugins constants.
    26 define( 'REST_XMLRPC_DATA_CHECKER_VERSION', '1.3.1' );
     26define( 'REST_XMLRPC_DATA_CHECKER_VERSION', '1.3.2' );
    2727define( 'REST_XMLRPC_DATA_CHECKER_BASEDIR', dirname( __FILE__ ) );
    2828define( 'REST_XMLRPC_DATA_CHECKER_BASEURL', plugin_dir_url( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.