File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ - Coderingsfix voor locatienaam. HTML entities werden bijvoorbeeld getoond in het overzicht met gevonden locaties. Dit is nu opgelost.
2+
13** 1.9.1 (2021-02-25)**
24
35- De locatietypes en -eigenschappen waren niet beschikbaar in Gutenberg. Dit is nu opgelost.
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ function gh_dim_get_location_layer($term) {
7272 $ location = get_post_meta ( $ post ->ID , '_gh_dim_location ' , true );
7373 $ location_type = get_post_meta ( $ post ->ID , '_gh_dim_location_type ' , true );
7474 $ content_type = get_post_meta ( $ post ->ID , '_gh_dim_location_content_type ' , true );
75- $ title = get_the_title ( $ post );
7675 $ useAlternativeTitle = get_post_meta ( $ post ->ID , '_gh_dim_location_alternative_title ' , true ) == 1 ;
7776 $ alternativeTitle = get_post_meta ( $ post ->ID , '_gh_dim_location_alternative_title_text ' , true );
7877 if ($ useAlternativeTitle && strlen ($ alternativeTitle ) > 0 ) {
@@ -84,7 +83,7 @@ function gh_dim_get_location_layer($term) {
8483 'location ' => json_decode ($ location ),
8584 'location_properties ' => $ location_properties ,
8685 'feature_id ' => $ post ->ID ,
87- 'title ' => $ title ,
86+ 'title ' => $ post -> post_title ,
8887 'term ' => $ term ->slug ,
8988 'content_type ' => $ content_type_enum ,
9089 ];
You can’t perform that action at this time.
0 commit comments