Compare commits
99 Commits
v2.0.4
..
36f2c6ab99
| Author | SHA1 | Date | |
|---|---|---|---|
| 36f2c6ab99 | |||
| 924abba260 | |||
| c70b316a27 | |||
| e4cca76db7 | |||
| 86f491b9d8 | |||
| c903f2dc79 | |||
| 003892375c | |||
| 450b846d41 | |||
| 5049557e04 | |||
| cf977a250d | |||
| 6942ae83aa | |||
| 8f5acd3031 | |||
| 17d3d0946a | |||
| 120363da0b | |||
| 84f344a99b | |||
| c6687eebcc | |||
| 10a1012c68 | |||
| e019feb44f | |||
| 89b695329c | |||
| d753359367 | |||
| 7eccc000e8 | |||
| e6003d373a | |||
| 5814ebfe11 | |||
| 364dd1c491 | |||
| bf98fd719d | |||
| d353250fd9 | |||
| ff0b330a3a | |||
| e9a18de3d7 | |||
| bfaa2b807a | |||
| 873ca5f272 | |||
| 24ff0f9552 | |||
| 515336aa2b | |||
| 10f6783cdb | |||
| a58516367a | |||
| 19366269e3 | |||
| 2ad5446bdf | |||
| 569ef54904 | |||
| e1d9160dae | |||
| 265bb38659 | |||
| 6b5267177f | |||
| 1113893dc1 | |||
| bae264f655 | |||
| 32cf7126e2 | |||
| 60c2115916 | |||
| 843f86be85 | |||
| a4966ce897 | |||
| 0e09e70c90 | |||
| 0a98ba8c2e | |||
| 35534aa246 | |||
| 97901dfdfe | |||
| ca94605ae8 | |||
| 7cc33a7284 | |||
| e3319c4959 | |||
| e7e831d8b5 | |||
| ad3821d7aa | |||
| 84111171f4 | |||
| 9c557bc46d | |||
| 00052f0e1e | |||
| 0fa1e048ef | |||
| 3fdd02774c | |||
| 91e1da9d05 | |||
| f3d3bbdd2b | |||
| 08616164e9 | |||
| 22d13ef8aa | |||
| 322cada133 | |||
| df344d76ae | |||
| 4014716da9 | |||
| 613c4f43b6 | |||
| b883a222c0 | |||
| 8562c311c5 | |||
| 78a911640f | |||
| c45621d896 | |||
| 7ae1da3775 | |||
| 113c4d54da | |||
| bcc9f984f6 | |||
| db662096e4 | |||
| d6b89887fc | |||
| cd593f68d3 | |||
| 7ac72fd3c0 | |||
| 0a394fa671 | |||
| f200ff6f96 | |||
| fb4a54ab57 | |||
| 67d13c9354 | |||
| 6aa330c387 | |||
| 18772160cf | |||
| 361a361a50 | |||
| d74b0835bf | |||
| f85f6f0d3c | |||
| 63a2ec3ff9 | |||
| f8cabf71b6 | |||
| bbdc06b4c1 | |||
| 3bf5e3d4ab | |||
| c27dbe9343 | |||
| aa416c1950 | |||
| feff61ca3f | |||
| d1d8c0bad1 | |||
| 031c759a84 | |||
| 14b1434c65 | |||
| 57e63ff55e |
+8
-8
@@ -70,7 +70,7 @@ We follow [Semantic Versioning](https://semver.org/):
|
|||||||
### Version Update Checklist
|
### Version Update Checklist
|
||||||
|
|
||||||
When updating the version number, always update these files:
|
When updating the version number, always update these files:
|
||||||
1. `wp-fix-plugin-does-not-exist-notices.php` (Plugin header)
|
1. `fix-plugin-does-not-exist-notices.php` (Plugin header)
|
||||||
2. `CHANGELOG.md` (Add new version section)
|
2. `CHANGELOG.md` (Add new version section)
|
||||||
3. `readme.txt` (Stable tag and Changelog section)
|
3. `readme.txt` (Stable tag and Changelog section)
|
||||||
4. `README.md` (Update Changelog section to match readme.txt)
|
4. `README.md` (Update Changelog section to match readme.txt)
|
||||||
@@ -107,11 +107,11 @@ Before creating a new release, verify the following:
|
|||||||
|
|
||||||
1. Create a new branch for the version: `git checkout -b v{MAJOR}.{MINOR}.{PATCH}`
|
1. Create a new branch for the version: `git checkout -b v{MAJOR}.{MINOR}.{PATCH}`
|
||||||
2. Update version numbers in ALL required files:
|
2. Update version numbers in ALL required files:
|
||||||
- `wp-fix-plugin-does-not-exist-notices.php` (Plugin header)
|
- `fix-plugin-does-not-exist-notices.php` (Plugin header)
|
||||||
- `FPDEN_VERSION` constant in the main plugin file
|
- `FPDEN_VERSION` constant in the main plugin file
|
||||||
- `readme.txt` (Stable tag)
|
- `readme.txt` (Stable tag)
|
||||||
- `README.md` (Ensure changelog is updated)
|
- `README.md` (Ensure changelog is updated)
|
||||||
- `languages/wp-fix-plugin-does-not-exist-notices.pot` (Project-Id-Version)
|
- `languages/fix-plugin-does-not-exist-notices.pot` (Project-Id-Version)
|
||||||
- Any other files that reference the version number
|
- Any other files that reference the version number
|
||||||
3. Update CHANGELOG.md with all changes
|
3. Update CHANGELOG.md with all changes
|
||||||
4. Update readme.txt changelog section
|
4. Update readme.txt changelog section
|
||||||
@@ -152,9 +152,9 @@ To manually build the plugin:
|
|||||||
## Remote Repositories
|
## Remote Repositories
|
||||||
|
|
||||||
The plugin is hosted on multiple repositories:
|
The plugin is hosted on multiple repositories:
|
||||||
- GitHub: https://github.com/wpallstars/wp-fix-plugin-does-not-exist-notices
|
- GitHub: https://github.com/wpallstars/fix-plugin-does-not-exist-notices
|
||||||
- Gitea: https://gitea.wpallstars.com/wpallstars/wp-fix-plugin-does-not-exist-notices
|
- Gitea: https://gitea.wpallstars.com/wpallstars/fix-plugin-does-not-exist-notices
|
||||||
- WordPress.org: https://wordpress.org/plugins/wp-fix-plugin-does-not-exist-notices/
|
- WordPress.org: https://wordpress.org/plugins/fix-plugin-does-not-exist-notices/
|
||||||
|
|
||||||
Always push changes to all remotes to keep them in sync.
|
Always push changes to all remotes to keep them in sync.
|
||||||
|
|
||||||
@@ -184,11 +184,11 @@ git checkout main
|
|||||||
git checkout -b v1.7.0
|
git checkout -b v1.7.0
|
||||||
|
|
||||||
# 2. Update version numbers in ALL required files
|
# 2. Update version numbers in ALL required files
|
||||||
# - wp-fix-plugin-does-not-exist-notices.php
|
# - fix-plugin-does-not-exist-notices.php
|
||||||
# - CHANGELOG.md
|
# - CHANGELOG.md
|
||||||
# - readme.txt
|
# - readme.txt
|
||||||
# - README.md
|
# - README.md
|
||||||
# - languages/wp-fix-plugin-does-not-exist-notices.pot
|
# - languages/fix-plugin-does-not-exist-notices.pot
|
||||||
# - FPDEN_VERSION constant
|
# - FPDEN_VERSION constant
|
||||||
|
|
||||||
# 3. Commit changes
|
# 3. Commit changes
|
||||||
|
|||||||
+39
@@ -0,0 +1,39 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: build-release
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
ref:
|
||||||
|
- refs/tags/v*
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- apk add --no-cache bash zip
|
||||||
|
- VERSION=${DRONE_TAG#v}
|
||||||
|
- mkdir -p build/fix-plugin-does-not-exist-notices
|
||||||
|
- cp fix-plugin-does-not-exist-notices.php build/fix-plugin-does-not-exist-notices/
|
||||||
|
- cp readme.txt build/fix-plugin-does-not-exist-notices/
|
||||||
|
- cp LICENSE build/fix-plugin-does-not-exist-notices/
|
||||||
|
- cp README.md build/fix-plugin-does-not-exist-notices/
|
||||||
|
- cp CHANGELOG.md build/fix-plugin-does-not-exist-notices/
|
||||||
|
- cd build
|
||||||
|
- zip -r ../fix-plugin-does-not-exist-notices-$VERSION.zip fix-plugin-does-not-exist-notices
|
||||||
|
- cd ..
|
||||||
|
|
||||||
|
- name: release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
base_url: https://gitea.wpallstars.com
|
||||||
|
files:
|
||||||
|
- fix-plugin-does-not-exist-notices-*.zip
|
||||||
|
title: Release ${DRONE_TAG}
|
||||||
|
note: |
|
||||||
|
Fix 'Plugin file does not exist.' Notices ${DRONE_TAG}
|
||||||
|
|
||||||
|
See [CHANGELOG.md](https://gitea.wpallstars.com/wpallstars/fix-plugin-does-not-exist-notices/src/branch/main/CHANGELOG.md) for details.
|
||||||
+101
@@ -0,0 +1,101 @@
|
|||||||
|
# This file configures how Git handles line endings and file types
|
||||||
|
# It is independent from .gitignore which controls which files are tracked
|
||||||
|
|
||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Text files that should be normalized with LF line endings
|
||||||
|
*.php text eol=lf
|
||||||
|
*.css text eol=lf
|
||||||
|
*.js text eol=lf
|
||||||
|
*.scss text eol=lf
|
||||||
|
*.htm text eol=lf
|
||||||
|
*.html text eol=lf
|
||||||
|
*.xml text eol=lf
|
||||||
|
*.txt text eol=lf
|
||||||
|
*.ini text eol=lf
|
||||||
|
*.inc text eol=lf
|
||||||
|
*.md text eol=lf
|
||||||
|
*.json text eol=lf
|
||||||
|
*.yml text eol=lf
|
||||||
|
*.yaml text eol=lf
|
||||||
|
*.po text eol=lf
|
||||||
|
*.pot text eol=lf
|
||||||
|
*.svg text eol=lf
|
||||||
|
.htaccess text eol=lf
|
||||||
|
|
||||||
|
# Files that should be treated as binary
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.jpeg binary
|
||||||
|
*.gif binary
|
||||||
|
*.ico binary
|
||||||
|
*.webp binary
|
||||||
|
*.zip binary
|
||||||
|
*.gz binary
|
||||||
|
*.tar binary
|
||||||
|
*.ttf binary
|
||||||
|
*.eot binary
|
||||||
|
*.woff binary
|
||||||
|
*.woff2 binary
|
||||||
|
*.pxd binary
|
||||||
|
*.afdesign binary
|
||||||
|
*.afphoto binary
|
||||||
|
*.afpub binary
|
||||||
|
|
||||||
|
# Exclude files from export (for WordPress.org SVN and distribution packages)
|
||||||
|
.gitattributes export-ignore
|
||||||
|
.gitignore export-ignore
|
||||||
|
.github export-ignore
|
||||||
|
.wordpress-org export-ignore
|
||||||
|
README.md export-ignore
|
||||||
|
CHANGELOG.md export-ignore
|
||||||
|
composer.json export-ignore
|
||||||
|
composer.lock export-ignore
|
||||||
|
package.json export-ignore
|
||||||
|
package-lock.json export-ignore
|
||||||
|
phpcs.xml export-ignore
|
||||||
|
.phpcs.xml export-ignore
|
||||||
|
phpunit.xml export-ignore
|
||||||
|
.phpunit.xml export-ignore
|
||||||
|
.distignore export-ignore
|
||||||
|
.editorconfig export-ignore
|
||||||
|
.eslintrc export-ignore
|
||||||
|
.eslintignore export-ignore
|
||||||
|
.prettierrc export-ignore
|
||||||
|
.prettierignore export-ignore
|
||||||
|
.stylelintrc export-ignore
|
||||||
|
.stylelintignore export-ignore
|
||||||
|
.travis.yml export-ignore
|
||||||
|
.gitlab-ci.yml export-ignore
|
||||||
|
bitbucket-pipelines.yml export-ignore
|
||||||
|
bin export-ignore
|
||||||
|
tests export-ignore
|
||||||
|
assets/icon/*.svg export-ignore
|
||||||
|
assets/banner/*.svg export-ignore
|
||||||
|
assets/screenshots/*.pxd export-ignore
|
||||||
|
assets/icon/*.pxd export-ignore
|
||||||
|
assets/banner/*.pxd export-ignore
|
||||||
|
|
||||||
|
# AI assistant and workflow files
|
||||||
|
.ai-assistant.md export-ignore
|
||||||
|
.ai-workflows export-ignore
|
||||||
|
.augmentignore export-ignore
|
||||||
|
.cursorignore export-ignore
|
||||||
|
.v0ignore export-ignore
|
||||||
|
.clinerc export-ignore
|
||||||
|
.continuerc export-ignore
|
||||||
|
reference-plugins export-ignore
|
||||||
|
|
||||||
|
# Set the default behavior for GitHub language detection
|
||||||
|
*.css linguist-language=CSS
|
||||||
|
*.js linguist-language=JavaScript
|
||||||
|
*.php linguist-language=PHP
|
||||||
|
*.scss linguist-language=SCSS
|
||||||
|
*.pot linguist-language=Gettext Catalog
|
||||||
|
*.po linguist-language=Gettext Catalog
|
||||||
|
*.mo linguist-language=Gettext Catalog
|
||||||
|
|
||||||
|
# Merge driver for changelog files to prevent conflicts
|
||||||
|
CHANGELOG.md merge=union
|
||||||
|
readme.txt merge=union
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
name: Plugin Asset Update
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- '.wordpress-org/**'
|
||||||
|
- 'assets/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
assets:
|
||||||
|
name: Push assets to WordPress.org
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: WordPress.org plugin asset/readme update
|
||||||
|
uses: 10up/action-wordpress-plugin-asset-update@stable
|
||||||
|
env:
|
||||||
|
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
|
||||||
|
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
|
||||||
|
SLUG: fix-plugin-does-not-exist-notices
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
name: Build Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build and Create Release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Get version
|
||||||
|
id: get_version
|
||||||
|
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Create build directory
|
||||||
|
run: mkdir -p build/fix-plugin-does-not-exist-notices
|
||||||
|
|
||||||
|
- name: Copy plugin files
|
||||||
|
run: |
|
||||||
|
cp fix-plugin-does-not-exist-notices.php build/fix-plugin-does-not-exist-notices/
|
||||||
|
cp readme.txt build/fix-plugin-does-not-exist-notices/
|
||||||
|
cp LICENSE build/fix-plugin-does-not-exist-notices/
|
||||||
|
cp README.md build/fix-plugin-does-not-exist-notices/
|
||||||
|
cp -r assets build/fix-plugin-does-not-exist-notices/
|
||||||
|
|
||||||
|
- name: Create ZIP file
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
zip -r ../fix-plugin-does-not-exist-notices-${{ steps.get_version.outputs.VERSION }}.zip fix-plugin-does-not-exist-notices
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
name: Release v${{ steps.get_version.outputs.VERSION }}
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
files: |
|
||||||
|
fix-plugin-does-not-exist-notices-${{ steps.get_version.outputs.VERSION }}.zip
|
||||||
|
body: |
|
||||||
|
Fix 'Plugin file does not exist.' Notices v${{ steps.get_version.outputs.VERSION }}
|
||||||
|
|
||||||
|
See [CHANGELOG.md](https://github.com/wpallstars/fix-plugin-does-not-exist-notices/blob/main/CHANGELOG.md) for details.
|
||||||
|
|
||||||
|
# Deploy to WordPress.org
|
||||||
|
wordpress:
|
||||||
|
name: Deploy to WordPress.org
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: WordPress Plugin Deploy
|
||||||
|
id: deploy
|
||||||
|
uses: 10up/action-wordpress-plugin-deploy@stable
|
||||||
|
with:
|
||||||
|
generate-zip: true
|
||||||
|
env:
|
||||||
|
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
|
||||||
|
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
|
||||||
|
SLUG: fix-plugin-does-not-exist-notices
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
debug: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- apk add --no-cache bash zip
|
||||||
|
- VERSION=${CI_COMMIT_TAG#v}
|
||||||
|
- mkdir -p build/fix-plugin-does-not-exist-notices
|
||||||
|
- cp fix-plugin-does-not-exist-notices.php build/fix-plugin-does-not-exist-notices/
|
||||||
|
- cp readme.txt build/fix-plugin-does-not-exist-notices/
|
||||||
|
- cp LICENSE build/fix-plugin-does-not-exist-notices/
|
||||||
|
- cp README.md build/fix-plugin-does-not-exist-notices/
|
||||||
|
- if [ -f CHANGELOG.md ]; then cp CHANGELOG.md build/fix-plugin-does-not-exist-notices/; fi
|
||||||
|
- cd build
|
||||||
|
- zip -r ../fix-plugin-does-not-exist-notices-$VERSION.zip fix-plugin-does-not-exist-notices
|
||||||
|
- cd ..
|
||||||
|
- echo "Build completed - fix-plugin-does-not-exist-notices-$VERSION.zip"
|
||||||
|
- ls -la *.zip
|
||||||
|
|
||||||
|
release:
|
||||||
|
image: plugins/gitea-release
|
||||||
|
environment:
|
||||||
|
PLUGIN_API_KEY:
|
||||||
|
from_secret: gitea_token
|
||||||
|
PLUGIN_BASE_URL: https://gitea.wpallstars.com
|
||||||
|
PLUGIN_FILES: fix-plugin-does-not-exist-notices-*.zip
|
||||||
|
PLUGIN_TITLE: "Release ${CI_COMMIT_TAG}"
|
||||||
|
PLUGIN_NOTE: "Fix 'Plugin file does not exist.' Notices ${CI_COMMIT_TAG}\n\nSee [CHANGELOG.md](https://gitea.wpallstars.com/wpallstars/fix-plugin-does-not-exist-notices/src/branch/main/CHANGELOG.md) for details."
|
||||||
|
|
||||||
|
test:
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- echo "Hello from Woodpecker CI"
|
||||||
|
- echo "Testing minimal configuration"
|
||||||
|
|
||||||
|
when:
|
||||||
|
event: [push, tag, pull_request]
|
||||||
+1
-5
@@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## [2.0.4] - 2024-05-17
|
|
||||||
### Fixed
|
|
||||||
- Display actual plugin version instead of 'N/A' for missing plugins in plugin details view
|
|
||||||
|
|
||||||
## [2.0.2] - 2024-05-17
|
## [2.0.2] - 2024-05-17
|
||||||
### Changed
|
### Changed
|
||||||
- Consolidated WordPress.org assets into .wordpress-org directory
|
- Consolidated WordPress.org assets into .wordpress-org directory
|
||||||
@@ -255,7 +251,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
## [1.4.0] - 2023-11-30
|
## [1.4.0] - 2023-11-30
|
||||||
### Changed
|
### Changed
|
||||||
- Updated plugin name and text domain
|
- Updated plugin name and text domain
|
||||||
- Repository rename from plugin-reference-cleaner to wp-fix-plugin-does-not-exist-notices
|
- Repository rename from plugin-reference-cleaner to fix-plugin-does-not-exist-notices
|
||||||
|
|
||||||
## [1.3.3] - 2023-10-05
|
## [1.3.3] - 2023-10-05
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# Fix 'Plugin file does not exist.' Notices
|
# Fix 'Plugin file does not exist.' Notices
|
||||||
|
|
||||||
[](https://wordpress.org/plugins/wp-fix-plugin-does-not-exist-notices/)
|
[](https://wordpress.org/plugins/fix-plugin-does-not-exist-notices/)
|
||||||
[](https://wordpress.org/plugins/wp-fix-plugin-does-not-exist-notices/)
|
[](https://wordpress.org/plugins/fix-plugin-does-not-exist-notices/)
|
||||||
[](https://wordpress.org/plugins/wp-fix-plugin-does-not-exist-notices/)
|
[](https://wordpress.org/plugins/fix-plugin-does-not-exist-notices/)
|
||||||
[](https://www.gnu.org/licenses/gpl-2.0.html)
|
[](https://www.gnu.org/licenses/gpl-2.0.html)
|
||||||
|
|
||||||
Easily remove references to deleted plugins that cause "Plugin file does not exist" errors in your WordPress admin.
|
Easily remove references to deleted plugins that cause "Plugin file does not exist" errors in your WordPress admin.
|
||||||
@@ -159,9 +159,6 @@ The plugin works by:
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
### 2.0.4
|
|
||||||
* Fixed: Display actual plugin version instead of 'N/A' for missing plugins in plugin details view
|
|
||||||
|
|
||||||
### 2.0.2
|
### 2.0.2
|
||||||
* Consolidated WordPress.org assets into .wordpress-org directory
|
* Consolidated WordPress.org assets into .wordpress-org directory
|
||||||
* Improved organization of assets for WordPress.org submission
|
* Improved organization of assets for WordPress.org submission
|
||||||
@@ -379,8 +376,8 @@ This project is licensed under the GPL-2.0+ License - see the [LICENSE](LICENSE)
|
|||||||
|
|
||||||
If you need help with this plugin, there are several ways to get support:
|
If you need help with this plugin, there are several ways to get support:
|
||||||
|
|
||||||
* [WordPress.org Support Forums](https://wordpress.org/support/plugin/wp-fix-plugin-does-not-exist-notices/)
|
* [WordPress.org Support Forums](https://wordpress.org/support/plugin/fix-plugin-does-not-exist-notices/)
|
||||||
* [GitHub Issues](https://github.com/wpallstars/wp-fix-plugin-does-not-exist-notices/issues)
|
* [GitHub Issues](https://github.com/wpallstars/fix-plugin-does-not-exist-notices/issues)
|
||||||
* [Gitea Issues](https://gitea.wpallstars.com/wpallstars/wp-fix-plugin-does-not-exist-notices/issues)
|
* [Gitea Issues](https://gitea.wpallstars.com/wpallstars/fix-plugin-does-not-exist-notices/issues)
|
||||||
|
|
||||||
If you find this plugin helpful, please consider [leaving a review](https://wordpress.org/support/plugin/wp-fix-plugin-does-not-exist-notices/reviews/) on WordPress.org. Your feedback helps others discover the plugin and encourages continued development and support.
|
If you find this plugin helpful, please consider [leaving a review](https://wordpress.org/support/plugin/fix-plugin-does-not-exist-notices/reviews/) on WordPress.org. Your feedback helps others discover the plugin and encourages continued development and support.
|
||||||
@@ -10,7 +10,7 @@ if [ -z "$1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
PLUGIN_SLUG="wp-fix-plugin-does-not-exist-notices"
|
PLUGIN_SLUG="fix-plugin-does-not-exist-notices"
|
||||||
BUILD_DIR="build/$PLUGIN_SLUG"
|
BUILD_DIR="build/$PLUGIN_SLUG"
|
||||||
ZIP_FILE="${PLUGIN_SLUG}-${VERSION}.zip"
|
ZIP_FILE="${PLUGIN_SLUG}-${VERSION}.zip"
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ composer install --no-dev --optimize-autoloader
|
|||||||
|
|
||||||
# Copy required files
|
# Copy required files
|
||||||
echo "Copying plugin files..."
|
echo "Copying plugin files..."
|
||||||
cp wp-fix-plugin-does-not-exist-notices.php $BUILD_DIR/
|
cp fix-plugin-does-not-exist-notices.php $BUILD_DIR/
|
||||||
cp readme.txt $BUILD_DIR/
|
cp readme.txt $BUILD_DIR/
|
||||||
cp LICENSE $BUILD_DIR/
|
cp LICENSE $BUILD_DIR/
|
||||||
cp README.md $BUILD_DIR/
|
cp README.md $BUILD_DIR/
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "wpallstars/wp-fix-plugin-does-not-exist-notices",
|
"name": "wpallstars/fix-plugin-does-not-exist-notices",
|
||||||
"description": "Adds missing plugins to the plugins list with a 'Remove Reference' link so you can permanently clean up invalid plugin entries and remove error notices.",
|
"description": "Adds missing plugins to the plugins list with a 'Remove Reference' link so you can permanently clean up invalid plugin entries and remove error notices.",
|
||||||
"type": "wordpress-plugin",
|
"type": "wordpress-plugin",
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
|
|||||||
@@ -11,21 +11,21 @@
|
|||||||
*
|
*
|
||||||
* @wordpress-plugin
|
* @wordpress-plugin
|
||||||
* Plugin Name: Fix 'Plugin file does not exist.' Notices
|
* Plugin Name: Fix 'Plugin file does not exist.' Notices
|
||||||
* Plugin URI: https://wordpress.org/plugins/wp-fix-plugin-does-not-exist-notices/
|
* Plugin URI: https://wordpress.org/plugins/fix-plugin-does-not-exist-notices/
|
||||||
* Description: Adds missing plugins to the plugins list with a "Remove Reference" link so you can permanently clean up invalid plugin entries and remove error notices.
|
* Description: Adds missing plugins to the plugins list with a "Remove Reference" link so you can permanently clean up invalid plugin entries and remove error notices.
|
||||||
* Version: 2.0.4
|
* Version: 2.0.2
|
||||||
* Author: Marcus Quinn & WP ALLSTARS
|
* Author: Marcus Quinn & WP ALLSTARS
|
||||||
* Author URI: https://www.wpallstars.com
|
* Author URI: https://www.wpallstars.com
|
||||||
* License: GPL-2.0+
|
* License: GPL-2.0+
|
||||||
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
* Text Domain: wp-fix-plugin-does-not-exist-notices
|
* Text Domain: fix-plugin-does-not-exist-notices
|
||||||
* Domain Path: /languages
|
* Domain Path: /languages
|
||||||
* Requires at least: 5.0
|
* Requires at least: 5.0
|
||||||
* Requires PHP: 7.0
|
* Requires PHP: 7.0
|
||||||
* Update URI: https://git-updater.wpallstars.com
|
* Update URI: https://git-updater.wpallstars.com
|
||||||
* GitHub Plugin URI: wpallstars/wp-fix-plugin-does-not-exist-notices
|
* GitHub Plugin URI: wpallstars/fix-plugin-does-not-exist-notices
|
||||||
* GitHub Branch: main
|
* GitHub Branch: main
|
||||||
* Gitea Plugin URI: wpallstars/wp-fix-plugin-does-not-exist-notices
|
* Gitea Plugin URI: wpallstars/fix-plugin-does-not-exist-notices
|
||||||
* Gitea Branch: main
|
* Gitea Branch: main
|
||||||
*
|
*
|
||||||
* This plugin is free software: you can redistribute it and/or modify
|
* This plugin is free software: you can redistribute it and/or modify
|
||||||
@@ -48,7 +48,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Define plugin constants
|
// Define plugin constants
|
||||||
define( 'FPDEN_VERSION', '2.0.4' );
|
define( 'FPDEN_VERSION', '2.0.2' );
|
||||||
define( 'FPDEN_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
define( 'FPDEN_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
||||||
define( 'FPDEN_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
define( 'FPDEN_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
||||||
define( 'FPDEN_PLUGIN_FILE', __FILE__ );
|
define( 'FPDEN_PLUGIN_FILE', __FILE__ );
|
||||||
@@ -61,7 +61,7 @@ define( 'FPDEN_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
|||||||
*/
|
*/
|
||||||
function fpden_load_textdomain() {
|
function fpden_load_textdomain() {
|
||||||
load_plugin_textdomain(
|
load_plugin_textdomain(
|
||||||
'wp-fix-plugin-does-not-exist-notices',
|
'fix-plugin-does-not-exist-notices',
|
||||||
false,
|
false,
|
||||||
dirname( plugin_basename( __FILE__ ) ) . '/languages/'
|
dirname( plugin_basename( __FILE__ ) ) . '/languages/'
|
||||||
);
|
);
|
||||||
@@ -142,9 +142,9 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
|||||||
'fpdenData',
|
'fpdenData',
|
||||||
array(
|
array(
|
||||||
'i18n' => array(
|
'i18n' => array(
|
||||||
'clickToScroll' => esc_html__( 'Click here to scroll to missing plugins', 'wp-fix-plugin-does-not-exist-notices' ),
|
'clickToScroll' => esc_html__( 'Click here to scroll to missing plugins', 'fix-plugin-does-not-exist-notices' ),
|
||||||
'pluginMissing' => esc_html__( 'File Missing', 'wp-fix-plugin-does-not-exist-notices' ),
|
'pluginMissing' => esc_html__( 'File Missing', 'fix-plugin-does-not-exist-notices' ),
|
||||||
'removeNotice' => esc_html__( 'Remove Notice', 'wp-fix-plugin-does-not-exist-notices' ),
|
'removeNotice' => esc_html__( 'Remove Notice', 'fix-plugin-does-not-exist-notices' ),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@@ -176,14 +176,14 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
|||||||
'Name' => $plugin_name . ' <span class="error">(File Missing)</span>',
|
'Name' => $plugin_name . ' <span class="error">(File Missing)</span>',
|
||||||
/* translators: %s: Path to wp-content/plugins */
|
/* translators: %s: Path to wp-content/plugins */
|
||||||
'Description' => sprintf(
|
'Description' => sprintf(
|
||||||
__( 'This plugin is still marked as "Active" in your database — but its folder and files can\'t be found in %s. Click "Remove Notice" to permanently remove it from your active plugins list and eliminate the error notice.', 'wp-fix-plugin-does-not-exist-notices' ),
|
__( 'This plugin is still marked as "Active" in your database — but its folder and files can\'t be found in %s. Click "Remove Notice" to permanently remove it from your active plugins list and eliminate the error notice.', 'fix-plugin-does-not-exist-notices' ),
|
||||||
'<code>/wp-content/plugins/</code>'
|
'<code>/wp-content/plugins/</code>'
|
||||||
),
|
),
|
||||||
'Version' => FPDEN_VERSION, // Use our plugin version instead of 'N/A'
|
'Version' => __( 'N/A', 'fix-plugin-does-not-exist-notices' ),
|
||||||
'Author' => '',
|
'Author' => '',
|
||||||
'PluginURI' => '',
|
'PluginURI' => '',
|
||||||
'AuthorURI' => '',
|
'AuthorURI' => '',
|
||||||
'Title' => $plugin_name . ' (' . __( 'Missing', 'wp-fix-plugin-does-not-exist-notices' ) . ')',
|
'Title' => $plugin_name . ' (' . __( 'Missing', 'fix-plugin-does-not-exist-notices' ) . ')',
|
||||||
'AuthorName' => '',
|
'AuthorName' => '',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -223,8 +223,8 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
|||||||
$nonce = wp_create_nonce( 'remove_plugin_reference_' . $plugin_file );
|
$nonce = wp_create_nonce( 'remove_plugin_reference_' . $plugin_file );
|
||||||
$remove_url = admin_url( 'plugins.php?action=remove_reference&plugin=' . urlencode( $plugin_file ) . '&_wpnonce=' . $nonce );
|
$remove_url = admin_url( 'plugins.php?action=remove_reference&plugin=' . urlencode( $plugin_file ) . '&_wpnonce=' . $nonce );
|
||||||
/* translators: %s: Plugin file path */
|
/* translators: %s: Plugin file path */
|
||||||
$aria_label = sprintf( __( 'Remove reference to missing plugin %s', 'wp-fix-plugin-does-not-exist-notices' ), esc_attr( $plugin_file ) );
|
$aria_label = sprintf( __( 'Remove reference to missing plugin %s', 'fix-plugin-does-not-exist-notices' ), esc_attr( $plugin_file ) );
|
||||||
$actions['remove_reference'] = '<a href="' . esc_url( $remove_url ) . '" class="delete" aria-label="' . $aria_label . '">' . esc_html__( 'Remove Notice', 'wp-fix-plugin-does-not-exist-notices' ) . '</a>';
|
$actions['remove_reference'] = '<a href="' . esc_url( $remove_url ) . '" class="delete" aria-label="' . $aria_label . '">' . esc_html__( 'Remove Notice', 'fix-plugin-does-not-exist-notices' ) . '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return $actions;
|
return $actions;
|
||||||
@@ -246,13 +246,13 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
|||||||
|
|
||||||
// Verify user permissions.
|
// Verify user permissions.
|
||||||
if ( ! current_user_can( 'activate_plugins' ) ) {
|
if ( ! current_user_can( 'activate_plugins' ) ) {
|
||||||
wp_die( esc_html__( 'You do not have sufficient permissions to perform this action.', 'wp-fix-plugin-does-not-exist-notices' ) );
|
wp_die( esc_html__( 'You do not have sufficient permissions to perform this action.', 'fix-plugin-does-not-exist-notices' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sanitize and get the plugin file path.
|
// Sanitize and get the plugin file path.
|
||||||
$plugin_file = isset( $_GET['plugin'] ) ? sanitize_text_field( wp_unslash( $_GET['plugin'] ) ) : '';
|
$plugin_file = isset( $_GET['plugin'] ) ? sanitize_text_field( wp_unslash( $_GET['plugin'] ) ) : '';
|
||||||
if ( empty( $plugin_file ) ) {
|
if ( empty( $plugin_file ) ) {
|
||||||
wp_die( esc_html__( 'Invalid plugin specified.', 'wp-fix-plugin-does-not-exist-notices' ) );
|
wp_die( esc_html__( 'Invalid plugin specified.', 'fix-plugin-does-not-exist-notices' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify nonce for security.
|
// Verify nonce for security.
|
||||||
@@ -328,7 +328,7 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
|||||||
if ( isset( $_GET['reference_removed'] ) && '1' === $_GET['reference_removed'] ) {
|
if ( isset( $_GET['reference_removed'] ) && '1' === $_GET['reference_removed'] ) {
|
||||||
?>
|
?>
|
||||||
<div class="notice notice-success is-dismissible">
|
<div class="notice notice-success is-dismissible">
|
||||||
<p><?php esc_html_e( 'Plugin reference removed successfully.', 'wp-fix-plugin-does-not-exist-notices' ); ?></p>
|
<p><?php esc_html_e( 'Plugin reference removed successfully.', 'fix-plugin-does-not-exist-notices' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -336,7 +336,7 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
|||||||
if ( isset( $_GET['reference_removal_failed'] ) && '1' === $_GET['reference_removal_failed'] ) {
|
if ( isset( $_GET['reference_removal_failed'] ) && '1' === $_GET['reference_removal_failed'] ) {
|
||||||
?>
|
?>
|
||||||
<div class="notice notice-error is-dismissible">
|
<div class="notice notice-error is-dismissible">
|
||||||
<p><?php esc_html_e( 'Failed to remove plugin reference. The plugin may already have been removed, or there was a database issue.', 'wp-fix-plugin-does-not-exist-notices' ); ?></p>
|
<p><?php esc_html_e( 'Failed to remove plugin reference. The plugin may already have been removed, or there was a database issue.', 'fix-plugin-does-not-exist-notices' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -145,9 +145,9 @@ class Updater {
|
|||||||
// Set the update server based on the installation source
|
// Set the update server based on the installation source
|
||||||
\add_filter('gul_update_server', function() {
|
\add_filter('gul_update_server', function() {
|
||||||
if ($this->source === 'github') {
|
if ($this->source === 'github') {
|
||||||
return 'https://github.com/wpallstars/wp-fix-plugin-does-not-exist-notices'; // GitHub repository URL
|
return 'https://github.com/wpallstars/fix-plugin-does-not-exist-notices'; // GitHub repository URL
|
||||||
} elseif ($this->source === 'gitea') {
|
} elseif ($this->source === 'gitea') {
|
||||||
return 'https://gitea.wpallstars.com/wpallstars/wp-fix-plugin-does-not-exist-notices'; // Gitea repository URL
|
return 'https://gitea.wpallstars.com/wpallstars/fix-plugin-does-not-exist-notices'; // Gitea repository URL
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
});
|
});
|
||||||
|
|||||||
+25
-25
@@ -2,24 +2,24 @@
|
|||||||
# This file is distributed under the GPL-2.0+.
|
# This file is distributed under the GPL-2.0+.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Fix 'Plugin file does not exist.' Notices 2.0.4\n"
|
"Project-Id-Version: Fix 'Plugin file does not exist.' Notices 2.0.2\n"
|
||||||
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-fix-plugin-does-not-exist-notices\n"
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/fix-plugin-does-not-exist-notices\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2024-05-17T12:00:00+00:00\n"
|
"POT-Creation-Date: 2024-05-16T12:00:00+00:00\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"X-Generator: WP-CLI 2.8.1\n"
|
"X-Generator: WP-CLI 2.8.1\n"
|
||||||
"X-Domain: wp-fix-plugin-does-not-exist-notices\n"
|
"X-Domain: fix-plugin-does-not-exist-notices\n"
|
||||||
|
|
||||||
#. Plugin Name of the plugin
|
#. Plugin Name of the plugin
|
||||||
msgid "Fix 'Plugin file does not exist.' Notices"
|
msgid "Fix 'Plugin file does not exist.' Notices"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Plugin URI of the plugin
|
#. Plugin URI of the plugin
|
||||||
msgid "https://wordpress.org/plugins/wp-fix-plugin-does-not-exist-notices/"
|
msgid "https://wordpress.org/plugins/fix-plugin-does-not-exist-notices/"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Description of the plugin
|
#. Description of the plugin
|
||||||
@@ -34,81 +34,81 @@ msgstr ""
|
|||||||
msgid "https://www.wpallstars.com"
|
msgid "https://www.wpallstars.com"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:127
|
#: fix-plugin-does-not-exist-notices.php:127
|
||||||
msgid "Click here to scroll to missing plugins"
|
msgid "Click here to scroll to missing plugins"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:128
|
#: fix-plugin-does-not-exist-notices.php:128
|
||||||
msgid "Plugin file missing"
|
msgid "Plugin file missing"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:129
|
#: fix-plugin-does-not-exist-notices.php:129
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:205
|
#: fix-plugin-does-not-exist-notices.php:205
|
||||||
msgid "Remove Reference"
|
msgid "Remove Reference"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. translators: %s: Path to wp-content/plugins
|
#. translators: %s: Path to wp-content/plugins
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:161
|
#: fix-plugin-does-not-exist-notices.php:161
|
||||||
msgid "This plugin is still marked as \"Active\" in your database — but its folder and files can't be found in %s. Click \"Remove Reference\" to permanently remove it from your active plugins list and eliminate the error notice."
|
msgid "This plugin is still marked as \"Active\" in your database — but its folder and files can't be found in %s. Click \"Remove Reference\" to permanently remove it from your active plugins list and eliminate the error notice."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:164
|
#: fix-plugin-does-not-exist-notices.php:164
|
||||||
msgid "N/A"
|
msgid "N/A"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:168
|
#: fix-plugin-does-not-exist-notices.php:168
|
||||||
msgid "Missing"
|
msgid "Missing"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. translators: %s: Plugin file path
|
#. translators: %s: Plugin file path
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:204
|
#: fix-plugin-does-not-exist-notices.php:204
|
||||||
msgid "Remove reference to missing plugin %s"
|
msgid "Remove reference to missing plugin %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:227
|
#: fix-plugin-does-not-exist-notices.php:227
|
||||||
msgid "You do not have sufficient permissions to perform this action."
|
msgid "You do not have sufficient permissions to perform this action."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:233
|
#: fix-plugin-does-not-exist-notices.php:233
|
||||||
msgid "Invalid plugin specified."
|
msgid "Invalid plugin specified."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:308
|
#: fix-plugin-does-not-exist-notices.php:308
|
||||||
msgid "Plugin reference removed successfully."
|
msgid "Plugin reference removed successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:316
|
#: fix-plugin-does-not-exist-notices.php:316
|
||||||
msgid "Failed to remove plugin reference. The plugin may already have been removed, or there was a database issue."
|
msgid "Failed to remove plugin reference. The plugin may already have been removed, or there was a database issue."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:331
|
#: fix-plugin-does-not-exist-notices.php:331
|
||||||
msgid "Fix Plugin Does Not Exist Notices"
|
msgid "Fix Plugin Does Not Exist Notices"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:333
|
#: fix-plugin-does-not-exist-notices.php:333
|
||||||
msgid "Missing plugin files detected:"
|
msgid "Missing plugin files detected:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:334
|
#: fix-plugin-does-not-exist-notices.php:334
|
||||||
msgid "The plugins listed below with a"
|
msgid "The plugins listed below with a"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:335
|
#: fix-plugin-does-not-exist-notices.php:335
|
||||||
msgid "File Missing"
|
msgid "File Missing"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:336
|
#: fix-plugin-does-not-exist-notices.php:336
|
||||||
msgid "tag no longer exist but are still referenced in your database."
|
msgid "tag no longer exist but are still referenced in your database."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:339
|
#: fix-plugin-does-not-exist-notices.php:339
|
||||||
msgid "How to fix:"
|
msgid "How to fix:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:340
|
#: fix-plugin-does-not-exist-notices.php:340
|
||||||
msgid "Click the \"Remove Reference\" link next to each missing plugin to safely remove it from your active plugins list."
|
msgid "Click the \"Remove Reference\" link next to each missing plugin to safely remove it from your active plugins list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: wp-fix-plugin-does-not-exist-notices.php:342
|
#: fix-plugin-does-not-exist-notices.php:342
|
||||||
msgid "This will clean up your database and remove the error notifications."
|
msgid "This will clean up your database and remove the error notifications."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
+8
-11
@@ -5,7 +5,7 @@ Tags: plugins, missing plugins, cleanup, error fix, admin tools, plugin file doe
|
|||||||
Requires at least: 5.0
|
Requires at least: 5.0
|
||||||
Tested up to: 6.7.2
|
Tested up to: 6.7.2
|
||||||
Requires PHP: 7.0
|
Requires PHP: 7.0
|
||||||
Stable tag: 2.0.4
|
Stable tag: 2.0.2
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@@ -50,7 +50,7 @@ When WordPress detects a plugin file that no longer exists but is still referenc
|
|||||||
|
|
||||||
== Installation ==
|
== Installation ==
|
||||||
|
|
||||||
1. Upload the `wp-fix-plugin-does-not-exist-notices` folder to the `/wp-content/plugins/` directory
|
1. Upload the `fix-plugin-does-not-exist-notices` folder to the `/wp-content/plugins/` directory
|
||||||
2. Activate the plugin through the 'Plugins' menu in WordPress
|
2. Activate the plugin through the 'Plugins' menu in WordPress
|
||||||
3. No configuration needed - the plugin works automatically
|
3. No configuration needed - the plugin works automatically
|
||||||
4. If you have missing plugin errors, you'll immediately see them in your plugins list with "Remove Notice" links
|
4. If you have missing plugin errors, you'll immediately see them in your plugins list with "Remove Notice" links
|
||||||
@@ -111,9 +111,6 @@ Manually editing the WordPress database is risky and requires technical knowledg
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
= 2.0.4 =
|
|
||||||
* Fixed: Display actual plugin version instead of 'N/A' for missing plugins in plugin details view
|
|
||||||
|
|
||||||
= 2.0.2 =
|
= 2.0.2 =
|
||||||
* Consolidated WordPress.org assets into .wordpress-org directory
|
* Consolidated WordPress.org assets into .wordpress-org directory
|
||||||
* Improved organization of assets for WordPress.org submission
|
* Improved organization of assets for WordPress.org submission
|
||||||
@@ -326,7 +323,7 @@ Manually editing the WordPress database is risky and requires technical knowledg
|
|||||||
|
|
||||||
= 1.4.0 =
|
= 1.4.0 =
|
||||||
* Updated plugin name and text domain
|
* Updated plugin name and text domain
|
||||||
* Repository rename from plugin-reference-cleaner to wp-fix-plugin-does-not-exist-notices
|
* Repository rename from plugin-reference-cleaner to fix-plugin-does-not-exist-notices
|
||||||
|
|
||||||
= 1.3.3 =
|
= 1.3.3 =
|
||||||
* Improved notification placement next to WordPress error messages
|
* Improved notification placement next to WordPress error messages
|
||||||
@@ -478,7 +475,7 @@ Important stability fix - resolves timeout issues during plugin activation!
|
|||||||
|
|
||||||
Contributions are welcome! Please feel free to submit a Pull Request.
|
Contributions are welcome! Please feel free to submit a Pull Request.
|
||||||
|
|
||||||
1. Fork the repository on [GitHub](https://github.com/wpallstars/wp-fix-plugin-does-not-exist-notices/) or [Gitea](https://gitea.wpallstars.com/wpallstars/wp-fix-plugin-does-not-exist-notices/)
|
1. Fork the repository on [GitHub](https://github.com/wpallstars/fix-plugin-does-not-exist-notices/) or [Gitea](https://gitea.wpallstars.com/wpallstars/fix-plugin-does-not-exist-notices/)
|
||||||
2. Create your feature branch: `git checkout -b feature/amazing-feature`
|
2. Create your feature branch: `git checkout -b feature/amazing-feature`
|
||||||
3. Commit your changes: `git commit -m 'Add some amazing feature'`
|
3. Commit your changes: `git commit -m 'Add some amazing feature'`
|
||||||
4. Push to the branch: `git push origin feature/amazing-feature`
|
4. Push to the branch: `git push origin feature/amazing-feature`
|
||||||
@@ -490,8 +487,8 @@ The plugin is designed to be a best-practice example for WordPress plugin develo
|
|||||||
|
|
||||||
If you need help with this plugin, there are several ways to get support:
|
If you need help with this plugin, there are several ways to get support:
|
||||||
|
|
||||||
* [WordPress.org Support Forums](https://wordpress.org/support/plugin/wp-fix-plugin-does-not-exist-notices/)
|
* [WordPress.org Support Forums](https://wordpress.org/support/plugin/fix-plugin-does-not-exist-notices/)
|
||||||
* [GitHub Issues](https://github.com/wpallstars/wp-fix-plugin-does-not-exist-notices/issues)
|
* [GitHub Issues](https://github.com/wpallstars/fix-plugin-does-not-exist-notices/issues)
|
||||||
* [Gitea Issues](https://gitea.wpallstars.com/wpallstars/wp-fix-plugin-does-not-exist-notices/issues)
|
* [Gitea Issues](https://gitea.wpallstars.com/wpallstars/fix-plugin-does-not-exist-notices/issues)
|
||||||
|
|
||||||
If you find this plugin helpful, please consider [leaving a review](https://wordpress.org/support/plugin/wp-fix-plugin-does-not-exist-notices/reviews/) on WordPress.org. Your feedback helps others discover the plugin and encourages continued development and support.
|
If you find this plugin helpful, please consider [leaving a review](https://wordpress.org/support/plugin/fix-plugin-does-not-exist-notices/reviews/) on WordPress.org. Your feedback helps others discover the plugin and encourages continued development and support.
|
||||||
Reference in New Issue
Block a user