Changeset 3200841
- Timestamp:
- 12/02/2024 11:24:05 AM (14 months ago)
- Location:
- compare-plugins-with-latest-version
- Files:
-
- 123 added
- 2 deleted
- 4 edited
-
tags/1.0 (added)
-
tags/1.0.3 (added)
-
tags/1.0.3/LICENSE (added)
-
tags/1.0.3/assets (added)
-
tags/1.0.3/assets/css (added)
-
tags/1.0.3/assets/css/all.css (added)
-
tags/1.0.3/assets/css/bootstrap.min.css (added)
-
tags/1.0.3/assets/css/font-awesome.min.css (added)
-
tags/1.0.3/assets/css/load-compare-screen.css (added)
-
tags/1.0.3/assets/images (added)
-
tags/1.0.3/assets/images/bv_logo.png (added)
-
tags/1.0.3/assets/images/loaderimage.gif (added)
-
tags/1.0.3/assets/images/logo.png (added)
-
tags/1.0.3/assets/js (added)
-
tags/1.0.3/assets/js/bootstrap.min.js (added)
-
tags/1.0.3/assets/js/compare-screen.js (added)
-
tags/1.0.3/assets/js/extract-package.js (added)
-
tags/1.0.3/assets/lib (added)
-
tags/1.0.3/assets/lib/class-pfcv-diff.php (added)
-
tags/1.0.3/assets/webfonts (added)
-
tags/1.0.3/assets/webfonts/fa-brands-400.eot (added)
-
tags/1.0.3/assets/webfonts/fa-brands-400.svg (added)
-
tags/1.0.3/assets/webfonts/fa-brands-400.ttf (added)
-
tags/1.0.3/assets/webfonts/fa-brands-400.woff (added)
-
tags/1.0.3/assets/webfonts/fa-brands-400.woff2 (added)
-
tags/1.0.3/assets/webfonts/fa-regular-400.eot (added)
-
tags/1.0.3/assets/webfonts/fa-regular-400.svg (added)
-
tags/1.0.3/assets/webfonts/fa-regular-400.ttf (added)
-
tags/1.0.3/assets/webfonts/fa-regular-400.woff (added)
-
tags/1.0.3/assets/webfonts/fa-regular-400.woff2 (added)
-
tags/1.0.3/assets/webfonts/fa-solid-900.eot (added)
-
tags/1.0.3/assets/webfonts/fa-solid-900.svg (added)
-
tags/1.0.3/assets/webfonts/fa-solid-900.ttf (added)
-
tags/1.0.3/assets/webfonts/fa-solid-900.woff (added)
-
tags/1.0.3/assets/webfonts/fa-solid-900.woff2 (added)
-
tags/1.0.3/class-pluginfilescomparison-admin.php (added)
-
tags/1.0.3/compare-plugins-with-latest-version.php (added)
-
tags/1.0.3/cplv-file-not-found.txt (added)
-
tags/1.0.3/cplv-load-common-function.php (added)
-
tags/1.0.3/cplv-load-comparescreen-file.php (added)
-
tags/1.0.3/readme.txt (added)
-
tags/1.0.4 (added)
-
tags/1.0.4/LICENSE (added)
-
tags/1.0.4/assets (added)
-
tags/1.0.4/assets/css (added)
-
tags/1.0.4/assets/css/all.css (added)
-
tags/1.0.4/assets/css/bootstrap.min.css (added)
-
tags/1.0.4/assets/css/font-awesome.min.css (added)
-
tags/1.0.4/assets/css/load-compare-screen.css (added)
-
tags/1.0.4/assets/images (added)
-
tags/1.0.4/assets/images/bv_logo.png (added)
-
tags/1.0.4/assets/images/loaderimage.gif (added)
-
tags/1.0.4/assets/images/logo.png (added)
-
tags/1.0.4/assets/js (added)
-
tags/1.0.4/assets/js/bootstrap.min.js (added)
-
tags/1.0.4/assets/js/compare-screen.js (added)
-
tags/1.0.4/assets/js/extract-package.js (added)
-
tags/1.0.4/assets/lib (added)
-
tags/1.0.4/assets/lib/class-pfcv-diff.php (added)
-
tags/1.0.4/assets/webfonts (added)
-
tags/1.0.4/assets/webfonts/fa-brands-400.eot (added)
-
tags/1.0.4/assets/webfonts/fa-brands-400.svg (added)
-
tags/1.0.4/assets/webfonts/fa-brands-400.ttf (added)
-
tags/1.0.4/assets/webfonts/fa-brands-400.woff (added)
-
tags/1.0.4/assets/webfonts/fa-brands-400.woff2 (added)
-
tags/1.0.4/assets/webfonts/fa-regular-400.eot (added)
-
tags/1.0.4/assets/webfonts/fa-regular-400.svg (added)
-
tags/1.0.4/assets/webfonts/fa-regular-400.ttf (added)
-
tags/1.0.4/assets/webfonts/fa-regular-400.woff (added)
-
tags/1.0.4/assets/webfonts/fa-regular-400.woff2 (added)
-
tags/1.0.4/assets/webfonts/fa-solid-900.eot (added)
-
tags/1.0.4/assets/webfonts/fa-solid-900.svg (added)
-
tags/1.0.4/assets/webfonts/fa-solid-900.ttf (added)
-
tags/1.0.4/assets/webfonts/fa-solid-900.woff (added)
-
tags/1.0.4/assets/webfonts/fa-solid-900.woff2 (added)
-
tags/1.0.4/class-pluginfilescomparison-admin.php (added)
-
tags/1.0.4/compare-plugins-with-latest-version.php (added)
-
tags/1.0.4/cplv-file-not-found.txt (added)
-
tags/1.0.4/cplv-load-common-function.php (added)
-
tags/1.0.4/cplv-load-comparescreen-file.php (added)
-
tags/1.0.4/readme.txt (added)
-
tags/1.0/.gitignore (added)
-
tags/1.0/Compare-files-plugin-text.png (added)
-
tags/1.0/Compare-files.png (added)
-
tags/1.0/LICENSE (added)
-
tags/1.0/compare-plugins-with-latest-version.php (added)
-
tags/1.0/cplv-file-not-found.txt (added)
-
tags/1.0/cplv-load-admin.php (added)
-
tags/1.0/cplv-load-common-function.php (added)
-
tags/1.0/cplv-load-comparescreen-file.php (added)
-
tags/1.0/css (added)
-
tags/1.0/css/all.css (added)
-
tags/1.0/css/bootstrap.min.css (added)
-
tags/1.0/css/font-awesome.min.css (added)
-
tags/1.0/css/load-compare-screen.css (added)
-
tags/1.0/extract (added)
-
tags/1.0/images (added)
-
tags/1.0/images/bv_logo.png (added)
-
tags/1.0/images/loaderimage.gif (added)
-
tags/1.0/images/logo.png (added)
-
tags/1.0/js (added)
-
tags/1.0/js/bootstrap.min.js (added)
-
tags/1.0/js/compare-screen.js (added)
-
tags/1.0/js/extract-package.js (added)
-
tags/1.0/lib (added)
-
tags/1.0/lib/cplv.class.Diff.php (added)
-
tags/1.0/readme.txt (added)
-
tags/1.0/webfonts (added)
-
tags/1.0/webfonts/fa-brands-400.eot (added)
-
tags/1.0/webfonts/fa-brands-400.svg (added)
-
tags/1.0/webfonts/fa-brands-400.ttf (added)
-
tags/1.0/webfonts/fa-brands-400.woff (added)
-
tags/1.0/webfonts/fa-brands-400.woff2 (added)
-
tags/1.0/webfonts/fa-regular-400.eot (added)
-
tags/1.0/webfonts/fa-regular-400.svg (added)
-
tags/1.0/webfonts/fa-regular-400.ttf (added)
-
tags/1.0/webfonts/fa-regular-400.woff (added)
-
tags/1.0/webfonts/fa-regular-400.woff2 (added)
-
tags/1.0/webfonts/fa-solid-900.eot (added)
-
tags/1.0/webfonts/fa-solid-900.svg (added)
-
tags/1.0/webfonts/fa-solid-900.ttf (added)
-
tags/1.0/webfonts/fa-solid-900.woff (added)
-
tags/1.0/webfonts/fa-solid-900.woff2 (added)
-
tags/1.2 (deleted)
-
tags/5.3 (deleted)
-
trunk/class-pluginfilescomparison-admin.php (modified) (4 diffs)
-
trunk/compare-plugins-with-latest-version.php (modified) (1 diff)
-
trunk/cplv-load-comparescreen-file.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
compare-plugins-with-latest-version/trunk/class-pluginfilescomparison-admin.php
r3133224 r3200841 54 54 $pfcv_get_package = ! empty( $plugin_data['package'] ) ? $plugin_data['package'] : ''; 55 55 $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 ); 57 57 58 58 if ( ! empty( $pfcv_get_package ) && $check_package_pos ) { … … 68 68 site_url() 69 69 ); 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)', 'c plv' ) . '</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>'; 71 71 echo '<img class="loaderimg" style="width: 17px;display:none" src="' . esc_url( self::pfcv_retry_plugins_path( 'assets/images/loaderimage.gif' ) ) . '">'; 72 72 } … … 82 82 83 83 if ( ! wp_verify_nonce( $pfcv_nonce, $pfcv_get_file ) ) { 84 wp_die( esc_html__( 'Your nonce did not verify', 'c plv' ) );84 wp_die( esc_html__( 'Your nonce did not verify', 'compare-plugins-with-latest-version' ) ); 85 85 } else { 86 86 /** … … 164 164 } 165 165 166 echo json_encode(166 echo wp_json_encode( 167 167 array( 168 168 'sucs' => $sucs, -
compare-plugins-with-latest-version/trunk/compare-plugins-with-latest-version.php
r3133224 r3200841 2 2 /** 3 3 * Plugin Name: Compare Plugins With Latest Version 4 * Plugin URI: http ://wordpress.org/plugins/compare-plugins-with-latest-version4 * Plugin URI: https://www.wordpress.org/plugins/compare-plugins-with-latest-version 5 5 * 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. 6 6 * Author: Brainvire 7 * Version: 1.0. 37 * Version: 1.0.4 8 8 * 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 10 13 * @package ComparePluginsWithLatestVersion 11 14 */ 12 15 13 define( 'CPLV_VERSION', '1.0. 3' );16 define( 'CPLV_VERSION', '1.0.4' ); 14 17 define( 'CPLV_CURRENT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 15 18 define( 'CPLV_PLUGIN_DIR', dirname( dirname( __FILE__ ) ) . '/' ); -
compare-plugins-with-latest-version/trunk/cplv-load-comparescreen-file.php
r3133224 r3200841 30 30 <?php 31 31 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' ) ); 33 33 } 34 34 … … 87 87 <div class="alert alert-danger alert-dismissible"> 88 88 <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 ) ); ?> 90 90 </div> 91 91 <?php … … 111 111 <?php 112 112 } 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' ) ); 114 114 } 115 115 ?> … … 126 126 <div class="list"> 127 127 <?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>'; 131 131 ?> 132 132 </div> -
compare-plugins-with-latest-version/trunk/readme.txt
r3133240 r3200841 1 === Compare Plugins with Latest Version ===1 === Compare Plugins With Latest Version === 2 2 3 3 Contributors: brainvireinfo … … 7 7 Author: brainvireinfo 8 8 Requires at least: 6.0 9 Tested up to: 6. 6.110 Stable tag: 5.3.311 Version: 1.0. 39 Tested up to: 6.7.1 10 Stable tag: 1.0.4 11 Version: 1.0.4 12 12 License: GPLv2 or later 13 13 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. 14 Easily compare plugin's installed version with latest version when new version is available to update. compare all files. 15 15 16 16 == Description == … … 60 60 Yes you can install. 61 61 62 = 3. What if the error occur like "Could not create "extract" directory in this path..."? 63 64 You have to give proper write permission to parent directories => wp-content/plugins/compare-plugins-with-latest-version 65 62 66 == Screenshots == 63 67 … … 66 70 67 71 == Changelog == 72 73 = 1.0.4 = 74 1. Fixed bugs and conducted compatibility checks with the latest WordPress version 6.7.1. 75 2. Resolved warnings and errors identified during the compatibility assessment. 68 76 69 77 = 1.0.3 =
Note: See TracChangeset
for help on using the changeset viewer.