WP Notepad 2.9.0 released (import limits, sync filter)

WP Notepad Version 2.9.0 Version

Release date: November 6, 2026

WP Notepad 2.9.0 is out. This security and hardening release stops “Import” from reading files that are too large or are not text. It also adds a filter that lets a site limit who can use cross-device sync. The default behavior does not change, and existing notes carry over as they are.

Security

  • Import size limit: files larger than 2 MB are refused before they are read. No confirmation is shown, the note is left unchanged, and the status area says “Not imported: the file is larger than 2 MB.” A huge file could freeze the page and would not fit in browser storage.
  • Developers can change the limit with the wpnotepad_import_max_bytes filter (in bytes; 0 = no limit).

Changes

  • Importing a binary file (an image, a PDF, a word-processor document…) no longer replaces the note with unreadable characters. The note is left unchanged and the status area says “Not imported: this file does not look like a text file.”
  • This check runs after the file is read, so for a note that already has text it happens after the confirmation.

New (for developers)

  • wpnotepad_user_can_sync filter: limits cross-device sync to some users (for example, only certain roles on a site with open registration). It receives a boolean and the user ID; the default is true (every logged-in user).
  • Excluded users keep their notes in the browser only, and the sync REST routes answer 403 for them.

Upgrade notes

  • Existing notes (in the browser and synced) carry over. There are no changes to the storage format or settings.
  • Unless you use the filter, who can sync (every logged-in user) stays the same.
  • Notes already synced to the server for a user you exclude are not deleted (personal data erasure or the bulk delete on the settings screen removes them). In that user’s browser, notes saved through sync are hidden as they are for guests, and show up again once the user can sync again.

Download WP Notepad 2.9.0 (zip)

Copied title and URL