Black Friday: 30% OFF on all plans, applied automatically at checkout View plans
Log in Cart

MainWP Code Snippets Extension Changelog

Every recorded version, newest first, with what changed in each one.

Latest 5.1.115 versions

Undated · 15 versions

  1. 5.1.1

    Latest
    1 fix
    Fixed
    • Corrected the Code Snippets table installer to always define the auto-increment ID as a primary key.
  2. 5.1

    5 new13 improvements2 fixes2 security
    New
    • Code folding UI and fold keymap support.
    • Autocompletion and automatic bracket closing in the code editor.
    • Natural Tab indentation support in the code editor.
    • PHP pre-save syntax validation to help catch common syntax errors before saving snippets.
    • Added a new clients column to the Code Snippets database table to support client-based snippet organization.
    Improved
    • Reworked the snippet editor layout with a cleaner, more modern interface.
    • Moved snippet settings above the code editor for easier access while editing snippets.
    • Compacted snippet action buttons to reduce visual clutter in the editor area.
    • Replaced the snippet type radio buttons with a pill-style selector for a clearer editing experience.
    • Improved the saved snippets table by combining snippet titles and descriptions into a single, more readable column.
    • Replaced plain text snippet type indicators with colored labels for better visibility in the saved snippets table.
    • Refined multiple text strings for clearer and more consistent wording.
    • Improved snippet options handling, selection normalization, and snippet type validation for better reliability.
    • Improved snippet run UI rendering for a cleaner and more consistent user experience.
    • Replaced the legacy CodeMirror 5 editor with a new CodeMirror 6 bundle.
    • Improved internal utility handling with a safer rand_string method and a more user-friendly time_elapsed_string helper.
    • Refactored core database methods, including install, update_codesnippet, get_codesnippet_by, and remove_codesnippet, for safer and more consistent data handling.
    • Refactored the extension structure with clearer return semantics, improved docblocks, singleton patterns, and updated build files for better maintainability.
    Fixed
    • Corrected formatting of default snippet code.
    • Ensured default snippet descriptions and data are properly migrated during upgrades.
    Security
    • Improved code snippet database handling with prepared queries, sanitized values, and stricter user scoping.
    • Strengthened AJAX input and output handling to improve protection against malformed or unsafe requests.
  3. 5.0.4

    1 new1 improvement1 fix
    New
    • Localization support.
    Improved
    • Removed excessive navigation menu on the extension page.
    Fixed
    • An issue with saving the snippets table state.
  4. 5.0.3

    1 fix
    Fixed
    • An issue with sorting snippets table by the last modified date
  5. 5.0.2

    1 fix
    Fixed
    • An issue with saving new snippets duplicates
  6. 5.0.1

    2 improvements
    Improved
    • Compatibility with the latest DataTables library version
    • CodeMirror library to the latest version
  7. 5.0

    1 improvement
    Improved
    • MainWP 5.0 compatibility
  8. 4.0.3

    1 change
    Changes
    • Preventative: Multiple security improvements
  9. 4.0.2

    2 new2 improvements
    New
    • Accordion functionality to the sidebar sections
    • Responsive mode to the snippets table
    Improved
    • CodeMirror library
    • Sidebar layout on the execute snippet page
  10. 4.0.1

    1 improvement
    Improved
    • MainWP Dashboard 4.1 compatibility
  11. 4.0

    2 improvements
    Improved
    • extension UI/UX redesign
    • support for the MainWP 4.0
  12. 1.2

    1 fix
    Fixed
    • incorrect form field label
  13. 1.1

    1 new4 improvements3 fixes2 removed
    New
    • extension help tab
    Improved
    • extension general style
    • notification messages
    • CodeMirror library
    • responsive CSS styles
    Fixed
    • multiple translation issues
    • multiple codding standard issues
    • multiple grammar issues
    Removed
    • unused code
    • unused files
  14. 1.0

    2 new2 improvements
    New
    • support for WP-CLI
    • support for the new API management
    Improved
    • refactored code to meet WordPress coding standards
    • "Check for updates now" link is not visible if extension is not activated
  15. 0.0.6

    1 improvement
    Improved
    • Quick start guide layout

Changelog published by the developer, in their original language.