Plugin Directory

Changeset 3443030


Ignore:
Timestamp:
01/20/2026 08:05:56 AM (2 months ago)
Author:
Kuckovic
Message:

Version 2.2.0 - Update README.md

Location:
cleanup-wp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cleanup-wp/trunk/README.md

    r3443019 r3443030  
    1 # CleanUp WP
     1=== CleanUp WP ===
     2Contributors: akuckovic
     3Tags: cleanup, optimization, security, performance, fresh install
     4Requires at least: 6.0
     5Tested up to: 6.7
     6Requires PHP: 7.4
     7Stable tag: 2.2.0
     8License: GPLv2 or later
     9License URI: https://www.gnu.org/licenses/gpl-2.0.html
    210
    311Clean up your fresh WordPress installation with one click. Remove demo content, set sensible defaults, and toggle performance optimizations.
    412
    5 ## Features
     13== Description ==
    614
    7 ### 🧹 Cleanup Tab (One-time tasks)
     15CleanUp WP helps you quickly set up a fresh WordPress installation by removing default content, configuring sensible defaults, and enabling performance optimizations.
    816
    9 These tasks run once and cannot be undone:
     17**Cleanup Tab (One-time tasks)**
    1018
    11 **Content**
    12 - Delete "Hello World" post
    13 - Delete "Sample Page"
    14 - Delete "Privacy Policy" page
    15 - Delete default comment
     19These tasks run once and get marked as done:
    1620
    17 **Plugins & Themes**
    18 - Delete Hello Dolly & Akismet
    19 - Delete unused themes (keeps active + parent)
     21* Delete "Hello World" post
     22* Delete "Sample Page"
     23* Delete "Privacy Policy" page
     24* Delete default comment
     25* Delete Hello Dolly & Akismet plugins
     26* Delete unused themes (keeps active + parent)
     27* Clear widget areas
     28* Create main navigation menu
     29* Set pretty permalinks (/%postname%/)
     30* Disable comments by default
     31* Rename "Uncategorized" to "News"
     32* Disable user registration
     33* Organize uploads by year/month
     34* Set default image link to "None"
     35* Discourage search engine indexing
     36* Set timezone
     37* Create static homepage
    2038
    21 **Setup**
    22 - Clear widget areas
    23 - Create main navigation menu
    24 - Set pretty permalinks (/%postname%/)
    25 - Disable comments by default
    26 - Rename "Uncategorized" to "News"
    27 - Disable user registration
    28 - Organize uploads by year/month
    29 - Set default image link to "None"
    30 - Discourage search engine indexing
    31 - Set timezone
    32 - Create static homepage
    33 
    34 ### ⚡ Optimize Tab (Toggleable)
     39**Optimize Tab (Toggleable)**
    3540
    3641These can be turned ON or OFF at any time:
    3742
    38 **Performance**
    39 - Disable WordPress emojis (~20KB savings)
    40 - Disable oEmbed
    41 - Remove jQuery Migrate
    42 - Disable Dashicons on frontend
    43 - Clean up wp_head
    44 - Disable self-pingbacks
    45 - Reduce Heartbeat frequency
     43* Disable WordPress emojis (~20KB savings)
     44* Disable oEmbed
     45* Remove jQuery Migrate
     46* Disable Dashicons on frontend
     47* Clean up wp_head
     48* Disable self-pingbacks
     49* Reduce Heartbeat frequency
     50* Disable XML-RPC
     51* Hide WordPress version
     52* Disable file editing
     53* Disable user enumeration
     54* Clean dashboard (keep only Site Health and At a Glance)
    4655
    47 **Security**
    48 - Disable XML-RPC
    49 - Hide WordPress version
    50 - Disable file editing
    51 - Disable user enumeration
    52 - Clean dashboard
     56== Installation ==
    5357
    54 ## How It Works
     581. Upload the plugin files to `/wp-content/plugins/cleanup-wp/` or install via the WordPress plugins screen.
     592. Activate the plugin through the 'Plugins' screen in WordPress.
     603. Navigate to Tools → CleanUp WP.
     614. Select cleanup tasks, preview, and execute.
     625. Toggle optimizations on/off as needed.
    5563
    56 1. **Install & Activate**: Upload via Plugins → Add New → Upload
    57 2. **Navigate**: Go to Tools → CleanUp WP
    58 3. **Cleanup Tab**: Select tasks, preview, execute
    59 4. **Optimize Tab**: Toggle optimizations on/off as needed
    60 5. **Done**: Optimizations stay active while plugin is installed
     64== Frequently Asked Questions ==
    6165
    62 ## File Structure
     66= Can I undo the cleanup tasks? =
    6367
    64 ```
    65 cleanup-wp/
    66 ├── cleanup-wp.php          # Bootstrap
    67 ├── includes/
    68 │   ├── class-plugin.php    # Core controller
    69 │   ├── class-cleanup.php   # One-time tasks
    70 │   └── class-optimize.php  # Toggleable optimizations
    71 ├── assets/
    72 │   ├── css/admin.css
    73 │   └── js/admin.js
    74 ├── uninstall.php
    75 └── README.md
    76 ```
     68No, cleanup tasks like deleting posts, pages, and plugins cannot be undone. Use the Preview button to see what will happen before executing.
    7769
    78 ## Requirements
     70= Can I turn off optimizations? =
    7971
    80 - WordPress 6.0+
    81 - PHP 7.4+
     72Yes! The Optimize tab uses toggle switches. If something breaks, just flip it back off.
    8273
    83 ## License
     74= What happens when I delete the plugin? =
    8475
    85 GPLv2 or later
     76All plugin options are removed from the database. Optimizations will no longer be active.
    8677
    87 ## Author
     78== Screenshots ==
    8879
    89 Aris Kuckovic - [BranchOut](https://branchout.dk/)
     801. Cleanup tab with one-time tasks
     812. Optimize tab with toggleable options
    9082
    91 ## Changelog
     83== Changelog ==
    9284
    93 ### 2.2.0
     85= 2.2.0 =
    9486* Complete rewrite with OOP architecture
    9587* Split into multiple files (class-plugin, class-cleanup, class-optimize)
     
    9890* One-time tasks now properly disabled after execution
    9991
    100 ### 2.1.0
    101 * Added tabbed interface
     92= 2.1.0 =
     93* Added tabbed interface (Cleanup, Optimize, Security, Settings)
    10294* Added dashboard cleanup option
    10395* Added Privacy Policy page deletion (ID: 3)
    10496* Added persistent optimizations
    10597
    106 ### 2.0.0
     98= 2.0.0 =
    10799* Complete modernization from procedural to OOP
    108100* Added admin interface with preview/execute workflow
     
    111103* Tasks only run on explicit user action
    112104
    113 ### 1.3
     105= 1.3 =
    114106* Removes "Akismet Plugin" from Plugin directory
    115107
    116 ### 1.2.2
     108= 1.2.2 =
    117109* Now the plugin is checking whether you're using a child-theme or not. If so, the plugin will not delete any themes.
    118110
    119 ### 1.2.1
     111= 1.2.1 =
    120112* Updated ReadMe.txt
    121113
    122 ### 1.2
     114= 1.2 =
    123115* Disables user registration by default
    124116* Renames "Uncategorized" category to "News"
    125117* Disables commenting by default
    126118
    127 ### 1.1
     119= 1.1 =
    128120* Corrected the name of the plugin
    129121
    130 ### 1.0
     122= 1.0 =
    131123* Initial version of the plugin
     124
     125== Upgrade Notice ==
     126
     127= 2.2.0 =
     128Major update with new toggleable optimizations. If upgrading from 1.x, your previous settings will be reset.
  • cleanup-wp/trunk/cleanup-wp.php

    r3443019 r3443030  
    22/**
    33 * Plugin Name: CleanUp WP
    4  * Plugin URI: https://branchout.dk/
     4 * Plugin URI: https://branchout.dk/cleanup-wp
    55 * Description: Clean up your fresh WordPress installation with one click. Remove demo content, set sensible defaults, and toggle performance optimizations.
    66 * Author: Aris Kuckovic
Note: See TracChangeset for help on using the changeset viewer.