{"id":53749,"date":"2017-01-20T06:58:40","date_gmt":"2017-01-20T06:58:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cleanup-wp\/"},"modified":"2026-01-20T08:59:40","modified_gmt":"2026-01-20T08:59:40","slug":"cleanup-wp","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/cleanup-wp\/","author":6345640,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.2.1","stable_tag":"2.2.1","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"CleanUp WP","header_author":"Aris Kuckovic","header_description":"","assets_banners_color":"","last_updated":"2026-01-20 08:59:40","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/branchout.dk\/cleanup-wp","header_author_uri":"https:\/\/branchout.dk\/","rating":4.8,"author_block_rating":0,"active_installs":0,"downloads":1605,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.2.0":{"tag":"2.2.0","author":"Kuckovic","date":"2026-01-20 08:17:03"},"2.2.1":{"tag":"2.2.1","author":"Kuckovic","date":"2026-01-20 08:59:40"}},"upgrade_notice":{"2.2.1":"<p>Bug fixes and WordPress Plugin Check compatibility improvements.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":1,"5":3},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.2.0","2.2.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Cleanup tab with one-time tasks","2":"Optimize tab with toggleable options"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3786,246640,187,247,600],"plugin_category":[52,54],"plugin_contributors":[130901],"plugin_business_model":[],"class_list":["post-53749","plugin","type-plugin","status-publish","hentry","plugin_tags-cleanup","plugin_tags-fresh-install","plugin_tags-optimization","plugin_tags-performance","plugin_tags-security","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_contributors-kuckovic","plugin_committers-kuckovic"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cleanup-wp.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>CleanUp WP helps you quickly set up a fresh WordPress installation by removing default content, configuring sensible defaults, and enabling performance optimizations.<\/p>\n\n<p><strong>Why use CleanUp WP?<\/strong><\/p>\n\n<p>Every new WordPress installation comes with demo content you don't need: \"Hello World\" post, sample pages, default comments, and bundled plugins like Hello Dolly and Akismet. Manually cleaning this up takes time.<\/p>\n\n<p>CleanUp WP handles all of this with a single click, plus offers toggleable performance and security optimizations that you can enable or disable at any time.<\/p>\n\n<p><strong>Cleanup Tab (One-time tasks)<\/strong><\/p>\n\n<p>These tasks run once and get marked as done:<\/p>\n\n<ul>\n<li>Delete \"Hello World\" post<\/li>\n<li>Delete \"Sample Page\"<\/li>\n<li>Delete \"Privacy Policy\" page<\/li>\n<li>Delete default comment<\/li>\n<li>Delete Hello Dolly &amp; Akismet plugins<\/li>\n<li>Delete unused themes (keeps active + parent)<\/li>\n<li>Clear widget areas<\/li>\n<li>Create main navigation menu<\/li>\n<li>Set pretty permalinks (\/%postname%\/)<\/li>\n<li>Disable comments by default<\/li>\n<li>Rename \"Uncategorized\" to \"News\"<\/li>\n<li>Disable user registration<\/li>\n<li>Organize uploads by year\/month<\/li>\n<li>Set default image link to \"None\"<\/li>\n<li>Discourage search engine indexing<\/li>\n<li>Set timezone<\/li>\n<li>Create static homepage<\/li>\n<\/ul>\n\n<p><strong>Optimize Tab (Toggleable)<\/strong><\/p>\n\n<p>These can be turned ON or OFF at any time:<\/p>\n\n<ul>\n<li>Disable WordPress emojis (~20KB savings)<\/li>\n<li>Disable oEmbed<\/li>\n<li>Remove jQuery Migrate<\/li>\n<li>Disable Dashicons on frontend<\/li>\n<li>Clean up wp_head<\/li>\n<li>Disable self-pingbacks<\/li>\n<li>Reduce Heartbeat frequency<\/li>\n<li>Disable XML-RPC<\/li>\n<li>Hide WordPress version<\/li>\n<li>Disable file editing<\/li>\n<li>Disable user enumeration<\/li>\n<li>Clean dashboard (keep only Site Health and At a Glance)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/cleanup-wp\/<\/code> or install via the WordPress plugins screen.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Navigate to Tools \u2192 CleanUp WP.<\/li>\n<li>Select cleanup tasks, preview, and execute.<\/li>\n<li>Toggle optimizations on\/off as needed.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20undo%20the%20cleanup%20tasks%3F\"><h3>Can I undo the cleanup tasks?<\/h3><\/dt>\n<dd><p>No, cleanup tasks like deleting posts, pages, and plugins cannot be undone. Use the Preview button to see what will happen before executing.<\/p><\/dd>\n<dt id=\"can%20i%20turn%20off%20optimizations%3F\"><h3>Can I turn off optimizations?<\/h3><\/dt>\n<dd><p>Yes! The Optimize tab uses toggle switches. If something breaks, just flip it back off.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20delete%20the%20plugin%3F\"><h3>What happens when I delete the plugin?<\/h3><\/dt>\n<dd><p>All plugin options are removed from the database. Optimizations will no longer be active.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Fixed WordPress Plugin Check errors<\/li>\n<li>Removed Domain Path header (translations handled by WordPress.org)<\/li>\n<li>Added translator comments for internationalization<\/li>\n<li>Improved security checks and input sanitization<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Complete rewrite with OOP architecture<\/li>\n<li>Split into multiple files (class-plugin, class-cleanup, class-optimize)<\/li>\n<li>Added toggleable optimizations (can be turned on\/off)<\/li>\n<li>Added Optimize tab with performance and security options<\/li>\n<li>One-time tasks now properly disabled after execution<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Added tabbed interface (Cleanup, Optimize, Security, Settings)<\/li>\n<li>Added dashboard cleanup option<\/li>\n<li>Added Privacy Policy page deletion (ID: 3)<\/li>\n<li>Added persistent optimizations<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Complete modernization from procedural to OOP<\/li>\n<li>Added admin interface with preview\/execute workflow<\/li>\n<li>Added AJAX functionality<\/li>\n<li>Added security improvements (nonce, capability checks)<\/li>\n<li>Tasks only run on explicit user action<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Removes \"Akismet Plugin\" from Plugin directory<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Now the plugin is checking whether you're using a child-theme or not. If so, the plugin will not delete any themes.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Updated ReadMe.txt<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Disables user registration by default<\/li>\n<li>Renames \"Uncategorized\" category to \"News\"<\/li>\n<li>Disables commenting by default<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Corrected the name of the plugin<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial version of the plugin<\/li>\n<\/ul>","raw_excerpt":"Clean up your fresh WordPress installation with one click. Remove demo content, set sensible defaults, and toggle performance optimizations.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/53749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=53749"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kuckovic"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=53749"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=53749"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=53749"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=53749"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=53749"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=53749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}