Plugin Directory

Changeset 3495716


Ignore:
Timestamp:
03/31/2026 02:44:24 PM (4 days ago)
Author:
gfazioli
Message:

#### New Features

  • WordPress Settings: new Security options — disable file editor, author archives, Application Passwords
  • WordPress Settings: new Admin Menu options — toggle Media, Pages, Comments, Tools visibility
  • WordPress Settings: new Admin Notices options — disable update nags, admin email verification
  • WordPress Settings: new Writing options — disable self-pings, auto-empty trash with configurable days
  • WordPress Settings: new Reading options — disable emoji scripts, embed scripts, jQuery Migrate, RSS feeds
  • WordPress Settings: new Performance tab — Heartbeat control, Dashicons removal on frontend
  • WordPress Settings: new Media tab — disable big image scaling, custom JPEG quality
  • Cron: delete individual cron jobs with confirmation modal
  • Cron: bulk delete selected cron jobs
  • Cron: search/filter by hook name
  • Cron: sortable columns (hook name, next run, schedule)
  • Cron: row expansion showing signature, interval, and arguments
  • Cron: right-click context menu with Run and Delete actions
  • Cron: colored schedule badges (hourly, daily, weekly, one-time)
  • Cron: time-relative status indicators (overdue, soon, upcoming)
  • Overview: new Database Size quick card with link to Database section
  • Overview: new Scheduled Cron Jobs quick card with link to Cron section
  • Overview: clickable cards navigate to their corresponding section (Posts→Trash, Comments→Trash, Options→Trash)
  • Overview: refresh button to reload all overview data
  • Trash: bulk delete for unapproved, spam, and trashed comments
  • Trash: orphan term relationships listing, single and bulk delete
  • Duplicates: single and bulk delete for duplicate user meta
  • Duplicates: single and bulk delete for duplicate comment meta

#### Security

  • Fixed SQL injection in database optimize and auto-increment reset (table name whitelist)
  • Added schema validation and recursive sanitization for preferences update
  • Added esc_html() to all meta/option/comment values in JSON responses
  • Fixed Disk overview showing NaN for timed-out directory calculations
  • Fixed Disk overview crash when WordPress size data contains error strings
  • Fixed division by zero in Options overview when option count is zero
  • Fixed OverviewCard pulsing indicator on arbitrary >50% values
  • Fixed admin bar removal running too early (before scripts are registered)
  • Fixed XML-RPC error handler using PHP Error class instead of WP_Error
  • Fixed Reset to default not actually resetting options to defaults
  • Fixed each WordPress Settings tab creating a separate OptionsProvider (4 redundant fetches)
  • Fixed hardcoded wp_posts table prefix in SQL subqueries
  • Added $wpdb->prepare() to all orphan detection queries
  • Sanitized cron hook_name and signature inputs
  • Fixed transient query missing prepared statement

#### Improvements

  • Migrated from npm to Yarn
  • Updated @wordpress/scripts from 27.9.0 to 31.7.0
  • Updated Mantine from 7.14.0 to 8.3.18
  • Updated all dependencies to latest compatible versions
  • Migrated to React 18 createRoot API (replaced deprecated wp.element.render)
  • Modernized tsconfig.json (es2020, react-jsx, bundler)
  • Removed all unnecessary import * as React statements (30 files)
  • Removed deprecated MantineProvider withStaticClasses prop
  • Fixed Mantine 8 Image component width/height rendering in header logo
  • Fixed SWR mutate() not revalidating after bulk operations across all views
  • Fixed broken Refresh button in empty Trash/Duplicates view
  • Performance: replaced N+1 user queries with single count_users() call
  • Performance: removed repeated COUNT(*) subqueries in post/comment stats
  • Performance: added LIMIT 1000 to orphan detection queries
  • Fixed Terms crash when excluded term IDs array is empty
  • Removed esc_sql() mixing with prepare() in term relationships
  • Fixed translated strings interpolated in SQL (comments)
  • Fixed duplicate term meta deletion keeping wrong entry (array_pop after delete)
  • Cleaned up dead code: removed unused returnColumnsJson() from Cron and Shortcode providers
  • Cleaned up unused imports and variables in Shortcode component
  • Added error handling to Options/Preferences provider
  • Improved post.ts error throwing with structured status/statusText
Location:
scotty
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • scotty/assets/blueprints/blueprint.json

    r3158812 r3495716  
    11{
    2   "landingPage": "\/wp-admin\/plugins.php",
     2  "landingPage": "\/wp-admin\/admin.php?page=scotty_slug_menu",
    33  "preferredVersions": {
    4     "php": "7.4",
     4    "php": "8.2",
    55    "wp": "latest"
    66  },
     
    1515      "step": "installPlugin",
    1616      "pluginZipFile": {
    17         "resource": "url",
    18         "url": "https:\/\/downloads.wordpress.org\/plugin\/scotty.1.0.0.zip"
     17        "resource": "wordpress.org\/plugins",
     18        "slug": "scotty"
    1919      },
    2020      "options": {
  • scotty/tags/2.0.0/readme.txt

    r3495690 r3495716  
    44Tags: cleanup, optimization, database, security, maintenance
    55Requires at least: 6.2
    6 Tested up to: 6.7
     6Tested up to: 6.9
    77Stable tag: 2.0.0
    8 Requires PHP: 7.4
     8Requires PHP: 8.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • scotty/tags/2.0.0/scotty.php

    r3495677 r3495716  
    77 * Version: 2.0.0
    88 * Requires at least: 6.2
    9  * Requires PHP: 7.4
     9 * Requires PHP: 8.1
    1010 * Author: Giovambattista Fazioli
    1111 * Author URI: http://undolog.com
  • scotty/trunk/readme.txt

    r3495690 r3495716  
    44Tags: cleanup, optimization, database, security, maintenance
    55Requires at least: 6.2
    6 Tested up to: 6.7
     6Tested up to: 6.9
    77Stable tag: 2.0.0
    8 Requires PHP: 7.4
     8Requires PHP: 8.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • scotty/trunk/scotty.php

    r3495682 r3495716  
    77 * Version: 2.0.0
    88 * Requires at least: 6.2
    9  * Requires PHP: 7.4
     9 * Requires PHP: 8.1
    1010 * Author: Giovambattista Fazioli
    1111 * Author URI: http://undolog.com
Note: See TracChangeset for help on using the changeset viewer.