Skip to content

Commit c87e31c

Browse files
authored
Update description and readme (#20)
1 parent ca634ea commit c87e31c

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[![Hire Typist Tech](https://img.shields.io/badge/Hire-Typist%20Tech-778899)](https://typist.tech/contact/)
1313

1414
<p>
15-
<strong>Composer plugin to mark package as abandoned if closed on WordPress.org</strong>
15+
<strong>Composer plugin to mark packages as abandoned if closed on WordPress.org</strong>
1616
<br>
1717
<br>
1818
Built with ♥ by <a href="https://typist.tech/">Typist Tech</a>
@@ -47,7 +47,7 @@ Attention: This package is abandoned and no longer maintained.
4747
```
4848

4949
```console
50-
# The following commands show the same abandonment notice.
50+
# The following commands show the same abandonment warning.
5151
$ composer require
5252
$ composer install
5353
$ composer update
@@ -151,6 +151,16 @@ Skipped checking for closed plugins because of --locked.
151151

152152
You should run `composer audit` without `--locked` to check for closed plugins.
153153

154+
### Cache
155+
156+
WordPress.org API responses are cached for 10 minutes.
157+
158+
If you must clear the cache, delete the `<composer-cache-dir>/wp-org-closed-plugin` directory.
159+
160+
```sh
161+
rm -rf $(composer config cache-dir)/wp-org-closed-plugin
162+
```
163+
154164
> [!TIP]
155165
> **Hire Tang Rufus!**
156166
>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typisttech/wp-org-closed-plugin",
3-
"description": "Composer plugin to mark package as abandoned if closed on WordPress.org",
3+
"description": "Composer plugin to mark packages as abandoned if closed on WordPress.org",
44
"license": "MIT",
55
"type": "composer-plugin",
66
"keywords": [

0 commit comments

Comments
 (0)