Skip to content

Commit c159292

Browse files
committed
Revert version, add readme.txt
1 parent 43d96bb commit c159292

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WordPress Plugin Check v0.0.2
1+
# WordPress Plugin Check v0.0.1
22
Scan your WordPress plugin for common errors before submitting it to WordPress.org for review.
33

44
The 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.

bin/version.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ sed -i "s/define( 'WP_PLUGIN_CHECK_VERSION', .*/define( 'WP_PLUGIN_CHECK_VERSION
1616

1717
# Replace the plugin version in the README.md file.
1818
# # WordPress Plugin Check v0.0.1
19-
sed -i "s/# WordPress Plugin Check .*/# WordPress Plugin Check v"$VERSION"/" README.md
19+
sed -i "s/# WordPress Plugin Check .*/# WordPress Plugin Check v"$VERSION"/" README.md
20+
21+
# Replace the plugin version in the readme.txt file.
22+
# Stable tag: 0.0.1
23+
sed -i "s/Stable tag: .*/Stable tag: "$VERSION"/" readme.txt

class-plugin-check.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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.2
5+
* Version: 0.0.1
66
* Tested up to: 6.2
77
* Author: Evan Herman
88
* Author URI: https://evan-herman.com
@@ -29,7 +29,7 @@ final class WP_Plugin_Check {
2929
*/
3030
public function __construct() {
3131

32-
define( 'WP_PLUGIN_CHECK_VERSION', '0.0.2' );
32+
define( 'WP_PLUGIN_CHECK_VERSION', '0.0.1' );
3333
define( 'WP_PLUGIN_SCRIPT_DIR', plugin_dir_path( __FILE__ ) . 'bin/plugin-scan/' );
3434

3535
add_action( 'admin_menu', array( $this, 'add_admin_menu' ) );

readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
=== Theme Check ===
22
Contributors: eherman24
3+
Stable tag: 0.0.1
34
Requires at Least: 6.0
45
Tested Up To: 6.2
6+
Requires PHP: 7.4
57
Tags: plugins, guidelines, wordpress.org
8+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
69

710
Scan a plugin for various checks when developing a WordPress plugin for the WordPress.org repository.

0 commit comments

Comments
 (0)