-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from 10up/fix/readme-error-filename
Incorrect display of `readme.txt` instead of `readme.md` in Plugin Readme check
- Loading branch information
Showing
4 changed files
with
103 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Plugin Name: Test Plugin Readme.md check (errors) | ||
* Plugin URI: https://github.com/wordpress/plugin-check | ||
* Description: Test plugin for the Readme.md check. | ||
* Requires at least: 6.0 | ||
* Requires PHP: 5.6 | ||
* Version: 1.0.0 | ||
* Author: WordPress Performance Team | ||
* Author URI: https://make.wordpress.org/performance/ | ||
* License: GPLv2 or later | ||
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | ||
* Text Domain: test-plugin-check-errors | ||
* | ||
* @package test-plugin-check-errors | ||
*/ |
13 changes: 13 additions & 0 deletions
13
tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
=== Plugin Check === | ||
|
||
Contributors: wordpressdotorg | ||
Requires at least: 6.0 | ||
Tested up to: 6.1 | ||
Requires PHP: 5.6 | ||
Stable tag: trunk | ||
License: Oculus VR Inc. Software Development Kit License | ||
License URI: https://www.gnu.org/licenses/gpl-2.0.html | ||
Tags: performance, testing, security | ||
|
||
Here is a short description of the plugin. |