Adopt reusable CI standard (#30)

Squash-merged from claude/adopt-ci-20260616.

QA-approved; all CI checks green on 3b4e3f04.

Agent-Session: deploy-ci-rollout-news-plugin-2026-06-16
This commit is contained in:
peptiderepo
2026-06-16 21:30:24 +07:00
committed by GitHub
parent 3cb9ffb70d
commit ff474326fb
16 changed files with 139 additions and 150 deletions

View File

@@ -2,7 +2,7 @@
declare( strict_types=1 );
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
exit;
}
global $wpdb;
$prefix = $wpdb->prefix;
@@ -16,12 +16,12 @@ $wpdb->query( "DROP TABLE IF EXISTS {$prefix}peptide_news_articles" );
// Delete all plugin options.
$wpdb->query(
"DELETE FROM {$wpdb->options} WHERE option_name LIKE 'peptide\_news\_%'"
"DELETE FROM {$wpdb->options} WHERE option_name LIKE 'peptide\_news\_%'"
);
// Remove transient caches.
$wpdb->query(
"DELETE FROM {$wpdb->options} WHERE option_name LIKE '_transient_peptide\_news\_%' OR option_name LIKE '_transient_timeout_peptide\_news\_%'"
"DELETE FROM {$wpdb->options} WHERE option_name LIKE '_transient_peptide\_news\_%' OR option_name LIKE '_transient_timeout_peptide\_news\_%'"
);
// Clear scheduled events.