Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bmlt-meeting-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Bread
* Plugin URI: https://bmlt.app
* Description: Maintains and generates PDF Meeting Lists from BMLT.
* Version: 2.10.8
* Version: 2.10.9
* Author: bmlt-enabled
* Author URI: https://bmlt.app/
* License: GPL-2.0+
Expand Down
3 changes: 3 additions & 0 deletions includes/class-bread.php
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,9 @@ private function upgrade_settings(): void
$this->boolify_option('header_uppercase');
$this->boolify_option('header_bold');
$this->boolify_option('cont_header_shown');
if ($this->options['weekday_language'] == 'dk') {
$this->options['weekday_language'] = 'da';
}

if ($this->versionLessThan('2.8')) {
if (($this->options['page_fold'] == 'half' || $this->options['page_fold'] == 'full') && isset($this->options['last_page_content']) && trim($this->options['last_page_content']) !== '') {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion public/class-bread-format-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public function write_formats(string $lang, bool $isAll, string $lineHeight, str
$data .= "</table>";
return $data;
}
public function getWheelchairFormat(string $lang): array
public function getWheelchairFormat(string $lang): array | null
{
if (is_array($this->wheelchairFormat) && empty($this->wheelchairFormat)) {
$this->wheelchairFormat = $this->getFormatFromField($lang, 'world_id', 'WCHR');
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: 7.1
Stable tag: 2.10.8
Stable tag: 2.10.9

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.10.9 =
* Danish is "da" not "dk"

= 2.10.8 =
* Never autoshrink table font-size.

Expand Down
Loading