Skip to content

Commit 7aceae9

Browse files
author
Mike van den Hoek
committed
(fix): typo metabox field Lattitude -> Latitude
1 parent 0d552d4 commit 7aceae9

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Version 4.2.4
4+
5+
- Fix: typo metabox field Lattitude -> Latitude
6+
37
## Version 4.2.3
48

59
- Fix: typo in OpenWOOIndexable slug

config/metaboxes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
'type' => 'text',
201201
],
202202
[
203-
'name' => __('Lattitude', OWO_LANGUAGE_DOMAIN),
203+
'name' => __('Latitude', OWO_LANGUAGE_DOMAIN),
204204
'id' => 'woo_Lattitude',
205205
'type' => 'text',
206206
],

languages/openwoo-nl_NL.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ msgid "Longitude"
138138
msgstr ""
139139

140140
#: config/openwoo/metaboxes.php:261
141-
msgid "Lattitude"
141+
msgid "Latitude"
142142
msgstr ""
143143

144144
#: config/openwoo/metaboxes.php:268

languages/openwoo.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ msgid "Longitude"
139139
msgstr ""
140140

141141
#: config/openwoo/metaboxes.php:261
142-
msgid "Lattitude"
142+
msgid "Latitude"
143143
msgstr ""
144144

145145
#: config/openwoo/metaboxes.php:268
@@ -283,4 +283,4 @@ msgstr ""
283283

284284
#: src/OpenWOO/Taxonomy/TaxonomyController.php:18
285285
msgid "The slug value must be the ID of the blog you want to add as term. The ID is used for displaying the correct openwoo-items on every blog."
286-
msgstr ""
286+
msgstr ""

openwoo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Plugin Name: Yard | OpenWOO
77
* Plugin URI: https://www.yard.nl/
88
* Description: Adds OpenWOO implementation
9-
* Version: 4.2.3
9+
* Version: 4.2.4
1010
* Author: Yard | Digital Agency
1111
* Author URI: https://www.yard.nl/
1212
* License: EUPL-1.2
@@ -30,7 +30,7 @@
3030
define('OWO_LANGUAGE_DOMAIN', OWO_SLUG);
3131
define('OWO_DIR', basename(__DIR__));
3232
define('OWO_ROOT_PATH', __DIR__);
33-
define('OWO_VERSION', '4.2.3');
33+
define('OWO_VERSION', '4.2.4');
3434

3535
/**
3636
* Manual loaded file: the autoloader.

src/OpenWOO/Models/GeografischePositieEntity.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class GeografischePositieEntity extends AbstractEntity
88
{
9-
protected array $required = ['Longitude', 'Lattitude'];
9+
protected array $required = ['Longitude', 'Latitude'];
1010

1111
protected function data(): array
1212
{
@@ -15,11 +15,11 @@ protected function data(): array
1515
}
1616

1717
$longitude = $this->data[self::PREFIX . 'Longitude'] ?? null;
18-
$lattitude = $this->data[self::PREFIX . 'Lattitude'] ?? null;
18+
$latitude = $this->data[self::PREFIX . 'Lattitude'] ?? null;
1919

2020
return [
2121
'Longitude' => ! empty($longitude) && is_numeric($longitude) ? (float) $longitude : '',
22-
'Lattitude' => ! empty($lattitude) && is_numeric($lattitude) ? (float) $lattitude : '',
22+
'Latitude' => ! empty($latitude) && is_numeric($latitude) ? (float) $latitude : '',
2323
];
2424
}
2525
}

0 commit comments

Comments
 (0)