Plugin Directory

Changeset 3200841


Ignore:
Timestamp:
12/02/2024 11:24:05 AM (14 months ago)
Author:
brainvireinfo
Message:

update plugin

Location:
compare-plugins-with-latest-version
Files:
123 added
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • compare-plugins-with-latest-version/trunk/class-pluginfilescomparison-admin.php

    r3133224 r3200841  
    5454        $pfcv_get_package = ! empty( $plugin_data['package'] ) ? $plugin_data['package'] : '';
    5555        $signed_hostnames = apply_filters( 'wp_signature_hosts', array( 'wordpress.org', 'downloads.wordpress.org', 's.w.org' ) );
    56         $check_package_pos = in_array( parse_url( $pfcv_get_package, PHP_URL_HOST ), $signed_hostnames, true );
     56        $check_package_pos = in_array( wp_parse_url( $pfcv_get_package, PHP_URL_HOST ), $signed_hostnames, true );
    5757
    5858        if ( ! empty( $pfcv_get_package ) && $check_package_pos ) {
     
    6868                site_url()
    6969            );
    70             echo '<a package-url="' . esc_attr( $pfcv_get_package ) . '" data-url="' . esc_url( $pcf_genrate_url ) . '" href="#" class="cmpfile"><strong>' . esc_html__( '(Compare files with new version)', 'cplv' ) . '</strong></a>';
     70            echo '<a package-url="' . esc_attr( $pfcv_get_package ) . '" data-url="' . esc_url( $pcf_genrate_url ) . '" href="#" class="cmpfile"><strong>' . esc_html__( '(Compare files with new version)', 'compare-plugins-with-latest-version' ) . '</strong></a>';
    7171            echo '<img class="loaderimg" style="width: 17px;display:none" src="' . esc_url( self::pfcv_retry_plugins_path( 'assets/images/loaderimage.gif' ) ) . '">';
    7272        }
     
    8282
    8383            if ( ! wp_verify_nonce( $pfcv_nonce, $pfcv_get_file ) ) {
    84                 wp_die( esc_html__( 'Your nonce did not verify', 'cplv' ) );
     84                wp_die( esc_html__( 'Your nonce did not verify', 'compare-plugins-with-latest-version' ) );
    8585            } else {
    8686                /**
     
    164164        }
    165165
    166         echo json_encode(
     166        echo wp_json_encode(
    167167            array(
    168168                'sucs' => $sucs,
  • compare-plugins-with-latest-version/trunk/compare-plugins-with-latest-version.php

    r3133224 r3200841  
    22/**
    33 * Plugin Name: Compare Plugins With Latest Version
    4  * Plugin URI: http://wordpress.org/plugins/compare-plugins-with-latest-version
     4 * Plugin URI: https://www.wordpress.org/plugins/compare-plugins-with-latest-version
    55 * Description: In some cases, admin users might not want to upgrade their plugins because the admin user doesn’t know whether after an upgrade, what changes he may lose. So in this plugin, we provide one feature which can compare plugin’s current files with the new version file.
    66 * Author: Brainvire
    7  * Version: 1.0.3
     7 * Version: 1.0.4
    88 * Author URI: https://www.brainvire.com/
    9  *
     9 * License: GPL v2 or later
     10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     11 * Text Domain: compare-plugins-with-latest-version
     12
    1013 * @package ComparePluginsWithLatestVersion
    1114 */
    1215
    13 define( 'CPLV_VERSION', '1.0.3' );
     16define( 'CPLV_VERSION', '1.0.4' );
    1417define( 'CPLV_CURRENT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    1518define( 'CPLV_PLUGIN_DIR', dirname( dirname( __FILE__ ) ) . '/' );
  • compare-plugins-with-latest-version/trunk/cplv-load-comparescreen-file.php

    r3133224 r3200841  
    3030        <?php
    3131        if ( ! is_user_logged_in() ) {
    32             wp_die( esc_html__( "You can't access this page", 'text-domain' ) );
     32            wp_die( esc_html__( "You can't access this page", 'compare-plugins-with-latest-version' ) );
    3333        }
    3434
     
    8787                            <div class="alert alert-danger alert-dismissible">
    8888                                <a href="#" class="close" data-dismiss="alert" aria-label="close" title="close">x</a>
    89                                 <strong><?php esc_html_e( 'Error:', 'text-domain' ); ?></strong> <?php echo esc_html__( 'Unable to create directory ', 'text-domain' ) . esc_html( str_replace( '\\', '/', $extractfolder ) ); ?>
     89                                <strong><?php esc_html_e( 'Error:', 'compare-plugins-with-latest-version' ); ?></strong> <?php echo esc_html__( 'Unable to create directory ', 'compare-plugins-with-latest-version' ) . esc_html( str_replace( '\\', '/', $extractfolder ) ); ?>
    9090                            </div>
    9191                            <?php
     
    111111            <?php
    112112        } else {
    113             wp_die( esc_html__( 'Sorry, that file cannot be edited.', 'text-domain' ) );
     113            wp_die( esc_html__( 'Sorry, that file cannot be edited.', 'compare-plugins-with-latest-version' ) );
    114114        }
    115115        ?>
     
    126126                        <div class="list">
    127127                            <?php
    128                             echo "<h4 class='change file'>" . esc_html__( 'Last Changed:', 'text-domain' ) . ' ' . esc_html( $getfile_m_time ) . '</h4>';
    129                             echo "<h4 class='file_name file'>" . esc_html__( 'File Name:', 'text-domain' ) . ' ' . esc_html( str_replace( '\\', '/', CPLV_PLUGIN_DIR . $pfcv_files ) ) . '</h4>';
    130                             echo "<span class='file notecss'><strong>" . esc_html__( 'Note:', 'text-domain' ) . '</strong> ' . esc_html__( 'We have considered only this', 'text-domain' ) . ' (' . esc_html( implode( ', ', pfcv_get_plugin_file_editable_extensions( $pfcv_plugin ) ) ) . ') ' . esc_html__( 'extension of files', 'text-domain' ) . '</span>';
     128                            echo "<h4 class='change file'>" . esc_html__( 'Last Changed:', 'compare-plugins-with-latest-version' ) . ' ' . esc_html( $getfile_m_time ) . '</h4>';
     129                            echo "<h4 class='file_name file'>" . esc_html__( 'File Name:', 'compare-plugins-with-latest-version' ) . ' ' . esc_html( str_replace( '\\', '/', CPLV_PLUGIN_DIR . $pfcv_files ) ) . '</h4>';
     130                            echo "<span class='file notecss'><strong>" . esc_html__( 'Note:', 'compare-plugins-with-latest-version' ) . '</strong> ' . esc_html__( 'We have considered only this', 'compare-plugins-with-latest-version' ) . ' (' . esc_html( implode( ', ', pfcv_get_plugin_file_editable_extensions( $pfcv_plugin ) ) ) . ') ' . esc_html__( 'extension of files', 'compare-plugins-with-latest-version' ) . '</span>';
    131131                            ?>
    132132                        </div>
  • compare-plugins-with-latest-version/trunk/readme.txt

    r3133240 r3200841  
    1 === Compare Plugins with Latest Version ===
     1=== Compare Plugins With Latest Version ===
    22
    33Contributors: brainvireinfo
     
    77Author: brainvireinfo
    88Requires at least: 6.0
    9 Tested up to: 6.6.1
    10 Stable tag: 5.3.3
    11 Version: 1.0.3
     9Tested up to: 6.7.1
     10Stable tag: 1.0.4
     11Version: 1.0.4
    1212License: GPLv2 or later
    1313
    14 There are several cases wherein the users do not wish to upgrade the respective plugins as there is uncertainty about the loss after making an update. With the all-new WordPress plugin from us, the users can make use of the revolutionary feature of comparing the current files with the new versions. The advanced plugin would compare the available information side-by-side to enhance the overall comparison experience. In both the content, the sections that have been added or removed would be highlighted. 
     14Easily compare plugin's installed version with latest version when new version is available to update. compare all files.
    1515
    1616== Description ==
     
    6060Yes you can install.
    6161
     62= 3. What if the error occur like "Could not create "extract" directory in this path..."?
     63
     64You have to give proper write permission to parent directories => wp-content/plugins/compare-plugins-with-latest-version
     65
    6266== Screenshots ==
    6367
     
    6670
    6771== Changelog ==
     72
     73= 1.0.4 =
     741. Fixed bugs and conducted compatibility checks with the latest WordPress version 6.7.1.
     752. Resolved warnings and errors identified during the compatibility assessment.
    6876
    6977= 1.0.3 =
Note: See TracChangeset for help on using the changeset viewer.