Integrate plugin update checker library

Added the Plugin Update Checker library under lib/plugin-update-checker and integrated it into WPSlug_Core for automatic update checks. This enables update notifications and management for the plugin via a remote JSON metadata file.
This commit is contained in:
feibisi 2025-07-15 12:36:48 +08:00
parent 6ab770bc41
commit c4e6027779
125 changed files with 13129 additions and 1 deletions

View file

@ -0,0 +1,10 @@
<?php if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
} ?>
<tr class="plugin-update-tr active installer-plugin-update-tr">
<td colspan="4" class="plugin-update colspanchange">
<div class="notice inline notice-warning notice-alt">
<?php echo $form; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
</td>
</tr>