File tree Expand file tree Collapse file tree 8 files changed +14
-14
lines changed
Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1- # WordPress Plugin Check v0.0.3
1+ # WordPress Plugin Check v0.0.2
22Scan your WordPress plugin for common errors before submitting it to WordPress.org for review.
33
44The Plugin Check plugin can be used to check a plugin locally on a test site during development, or it can be used to check a plugin ` .zip ` from a remote URL.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ sed -i 's/Version: .*/Version: '"$VERSION"'/' class-plugin-check.php
1313# $this->version = '0.0.2';
1414sed -i ' s/$this->version .*/$this->version = ' " '$VERSION '" ' ;/' includes/class-remote-update.php
1515
16- # Replace the plugin versions in the manifest file.
16+ # Replace the plugin versions in the remote update manifest file.
1717# "version" : "0.0.2",
1818# "download_url" : "https://github.com/EvanHerman/plugin-check/releases/download/0.0.2/plugin-check.zip",
1919sed -i ' s/"version" : .*/"version" : ' " \" $VERSION \" " ' ,/' remote-update-assets/manifest.json
@@ -29,4 +29,8 @@ sed -i "s/# WordPress Plugin Check .*/# WordPress Plugin Check v"$VERSION"/" REA
2929
3030# Replace the plugin version in the readme.txt file.
3131# Stable tag: 0.0.1
32- sed -i " s/Stable tag: .*/Stable tag: " $VERSION " /" readme.txt
32+ sed -i " s/Stable tag: .*/Stable tag: " $VERSION " /" readme.txt
33+
34+ # Update the deploy time in the remote update manifest file.
35+ # "last_updated" : "2023-03-30 00:00:00",
36+ sed -i ' ' ' s/"last_updated" : .*/"last_updated" : "' " $( date -u +" %Y-%m-%d %T" ) " ' ",/' remote-update-assets/manifest.json
Original file line number Diff line number Diff line change 1- 0.0.3 / 2023-03-30
2- ===================
3-
4-
510.0.2 / 2023-03-29
62===================
73
Original file line number Diff line number Diff line change 22/*
33 * Plugin Name: Plugin Check
44 * Description: Scan a plugin for various checks when developing a WordPress plugin for the WordPress.org repository.
5- * Version: 0.0.3
5+ * Version: 0.0.2
66 * Tested up to: 6.2
77 * Author: Evan Herman
88 * Author URI: https://evan-herman.com
@@ -31,7 +31,7 @@ public function __construct() {
3131
3232 require_once plugin_dir_path ( __FILE__ ) . 'includes/class-remote-update.php ' ;
3333
34- define ( 'WP_PLUGIN_CHECK_VERSION ' , '0.0.3 ' );
34+ define ( 'WP_PLUGIN_CHECK_VERSION ' , '0.0.2 ' );
3535 define ( 'WP_PLUGIN_SCRIPT_DIR ' , plugin_dir_path ( __FILE__ ) . 'bin/plugin-scan/ ' );
3636
3737 add_action ( 'admin_menu ' , array ( $ this , 'add_admin_menu ' ) );
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class WP_Plugin_Check_Remote_Updater {
1515 public function __construct () {
1616
1717 $ this ->plugin_slug = dirname ( plugin_basename ( __DIR__ ) );
18- $ this ->version = '0.0.3 ' ;
18+ $ this ->version = '0.0.2 ' ;
1919 $ this ->cache_key = 'wp_plugin_check_remote_updater ' ;
2020 $ this ->cache_allowed = true ;
2121
Original file line number Diff line number Diff line change 22 "name" : " Plugin Check" ,
33 "title" : " Plugin Check" ,
44 "description" : " Scan a plugin for various checks when developing a WordPress plugin for the WordPress.org repository." ,
5- "version" : " 0.0.3 " ,
5+ "version" : " 0.0.2 " ,
66 "tested_up_to" : " 6.2" ,
77 "author" : " Evan Herman" ,
88 "license" : " GPL-2.0" ,
Original file line number Diff line number Diff line change 11=== Plugin Check ===
22Contributors: eherman24
3- Stable tag: 0.0.3
3+ Stable tag: 0.0.2
44Requires at Least: 6.0
55Tested Up To: 6.2
66Requires PHP: 7.4
Original file line number Diff line number Diff line change 44 "author" : " <a href=https://www.evan-herman.com>Evan Herman</a>" ,
55 "author_profile" : " https://profiles.wordpress.org/eherman24" ,
66 "donate_link" : " https://github.com/sponsors/EvanHerman" ,
7- "version" : " 0.0.3 " ,
8- "download_url" : " https://github.com/EvanHerman/plugin-check/releases/download/0.0.3 /plugin-check.zip" ,
7+ "version" : " 0.0.2 " ,
8+ "download_url" : " https://github.com/EvanHerman/plugin-check/releases/download/0.0.2 /plugin-check.zip" ,
99 "requires" : " 6.0" ,
1010 "tested" : " 6.2" ,
1111 "requires_php" : " 7.4" ,
You can’t perform that action at this time.
0 commit comments