{"id":322722,"date":"2026-06-14T16:29:17","date_gmt":"2026-06-14T16:29:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/refaxination\/"},"modified":"2026-06-14T16:28:43","modified_gmt":"2026-06-14T16:28:43","slug":"refaxination","status":"publish","type":"plugin","link":"https:\/\/sv.wordpress.org\/plugins\/refaxination\/","author":23510762,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0","requires":"6.5","requires_php":"8.2","requires_plugins":null,"header_name":"Refaxination","header_author":"Buti\u00e1 Labs","header_description":"Audits and manages orphaned files in Uploads. All operations via WP-CLI.","assets_banners_color":"d5d6d7","last_updated":"2026-06-14 16:28:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/butialabs\/refaxination","header_author_uri":"https:\/\/butialabs.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":26,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"butialabs","date":"2026-06-14 16:28:43"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3572073,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3572073,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3572073,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3572073,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[8533,88,84,267125,85],"plugin_category":[50],"plugin_contributors":[267126],"plugin_business_model":[],"class_list":["post-322722","plugin","type-plugin","status-publish","hentry","plugin_tags-audit","plugin_tags-files","plugin_tags-media","plugin_tags-orphaned","plugin_tags-uploads","plugin_category-media","plugin_contributors-butialabs","plugin_committers-butialabs"],"banners":{"banner":"https:\/\/ps.w.org\/refaxination\/assets\/banner-772x250.png?rev=3572073","banner_2x":"https:\/\/ps.w.org\/refaxination\/assets\/banner-1544x500.png?rev=3572073","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/refaxination\/assets\/icon-128x128.png?rev=3572073","icon_2x":"https:\/\/ps.w.org\/refaxination\/assets\/icon-256x256.png?rev=3572073","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Refaxination scans <code>wp-content\/uploads<\/code> and cross-references every file against the database.\nAttachments, post content, post meta, options, and third-party plugins, to identify files that are no longer referenced anywhere.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Full filesystem scan of wp-content\/uploads<\/li>\n<li>Database reference detection across:\n\n<ul>\n<li>WordPress attachments and post content<\/li>\n<li>Post meta fields<\/li>\n<li>WordPress options<\/li>\n<li>ACF (Advanced Custom Fields)<\/li>\n<li>Yoast SEO<\/li>\n<li>The SEO Framework<\/li>\n<\/ul><\/li>\n<li>Safe quarantine\/move operations with full audit log<\/li>\n<li>Admin dashboard with file and operation history<\/li>\n<li>All heavy operations run via WP-CLI to avoid timeouts<\/li>\n<\/ul>\n\n<p><strong>This plugin does not auto-delete anything.<\/strong> Every file operation is logged and reversible.<\/p>\n\n<h3>WP-CLI Commands<\/h3>\n\n<p>Scan the filesystem for files:<\/p>\n\n<pre><code>wp refaxination scan files\n<\/code><\/pre>\n\n<p>Scan the database for references:<\/p>\n\n<pre><code>wp refaxination scan refs\n<\/code><\/pre>\n\n<p>Generate a report:<\/p>\n\n<pre><code>wp refaxination report\n<\/code><\/pre>\n\n<p>Run with <code>--batch=100<\/code> to process in batches (recommended for large sites):<\/p>\n\n<pre><code>wp refaxination scan files --batch=100\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>refaxination<\/code> folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress<\/li>\n<li>Use the <strong>Tools \u2192 Refaxination<\/strong> menu to view the dashboard<\/li>\n<li>Run scans via WP-CLI (see below)<\/li>\n<\/ol>\n\n<p><strong>Requirements:<\/strong><\/p>\n\n<ul>\n<li>PHP 8.1 or higher<\/li>\n<li>WordPress 6.0 or higher<\/li>\n<li>WP-CLI (for scan operations)<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20delete%20files%20automatically%3F\"><h3>Does this plugin delete files automatically?<\/h3><\/dt>\n<dd><p>No. Refaxination only reads and reports. File moves\/quarantines are initiated manually through the admin dashboard or CLI.<\/p><\/dd>\n<dt id=\"is%20it%20safe%20to%20run%20on%20a%20live%20site%3F\"><h3>Is it safe to run on a live site?<\/h3><\/dt>\n<dd><p>Yes. Scans are read-only. No changes are made to files or the database during a scan.<\/p><\/dd>\n<dt id=\"what%20happens%20to%20moved%20files%3F\"><h3>What happens to moved files?<\/h3><\/dt>\n<dd><p>All file moves are logged in the <code>wp_refaxination_moves<\/code> table, which is preserved even after uninstall (unless you explicitly opt out).<\/p><\/dd>\n<dt id=\"can%20i%20reverse%20a%20quarantine%20operation%3F\"><h3>Can I reverse a quarantine operation?<\/h3><\/dt>\n<dd><p>The audit log in the database records the original path of every moved file, so files can be manually restored.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Filesystem and database scanning<\/li>\n<li>Admin dashboard with tabs for Dashboard, Files, and Operations<\/li>\n<li>WP-CLI integration for scan and report commands<\/li>\n<li>Support for ACF, Yoast SEO, and The SEO Framework<\/li>\n<li>Quarantine manager with full audit log<\/li>\n<\/ul>","raw_excerpt":"Audits and manages orphaned files in the Uploads folder. All operations via WP-CLI.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/322722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=322722"}],"author":[{"embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/butialabs"}],"wp:attachment":[{"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=322722"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=322722"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=322722"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=322722"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=322722"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=322722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}