mirror of
https://github.com/WenPai-org/wpslug.git
synced 2025-08-08 10:12:56 +08:00
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:
parent
6ab770bc41
commit
c4e6027779
125 changed files with 13129 additions and 1 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue