{"id":11974,"date":"2026-11-30T23:39:22","date_gmt":"2026-11-30T15:39:22","guid":{"rendered":"https:\/\/aeosub.com\/npc-maintenance-inspector\/"},"modified":"2026-11-30T23:39:22","modified_gmt":"2026-11-30T15:39:22","slug":"npc-maintenance-inspector","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/npc-maintenance-inspector\/","title":{"rendered":"NPC Maintenance Inspector"},"content":{"rendered":"<div class=\"post-img\" style=\"margin-bottom: 25px\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/npc-maintenance-inspector\/assets\/banner-1544x500.png?rev=3532074\" alt=\"NPC Maintenance Inspector\" loading=\"lazy\" style=\"width: 100%;height: auto;border-radius: 12px\"><\/div>\n<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<div style=\"padding: 20px;border-bottom: 1px solid #edf2f7;background: #fafafa;display: flex;align-items: flex-start\">\n                <img decoding=\"async\" src=\"https:\/\/ps.w.org\/npc-maintenance-inspector\/assets\/icon-256x256.png?rev=3532074\" alt=\"NPC Maintenance Inspector icon\" loading=\"lazy\" style=\"width: 45px;height: 45px;border-radius: 8px;margin-right: 15px\"> <\/p>\n<div style=\"flex: 1;line-height: 1.2\">\n<div style=\"font-weight: bold;font-size: 1.1em;color: #1a202c\">Plugin Specification<\/div>\n<p>                    <small style=\"color: #718096\">WordPress.org Official Data<\/small>\n                <\/div>\n<\/p><\/div>\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\">Developer<\/th>\n<td style=\"padding: 12px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/npc01\/\" target=\"_blank\" rel=\"noopener\">npc01<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v1.0.6<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">20 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">6.0 \/ 7.2<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-11-30 3:29pm GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/npc-maintenance-inspector\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\">View Details -&gt;<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">WordPress maintenance health-check tool with 9-point diagnostics, history tracking, and optional AI-powered reports.<\/div>\n<p>NPC Maintenance Inspector performs 9-point health diagnostics on your WordPress site directly from the admin dashboard:<\/p>\n<ol>\n<li><strong>WordPress core updates<\/strong> \u2014 Detect missing core updates.<\/li>\n<li><strong>Plugin updates<\/strong> \u2014 List plugins with available updates.<\/li>\n<li><strong>Site Health issues<\/strong> \u2014 Extract critical issues from WP standard Site Health API.<\/li>\n<li><strong>PHP version<\/strong> \u2014 Check whether a newer security release of the server&#8217;s PHP branch is out, and whether the branch still receives official security fixes (both from php.net).<\/li>\n<li><strong>Error log analysis<\/strong> \u2014 Summarize debug.log entries and save a one-click backup to uploads\/ for safe review.<\/li>\n<li><strong>File integrity<\/strong> \u2014 Detect suspicious code patterns in core files (eval \/ base64_decode \/ etc.) by comparing checksums against the WordPress.org Checksum API.<\/li>\n<li><strong>Suspicious files<\/strong> \u2014 Find unexpected PHP files in wp-content\/uploads\/, with built-in whitelist for known legitimate plugin files (Ajax Load More templates, WP STAGING index.php, AIOS firewall rules, etc.).<\/li>\n<li><strong>SSL certificate<\/strong> \u2014 Check days until expiration (warn under 30 days, critical at 0).<\/li>\n<li><strong>File permissions<\/strong> \u2014 Check critical files like wp-config.php, .htaccess, wp-content\/.<\/li>\n<\/ol>\n<p>Operational features:<\/p>\n<ul>\n<li><strong>History<\/strong> \u2014 Keep the last 10 diagnoses as a custom post type.<\/li>\n<li><strong>Scheduled auto-check<\/strong> \u2014 Run daily, weekly, or monthly via WP Cron.<\/li>\n<li><strong>Email notifications (automatic diagnosis)<\/strong> \u2014 Send alerts only on critical issues.<\/li>\n<li><strong>PHP security release alerts<\/strong> \u2014 Once a day, email when a security release of the server&#8217;s PHP branch is not applied yet, or when official security fixes for the branch have ended (each once, plus one reminder if nothing changes after 7 days), and when php.net could not be checked for 7 days. On by default; can be turned off in Settings.<\/li>\n<li><strong>One-click debug.log backup<\/strong> \u2014 Save a copy of debug.log without modifying the original.<\/li>\n<li><strong>Optional AI report<\/strong> \u2014 Generate maintenance suggestions via Anthropic Claude API. Disabled by default; opt-in via a wp-config.php constant.<\/li>\n<\/ul>\n<p>The plugin is locked to the user who activated it and to the original site URL, so it stays inert after backup restores to a different domain.<\/p>\n<h3>External services<\/h3>\n<p>This plugin contacts four external services (two of them on php.net).<\/p>\n<ol>\n<li><strong>WordPress.org Checksums API<\/strong> (<code>https:\/\/api.wordpress.org\/core\/checksums\/1.0\/<\/code>) \u2014 every diagnosis (manual or scheduled). The File Integrity check downloads the official checksums for the installed WordPress version to compare them with the core files on your site. Sent: the WordPress version and the site locale as URL parameters (if no checksums exist for the locale, the request is repeated with <code>en_US<\/code>). No file contents or diagnosis results are sent. As with all requests WordPress makes, the standard user agent includes the WordPress version and the site URL. WordPress.org privacy policy: https:\/\/wordpress.org\/about\/privacy\/<\/li>\n<li><strong>php.net release information<\/strong> (<code>https:\/\/www.php.net\/releases\/?json<\/code>) \u2014 every diagnosis and once a day (PHP security release alerts; results are cached for up to 6 hours). The PHP check downloads the list of releases of the server&#8217;s PHP branch to see whether a newer security release is out. Sent: the PHP branch (for example <code>8.3<\/code>) as a URL parameter. As with all requests WordPress makes, the standard user agent includes the WordPress version and the site URL. php.net privacy policy: https:\/\/www.php.net\/privacy.php<\/li>\n<li><strong>php.net PHP branch support dates<\/strong> (<code>https:\/\/www.php.net\/releases\/states.php<\/code>) \u2014 at the same times as item 2. Downloads the date each PHP branch stops receiving official security fixes. Sent: nothing besides the request itself (no parameters). As with all requests WordPress makes, the standard user agent includes the WordPress version and the site URL. php.net privacy policy: https:\/\/www.php.net\/privacy.php<\/li>\n<li><strong>Anthropic Claude API<\/strong> (<code>https:\/\/api.anthropic.com\/v1\/messages<\/code>) \u2014 optional, to generate AI-powered maintenance reports. Details below.<\/li>\n<\/ol>\n<p>The update checks for WordPress core and plugins use WordPress core&#8217;s own functions (<code>wp_version_check()<\/code> \/ <code>wp_update_plugins()<\/code>), which contact WordPress.org in the same way WordPress does on its own. The Site Health check runs WordPress core&#8217;s own Site Health tests; one of them is WordPress core&#8217;s PHP version check, which sends the PHP version to <code>https:\/\/api.wordpress.org\/core\/serve-happy\/1.0\/<\/code> (WordPress caches the answer for a week). This plugin does not use that answer for its PHP security check, which uses php.net only.<\/p>\n<p>The rest of this section describes the Anthropic Claude API.<\/p>\n<p><strong>When is data sent?<\/strong><\/p>\n<ul>\n<li>When you manually click the &#8220;Generate AI Report&#8221; button in the admin.<\/li>\n<li>When an automatic scheduled diagnosis detects a critical issue <strong>and<\/strong> notifications are enabled. In that case the AI report is generated once per critical run and attached to the notification email.<\/li>\n<\/ul>\n<p><strong>What data is sent?<\/strong><\/p>\n<ul>\n<li>The diagnosis result text only:\n<ul>\n<li>Site URL, site name, WordPress version, theme name<\/li>\n<li>Names and versions of plugins with available updates, Site Health issue titles (including notices from other plugins)<\/li>\n<li>PHP version, web server name, memory limit, max upload size, whether a newer PHP security release exists, the date official security fixes for the PHP branch end, and the PHP branches that still receive them<\/li>\n<li>The size of debug.log and <strong>up to 10 error lines from it, as written in the log<\/strong>. Error lines can contain file paths and any data that code wrote into the log, so review debug.log before generating a report if that is a concern<\/li>\n<li>File Integrity counts, the paths of core files that differ or could not be checked, and suspicious code patterns found in those core files (function names like <code>eval<\/code>, <code>base64_decode<\/code>)<\/li>\n<li>Paths of suspicious PHP files found in the uploads folder, and paths there that could not be read<\/li>\n<li>Counts (plugins, Site Health results), the latest WordPress version, and the notes each check writes<\/li>\n<li>SSL expiration date and days remaining<\/li>\n<li>File-permission status of critical files<\/li>\n<\/ul>\n<\/li>\n<li>Values that come from the site (error lines, file paths, plugin names, Site Health titles) are shortened to one line of up to 300 characters, and the diagnosis is sent inside a delimited data block that the AI is told never to treat as instructions.<\/li>\n<li>Apart from what may appear in the error lines above, the plugin does not collect login data, passwords or post content.<\/li>\n<\/ul>\n<p><strong>Is the data sent unconditionally?<\/strong><\/p>\n<p>No. The AI feature is <strong>completely disabled<\/strong> unless you define <code>NPCMI_API_KEY<\/code> in <code>wp-config.php<\/code>. Without that constant, no external connection to Anthropic is ever made.<\/p>\n<p><strong>Anthropic&#8217;s terms and privacy policy:<\/strong><\/p>\n<ul>\n<li>Consumer Terms of Service: https:\/\/www.anthropic.com\/legal\/consumer-terms<\/li>\n<li>Privacy Policy: https:\/\/www.anthropic.com\/legal\/privacy<\/li>\n<li>Commercial Terms of Service (if you use a paid API plan): https:\/\/www.anthropic.com\/legal\/commercial-terms<\/li>\n<\/ul>\n<p>By enabling the AI report feature (i.e. by defining <code>NPCMI_API_KEY<\/code>), you agree to Anthropic&#8217;s applicable terms.<\/p>\n<div class=\"plugin-editorial-note\" style=\"margin-top: 25px;padding: 12px 15px;background: #f8fafc;border-radius: 6px;color: #64748b;font-size: 13px;line-height: 1.5\">Editorial note: This overview combines WordPress.org official plugin metadata with an AI-assisted LethaldiranMX editorial review. Plugin data should be verified on the official WordPress.org listing before installation.<\/div>","protected":false},"excerpt":{"rendered":"<p>WordPress maintenance health-check tool with 9-point diagnostics, history tracking, and optional AI-powered reports.<\/p>","protected":false},"author":1,"featured_media":11975,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[1357,2402,822,1093,664,555],"class_list":["post-11974","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-diagnostics","tag-healthcheck","tag-maintenance","tag-monitoring","tag-security","tag-wordpress-plugin"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=11974"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11974\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/11975"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=11974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=11974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=11974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}