WPMathPub

Changelog

3.0.5

  • New: Math-Pub Rosetta — bundled standalone math expression tester (demo/rosetta.php). Visit your local copy via the new “Open Rosetta” link on the Plugins page, or use the full version at math-pub.org. Same syntax engine as the plugin; works portably outside WordPress.
  • New: text{}, mathrm{}, mbox{} for upright free-form text — uses bundled Latin Modern Roman font. Useful for “x_{text{init}} + 5” style annotations and equation labels. mathit{} for italic free-form text continues to work as before. Previously all four were aliased to italic, which was wrong for text{}.
  • New: pmb{…} pseudo-bold renderer for any single symbol (image-overprint technique). Renders bolder weight than standard. Example: vec{nabla} cdot E = frac{rho}{varepsilon_0} with pmb{rho} bolds the rho.
  • New: dot-family symbols — cdot (centered dot), bullet (filled bullet), times (cross multiplication), because (∵), therefore (∴).
  • Improved: cleaner glyph rendering at small font sizes (12–15) for trig functions, math operators, and Greek capitals. Uses bundled Latin Modern Roman in place of cmr10. Resolves the blob-like appearance where letters merged together (e.g., “tan” rendering with t looking bolder than an).
  • Improved: integral symbol height and vertical alignment — smaller, raised slightly to reduce gap above the integrand.
  • Improved: post-update admin notice with one-click “Refresh image cache” button. Cached PNGs regenerate on first page view; URLs stay stable so existing posts and RSS feeds keep working. Per-user, per-version dismissal.
  • Fixed: white-screen-of-death protection. If mathpub_latex.php or mathpublisher.php goes missing (during update, FTP transfer, or security quarantine), the plugin now shows a clear admin notice and keeps the rest of WordPress running. Previously WordPress would fatal with E_ERROR.
  • Fixed: matrix-with-delimiter wrappers were silently dropped. left[ begin{matrix}…end{matrix} right] now correctly renders matrix with bracket wrapper. Same fix applies to determinant form (left| … right|) and piecewise form (left{ … ).
  • Fixed: half-open interval form left[xright[ was leaving literal “xright[” in output. Now correctly produces delim{[}{x}{[}.
  • Fixed: lim_{x to a} f(x) was producing wrong pmath shape with body dropped. Now produces the correct lim{x right a}{f(x)}. rightarrow recognized as synonym for to.
  • Fixed: iiint, iint, int, oint with leading position were greedily swallowing trailing operators into their body. “iint_{a}^{b}x prod_{a}^{b}x” now tokenizes as two separate operators rather than one giant double-integral.
  • Fixed: descender clipping in upright text — bottom row of g, j, p, q, y and lowercase Greek β γ η μ ρ φ ψ χ ξ ζ was clipped by an off-by-one in canvas height. Fix is universal — also resolves a Greek descender clipping that had existed for years but was hidden because trig/operator names have no descenders.
  • Fixed: thin space , was rendering as a regular space. Now correctly maps to ~ (pmath thin space). Also fixed ; : ! variants.
  • Fixed: function keywords sin cos ln log exp det ker dim max min were passing through with leading backslash. Engine still rendered them, but cache fingerprints differed from bare-keyword pmath, causing duplicate cached images. Now mapped explicitly.
  • Fixed: warning messages for empty or malformed pmath tags.
  • Internal: extracted inline LaTeX translator into reusable mathpub_latex.php module (zero behavior change for existing shortcodes). Engine bumped to v1.4.1.

3.0.4

  • Added hbar symbol (reduced Planck constant ℏ, Unicode U+210F)
  • Fixed LaTeX frac rendering for multi-token numerators and denominators
  • Fixed image rendering failure at certain font sizes caused by decimal value in cached filename
  • Fixed small vertical alignment error between inline text and math images
  • Removed version salt for stable RSS feed and URL links
  • Changed Gutenberg block default math syntax mode from pmath native to LaTeX
  • Security: added direct file access protection (ABSPATH check) to wpmathpub.php, mathpublisher.php, and fonts/index.php
  • Security: replaced unlink() with wp_delete_file() in wpmathpub.php and uninstall.php
  • Security: replaced rmdir() with WP_Filesystem in uninstall.php
  • Security: escaped admin page output with wp_kses_post()
  • Fixed readme.txt Requires at least version 5.0 mismatch

3.0.3

  • Improved error handling
  • Improved rendering of PNG images

3.0.2

  • Added color= shortcode attribute with hex and named color support
  • Added LaTeX input mode via latex=1 shortcode attribute with full PHPMathPublisher syntax coverage
  • Added Gutenberg WPMathPub math block with PMath/LaTeX mode switching and real-time preview
  • Added admin panel default equation color setting with WordPress color picker
  • Added admin panel default equation size setting
  • Added uninstall.php to remove plugin database options on delete
  • Fixed Greek Omega symbol rendering (three stacked bugs resolved)
  • Fixed matrix and tabular LaTeX conversion
  • Fixed tabular border string parsing to respect LaTeX | and hline markers
  • Improved PNG image cache handling and cache key discipline
  • Improved rendering stability across PHP 7.2 through 8.3

Plugin Website
Visit website

Version:
3.0.5
Last Updated
May 9, 2026
Active Installs
300
Requires
WordPress 5.0
Tested Up To
WordPress 6.9.4
Requires PHP
7.2

Share Post

Join our newsletter.

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