Download Latest Version v2.13.5 source code.zip (922.4 kB) Google Add to Preferred Sources
Home / v2.13.1
Name Modified Size InfoDownloads / Week
Parent folder
cmb2-2.13.1.zip 2026-09-24 894.6 kB
README.md 2026-09-24 1.2 kB
v2.13.1 source code.tar.gz 2026-09-24 438.0 kB
v2.13.1 source code.zip 2026-09-24 910.4 kB
Totals: 4 Items   2.2 MB 0

Enhancements

  • Tested up to WordPress 7.1.

Bug Fixes

  • Sanitized and escaped file_list field values, which were previously stored and rendered verbatim. Array keys must now be positive-integer attachment IDs, and URLs are sanitized with the field's protocols on save and on render. Entries with a malformed key (including 0 and positional-list keys) or a URL that sanitizes to empty are dropped the next time the field is saved. Props Ivaylo (via Wordfence).
  • Fixed a PHP 8 TypeError when displaying a file_list field containing a non-scalar value.
  • Gave the options-page setting CMB2 registers a sanitize_callback, which wp.org's Plugin Check requires of every register_setting() call. It is a passthrough by design: values are already sanitized per field type before the option is saved. Props @rubengc (#1533).
  • Removed the en@pirate translation files, whose @ in the filename fails wp.org's plugin submission checks for any plugin bundling CMB2. Props @rubengc (#1533).
Source: README.md, updated 2026-09-24