Compare commits
2 Commits
v1.5.0
...
v1.6.0-git
Author | SHA1 | Date | |
---|---|---|---|
22d13ef8aa | |||
322cada133 |
6
.gitignore
vendored
6
.gitignore
vendored
@ -29,6 +29,10 @@ bower_components/
|
|||||||
composer.lock
|
composer.lock
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
||||||
|
# Composer
|
||||||
|
vendor/
|
||||||
|
composer.phar
|
||||||
|
|
||||||
# Build files
|
# Build files
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
@ -76,4 +80,4 @@ codecov.yml
|
|||||||
webpack.config.js
|
webpack.config.js
|
||||||
gulpfile.js
|
gulpfile.js
|
||||||
Gruntfile.js
|
Gruntfile.js
|
||||||
*.zip
|
*.zip
|
12
CHANGELOG.md
12
CHANGELOG.md
@ -2,6 +2,18 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [1.6.0] - 2024-05-15
|
||||||
|
### Added
|
||||||
|
- Full translation support with POT file
|
||||||
|
- JavaScript localization for better multilingual support
|
||||||
|
- Plugin constants for improved code organization
|
||||||
|
- Git Updater support for updates from GitHub and Gitea
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Updated code to follow WordPress internationalization best practices
|
||||||
|
- Improved asset loading with version constants
|
||||||
|
- Smart update detection based on installation source
|
||||||
|
|
||||||
## [1.5.0] - 2024-05-15
|
## [1.5.0] - 2024-05-15
|
||||||
### Added
|
### Added
|
||||||
- Improved compatibility with WordPress 6.4
|
- Improved compatibility with WordPress 6.4
|
||||||
|
18
build.sh
18
build.sh
@ -18,6 +18,10 @@ ZIP_FILE="${PLUGIN_SLUG}-${VERSION}.zip"
|
|||||||
echo "Creating build directory..."
|
echo "Creating build directory..."
|
||||||
mkdir -p $BUILD_DIR
|
mkdir -p $BUILD_DIR
|
||||||
|
|
||||||
|
# Install composer dependencies
|
||||||
|
echo "Installing composer dependencies..."
|
||||||
|
composer install --no-dev --optimize-autoloader
|
||||||
|
|
||||||
# Copy required files
|
# Copy required files
|
||||||
echo "Copying plugin files..."
|
echo "Copying plugin files..."
|
||||||
cp fix-plugin-does-not-exist-notices.php $BUILD_DIR/
|
cp fix-plugin-does-not-exist-notices.php $BUILD_DIR/
|
||||||
@ -25,6 +29,18 @@ cp readme.txt $BUILD_DIR/
|
|||||||
cp LICENSE $BUILD_DIR/
|
cp LICENSE $BUILD_DIR/
|
||||||
cp README.md $BUILD_DIR/
|
cp README.md $BUILD_DIR/
|
||||||
cp CHANGELOG.md $BUILD_DIR/
|
cp CHANGELOG.md $BUILD_DIR/
|
||||||
|
cp composer.json $BUILD_DIR/
|
||||||
|
|
||||||
|
# Copy directories
|
||||||
|
echo "Copying directories..."
|
||||||
|
mkdir -p $BUILD_DIR/includes
|
||||||
|
cp -r includes/* $BUILD_DIR/includes/
|
||||||
|
mkdir -p $BUILD_DIR/languages
|
||||||
|
cp -r languages/* $BUILD_DIR/languages/
|
||||||
|
mkdir -p $BUILD_DIR/assets
|
||||||
|
cp -r assets/* $BUILD_DIR/assets/
|
||||||
|
mkdir -p $BUILD_DIR/vendor
|
||||||
|
cp -r vendor/* $BUILD_DIR/vendor/
|
||||||
|
|
||||||
# Create ZIP file
|
# Create ZIP file
|
||||||
echo "Creating ZIP file..."
|
echo "Creating ZIP file..."
|
||||||
@ -39,4 +55,4 @@ if [ -f "$ZIP_FILE" ]; then
|
|||||||
else
|
else
|
||||||
echo "❌ Build failed: ZIP file was not created"
|
echo "❌ Build failed: ZIP file was not created"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
21
composer.json
Normal file
21
composer.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"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.",
|
||||||
|
"type": "wordpress-plugin",
|
||||||
|
"license": "GPL-2.0-or-later",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Marcus Quinn",
|
||||||
|
"email": "6428977+marcusquinn@users.noreply.github.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"require": {
|
||||||
|
"php": ">=7.0",
|
||||||
|
"afragen/git-updater-lite": "^1"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"WPAllStars\\FixPluginDoesNotExistNotices\\": "includes/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -9,8 +9,9 @@
|
|||||||
*
|
*
|
||||||
* @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/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: 1.5.0
|
* Version: 1.6.0
|
||||||
* Author: Marcus Quinn
|
* Author: Marcus Quinn
|
||||||
* Author URI: https://www.wpallstars.com
|
* Author URI: https://www.wpallstars.com
|
||||||
* License: GPL-2.0+
|
* License: GPL-2.0+
|
||||||
@ -19,6 +20,10 @@
|
|||||||
* Domain Path: /languages
|
* Domain Path: /languages
|
||||||
* Requires at least: 5.0
|
* Requires at least: 5.0
|
||||||
* Requires PHP: 7.0
|
* Requires PHP: 7.0
|
||||||
|
* GitHub Plugin URI: wpallstars/fix-plugin-does-not-exist-notices
|
||||||
|
* GitHub Branch: main
|
||||||
|
* Gitea Plugin URI: wpallstars/fix-plugin-does-not-exist-notices
|
||||||
|
* 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
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -39,6 +44,27 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Define plugin constants
|
||||||
|
define( 'FPDEN_VERSION', '1.6.0' );
|
||||||
|
define( 'FPDEN_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
||||||
|
define( 'FPDEN_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
||||||
|
define( 'FPDEN_PLUGIN_FILE', __FILE__ );
|
||||||
|
define( 'FPDEN_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load plugin text domain.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
function fpden_load_textdomain() {
|
||||||
|
load_plugin_textdomain(
|
||||||
|
'fix-plugin-does-not-exist-notices',
|
||||||
|
false,
|
||||||
|
dirname( plugin_basename( __FILE__ ) ) . '/languages/'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
add_action( 'plugins_loaded', 'fpden_load_textdomain' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main class for the plugin.
|
* Main class for the plugin.
|
||||||
*/
|
*/
|
||||||
@ -82,28 +108,33 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
|||||||
return; // No missing plugins, no need for the special notice JS/CSS.
|
return; // No missing plugins, no need for the special notice JS/CSS.
|
||||||
}
|
}
|
||||||
|
|
||||||
$plugin_url = plugin_dir_url( __FILE__ );
|
|
||||||
|
|
||||||
wp_enqueue_style(
|
wp_enqueue_style(
|
||||||
'fpden-admin-styles',
|
'fpden-admin-styles',
|
||||||
$plugin_url . 'assets/css/admin-styles.css',
|
FPDEN_PLUGIN_URL . 'assets/css/admin-styles.css',
|
||||||
array(),
|
array(),
|
||||||
filemtime( plugin_dir_path( __FILE__ ) . 'assets/css/admin-styles.css' ) // Versioning based on file modification time.
|
FPDEN_VERSION
|
||||||
);
|
);
|
||||||
|
|
||||||
wp_enqueue_script(
|
wp_enqueue_script(
|
||||||
'fpden-admin-scripts',
|
'fpden-admin-scripts',
|
||||||
$plugin_url . 'assets/js/admin-scripts.js',
|
FPDEN_PLUGIN_URL . 'assets/js/admin-scripts.js',
|
||||||
array( 'jquery' ), // Add dependencies if needed, e.g., jQuery.
|
array( 'jquery' ), // Add dependencies if needed, e.g., jQuery.
|
||||||
filemtime( plugin_dir_path( __FILE__ ) . 'assets/js/admin-scripts.js' ), // Versioning.
|
FPDEN_VERSION,
|
||||||
true // Load in footer.
|
true // Load in footer.
|
||||||
);
|
);
|
||||||
|
|
||||||
// Optional: Pass localized data to script if needed.
|
// Add translation strings for JavaScript
|
||||||
// wp_localize_script('fpden-admin-scripts', 'fpdenData', array(
|
wp_localize_script(
|
||||||
// 'ajax_url' => admin_url('admin-ajax.php'),
|
'fpden-admin-scripts',
|
||||||
// 'nonce' => wp_create_nonce('fpden_ajax_nonce'),
|
'fpdenData',
|
||||||
// ));
|
array(
|
||||||
|
'i18n' => array(
|
||||||
|
'clickToScroll' => esc_html__( 'Click here to scroll to missing plugins', 'fix-plugin-does-not-exist-notices' ),
|
||||||
|
'pluginMissing' => esc_html__( 'Plugin file missing', 'fix-plugin-does-not-exist-notices' ),
|
||||||
|
'removeReference' => esc_html__( 'Remove Reference', 'fix-plugin-does-not-exist-notices' ),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -369,3 +400,14 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
|||||||
|
|
||||||
// Initialize the plugin class.
|
// Initialize the plugin class.
|
||||||
new Fix_Plugin_Does_Not_Exist_Notices();
|
new Fix_Plugin_Does_Not_Exist_Notices();
|
||||||
|
|
||||||
|
// Initialize the updater if composer autoload exists
|
||||||
|
$autoloader = __DIR__ . '/vendor/autoload.php';
|
||||||
|
if (file_exists($autoloader)) {
|
||||||
|
require_once $autoloader;
|
||||||
|
|
||||||
|
// Initialize the updater if the class exists
|
||||||
|
if (class_exists('\WPAllStars\FixPluginDoesNotExistNotices\Updater')) {
|
||||||
|
new \WPAllStars\FixPluginDoesNotExistNotices\Updater(__FILE__);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
152
includes/Updater.php
Normal file
152
includes/Updater.php
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Plugin Updater
|
||||||
|
*
|
||||||
|
* @package FixPluginDoesNotExistNotices
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace WPAllStars\FixPluginDoesNotExistNotices;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class Updater
|
||||||
|
*
|
||||||
|
* Handles plugin updates from different sources based on installation origin.
|
||||||
|
*/
|
||||||
|
class Updater {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Plugin file path
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $plugin_file;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Installation source
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $source;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param string $plugin_file Main plugin file path.
|
||||||
|
*/
|
||||||
|
public function __construct($plugin_file) {
|
||||||
|
$this->plugin_file = $plugin_file;
|
||||||
|
$this->source = $this->determine_installation_source();
|
||||||
|
$this->init();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialize the updater based on the installation source
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function init() {
|
||||||
|
// Only initialize Git Updater if not installed from WordPress.org
|
||||||
|
if ($this->source !== 'wordpress.org') {
|
||||||
|
$this->init_git_updater();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine the installation source of the plugin
|
||||||
|
*
|
||||||
|
* @return string Installation source: 'github', 'gitea', or 'wordpress.org'
|
||||||
|
*/
|
||||||
|
private function determine_installation_source() {
|
||||||
|
// Default to WordPress.org
|
||||||
|
$source = 'wordpress.org';
|
||||||
|
|
||||||
|
// Check if the plugin was installed from GitHub
|
||||||
|
if ($this->is_github_installation()) {
|
||||||
|
$source = 'github';
|
||||||
|
}
|
||||||
|
// Check if the plugin was installed from Gitea
|
||||||
|
elseif ($this->is_gitea_installation()) {
|
||||||
|
$source = 'gitea';
|
||||||
|
}
|
||||||
|
|
||||||
|
return $source;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the plugin was installed from GitHub
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
private function is_github_installation() {
|
||||||
|
// Check for GitHub-specific markers in the plugin directory
|
||||||
|
$plugin_dir = plugin_dir_path($this->plugin_file);
|
||||||
|
|
||||||
|
// Look for .git directory with GitHub remote
|
||||||
|
if (file_exists($plugin_dir . '.git')) {
|
||||||
|
$git_config = @file_get_contents($plugin_dir . '.git/config');
|
||||||
|
if ($git_config && strpos($git_config, 'github.com') !== false) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check for GitHub-specific files that might indicate it was downloaded from GitHub
|
||||||
|
if (file_exists($plugin_dir . '.github')) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the plugin was installed from Gitea
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
private function is_gitea_installation() {
|
||||||
|
// Check for Gitea-specific markers in the plugin directory
|
||||||
|
$plugin_dir = plugin_dir_path($this->plugin_file);
|
||||||
|
|
||||||
|
// Look for .git directory with Gitea remote
|
||||||
|
if (file_exists($plugin_dir . '.git')) {
|
||||||
|
$git_config = @file_get_contents($plugin_dir . '.git/config');
|
||||||
|
if ($git_config && strpos($git_config, 'gitea.wpallstars.com') !== false) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialize Git Updater Lite
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
private function init_git_updater() {
|
||||||
|
// Check if the Git Updater Lite class exists (composer autoload)
|
||||||
|
if (!class_exists('\\Fragen\\Git_Updater\\Lite')) {
|
||||||
|
// Try to include the autoloader
|
||||||
|
$autoloader = dirname($this->plugin_file) . '/vendor/autoload.php';
|
||||||
|
if (file_exists($autoloader)) {
|
||||||
|
require_once $autoloader;
|
||||||
|
} else {
|
||||||
|
return; // Can't load Git Updater Lite
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the update server based on the installation source
|
||||||
|
add_filter('gul_update_server', function() {
|
||||||
|
if ($this->source === 'github') {
|
||||||
|
return 'https://wpallstars.com'; // GitHub update server
|
||||||
|
} elseif ($this->source === 'gitea') {
|
||||||
|
return 'https://wpallstars.com'; // Gitea update server
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
});
|
||||||
|
|
||||||
|
// Initialize Git Updater Lite
|
||||||
|
if (class_exists('\\Fragen\\Git_Updater\\Lite')) {
|
||||||
|
(new \Fragen\Git_Updater\Lite($this->plugin_file))->run();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
114
languages/fix-plugin-does-not-exist-notices.pot
Normal file
114
languages/fix-plugin-does-not-exist-notices.pot
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
# Copyright (C) 2024 Marcus Quinn
|
||||||
|
# This file is distributed under the GPL-2.0+.
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Fix 'Plugin file does not exist.' Notices 1.6.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/fix-plugin-does-not-exist-notices\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2024-05-15T12:00:00+00:00\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"X-Generator: WP-CLI 2.8.1\n"
|
||||||
|
"X-Domain: fix-plugin-does-not-exist-notices\n"
|
||||||
|
|
||||||
|
#. Plugin Name of the plugin
|
||||||
|
msgid "Fix 'Plugin file does not exist.' Notices"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Plugin URI of the plugin
|
||||||
|
msgid "https://wordpress.org/plugins/fix-plugin-does-not-exist-notices/"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Description of the plugin
|
||||||
|
msgid "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."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Author of the plugin
|
||||||
|
msgid "Marcus Quinn"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Author URI of the plugin
|
||||||
|
msgid "https://www.wpallstars.com"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:127
|
||||||
|
msgid "Click here to scroll to missing plugins"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:128
|
||||||
|
msgid "Plugin file missing"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:129
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:205
|
||||||
|
msgid "Remove Reference"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. translators: %s: Path to wp-content/plugins
|
||||||
|
#: 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."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:164
|
||||||
|
msgid "N/A"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:168
|
||||||
|
msgid "Missing"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. translators: %s: Plugin file path
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:204
|
||||||
|
msgid "Remove reference to missing plugin %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:227
|
||||||
|
msgid "You do not have sufficient permissions to perform this action."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:233
|
||||||
|
msgid "Invalid plugin specified."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:308
|
||||||
|
msgid "Plugin reference removed successfully."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: 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."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:331
|
||||||
|
msgid "Fix Plugin Does Not Exist Notices"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:333
|
||||||
|
msgid "Missing plugin files detected:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:334
|
||||||
|
msgid "The plugins listed below with a"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:335
|
||||||
|
msgid "File Missing"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:336
|
||||||
|
msgid "tag no longer exist but are still referenced in your database."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:339
|
||||||
|
msgid "How to fix:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: 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."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fix-plugin-does-not-exist-notices.php:342
|
||||||
|
msgid "This will clean up your database and remove the error notifications."
|
||||||
|
msgstr ""
|
14
readme.txt
14
readme.txt
@ -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.4
|
Tested up to: 6.4
|
||||||
Requires PHP: 7.0
|
Requires PHP: 7.0
|
||||||
Stable tag: 1.5.0
|
Stable tag: 1.6.0
|
||||||
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
|
||||||
|
|
||||||
@ -89,6 +89,15 @@ Although this plugin consumes minimal disk space, and doesn't run unless you are
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 1.6.0 =
|
||||||
|
* Added full translation support with POT file
|
||||||
|
* Added JavaScript localization for better multilingual support
|
||||||
|
* Added plugin constants for improved code organization
|
||||||
|
* Added Git Updater support for updates from GitHub and Gitea
|
||||||
|
* Updated code to follow WordPress internationalization best practices
|
||||||
|
* Improved asset loading with version constants
|
||||||
|
* Added smart update detection based on installation source
|
||||||
|
|
||||||
= 1.5.0 =
|
= 1.5.0 =
|
||||||
* Improved compatibility with WordPress 6.4
|
* Improved compatibility with WordPress 6.4
|
||||||
* Enhanced error detection for plugin references
|
* Enhanced error detection for plugin references
|
||||||
@ -161,6 +170,9 @@ Although this plugin consumes minimal disk space, and doesn't run unless you are
|
|||||||
|
|
||||||
== Upgrade Notice ==
|
== Upgrade Notice ==
|
||||||
|
|
||||||
|
= 1.6.0 =
|
||||||
|
Added full translation support and Git Updater compatibility for direct updates from GitHub and Gitea!
|
||||||
|
|
||||||
= 1.5.0 =
|
= 1.5.0 =
|
||||||
Improved compatibility with WordPress 6.4 and accessibility enhancements for screen readers!
|
Improved compatibility with WordPress 6.4 and accessibility enhancements for screen readers!
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user