`[document_preview]` crashes with no attributes and ignores a bare `show_title` flag
#818 · PHP · ★ 178 · GPL-3.0 · updated 21h ago
Two related bugs in the [document_preview] shortcode, both in wpdr_document_preview_display(). They change the same lines, so they're filed together. 1. [document_preview] with no attributes causes a fatal error. When a shortcode has no attributes, WordPress passes an empty…