CT Optimization

Changelog

1.6.1

  • [Fix] WP 6.7+ deprecation: translation domain loaded too early — moved load_plugin_textdomain() from plugins_loaded hook to direct call in constructor
  • [Fix] Tested on PHP 8.1, 8.2, 8.3 across educap.com.vn, luatthienthanh.vn, banhbaominh — no errors
  • [Dev] Verified compatibility with WordPress 6.8

1.6.0

  • [Cleanup] Removed dead admin/partials/display.php file (not used anywhere)
  • [Cleanup] Removed empty boilerplate admin/js/codetot-optimization-admin.js and admin/css/codetot-optimization-admin.css
  • [Security] Added esc_html() to $GLOBALS[‘title’] output in admin options page
  • [Security] Code style consistency for $_GET/$_POST access in Gravity Forms class

1.5.0

  • [New] Remove query strings (?ver=) from static assets for improved cache hit rate
  • [New] Disable self pingbacks to reduce server load
  • [New] Disable REST API for non-authenticated users (returns 401)
  • [New] Remove default dashboard widgets (Quick Draft, WP News, etc.)
  • [New] Disable attachment pages (301 redirect to parent post or home)
  • [New] Remove jQuery Migrate script from front-end
  • [New] Disable native WordPress XML sitemaps (WP 5.5+)
  • [New] Remove dashicons styles on front-end when not used by theme

1.4.0

  • [Fix] use_block_editor_for_post filter was incorrectly registered as add_action → now uses proper add_filter
  • [Fix] Plugin deactivation never cleaned up options — delete_option() was wrapped in add_action(‘init’, …) that never runs during deactivation
  • [Fix] update_option() calls for default comment/ping statuses moved from per-request admin to activation hook (runs once)
  • [Fix] uninstall.php now cleans up plugin options from database
  • [Perf] Centralized option loading — Codetot_Optimization::get_options() with static cache; 1 DB call per request instead of 3

1.3.0

  • Official PHP 8.0-8.4 support, bumped Requires PHP to 8.0
  • Fix undefined variable warning in admin options page under PHP 8.0
  • Bump Requires at least to WordPress 6.0
  • Integrate standard WordPress.org SVN deploy workflow
  • Move WP.org assets to .wordpress-org/ directory

1.2.0

  • PHP 8.2-8.4 compatibility: fix missing property declaration in Gravity Forms class
  • Fix manifest option key mismatch (disable_manifest → disable_wlw_manifest)
  • Bump minimum PHP requirement to 7.4
  • Tested up to WordPress 6.8

1.1.1

  • Fix PHP 8.1+ deprecation warnings for null/false passed to strip_tags() and strtotime()
  • Fix parse_url() return value not checked in get_domain_from_url()
  • Fix widget existence check in check_comment_style() for PHP 8.x

1.1.0

  • Fix compatible with PHP 8

1.0.16

  • Add option to remove duotone and extra CSS style in WP 5.9

1.0.15

  • Fix save key for Gravity Forms settings
  • Remove Compress HTML feature

1.0.14

  • Fix load Gravity form assets if disable option.

1.0.13

  • Disable more Gravity form assets.
  • Remove HTML Compress feature.

1.0.12

  • Add option to disable Gutenberg widget admin UI.

1.0.11

  • Disable more Gutenberg feature.

1.0.10

  • Fix warning PHP when calling function inline

1.0.9

  • Add option to enable/disable lazysizes script.

1.0.8

  • Update plugin translation.

1.0.7

  • Add Gravity Form tweak settings, including disable default styles, hide some menus and load Gravity forms script in footer.

1.0.6

  • Update config key to match process.

1.0.5

  • Fix iconv convert character.
  • Update Vietnamese translation.

1.0.4

  • Fix enable cdn domain option key.

1.0.3

  • Fix option keys to match
  • Remove option in database if deactivate plugin.
  • Add comment for html compress to easy debug.
  • Translate update for Vietnamese
  • Add more FAQ
  • Add notice in case PHP version is lower 7.0

1.0.2

  • Fix HTML compress class name.

1.0.1

  • Add HTML compress feature.

1.0.0

  • First release

Plugin Website
Visit website

Author
Code Tốt
Version:
1.6.1
Last Updated
June 28, 2026
Active Installs
20
Requires
WordPress 6.0
Tested Up To
WordPress 6.8.5
Requires PHP
8.0

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.