Skip to content

Commit

Permalink
Merge pull request #211 from bmlt-enabled/surpress-ob_end_clean-warning
Browse files Browse the repository at this point in the history
surpress warning
  • Loading branch information
otrok7 authored Jul 10, 2024
2 parents abe26b3 + b641399 commit 56e119e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bmlt-meeting-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: Maintains and generates a PDF Meeting List from BMLT.
Author: bmlt-enabled
Author URI: https://bmlt.app
Version: 2.7.11
Version: 2.7.12
*/
/* Disallow direct access to the plugin file */
use Mpdf\Mpdf;
Expand Down Expand Up @@ -886,7 +886,7 @@ function bmlt_meeting_list($atts = null, $content = null)
$mpdf_init_options['restrictColorSpace'] = $this->options['colorspace'];
$mpdf_init_options = array_merge($mpdf_init_options, $page_type_settings);
$mpdf_init_options = apply_filters("Bread_Mpdf_Init_Options", $mpdf_init_options, $this->options);
ob_end_clean();
@ob_end_clean();
// We load mPDF only when we need to and as late as possible. This prevents
// conflicts with other plugins that use the same PSRs in different versions
// by simply clobbering the other definitions. Since we generate the PDF then
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: meeting list, bmlt, narcotics anonymous, na
Requires PHP: 8.1
Requires at least: 6.2
Tested up to: 6.5
Stable tag: 2.7.11
Stable tag: 2.7.12

License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -55,6 +55,9 @@ Follow all these steps, keep in mind that once you start using bread, it's not g

== Changelog ==

= 2.7.12 =
* Surpress warning when ob_end_clean is called.

= 2.7.11 =
* Late loading of mPDF to prevent conflicts with other plugins.

Expand Down

0 comments on commit 56e119e

Please sign in to comment.