File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " gh-datainmap" ,
3- "version" : " 1.9.1 " ,
3+ "version" : " 1.9.2 " ,
44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 1+ ** 1.9.2 (2021-04-29)**
2+
3+ - Coderingsfix voor locatienaam. HTML entities werden bijvoorbeeld getoond in het overzicht met gevonden locaties. Dit is nu opgelost.
4+
15** 1.9.1 (2021-02-25)**
26
37- De locatietypes en -eigenschappen waren niet beschikbaar in Gutenberg. Dit is nu opgelost.
Original file line number Diff line number Diff line change 33Plugin Name: Data In Map
44Plugin URI: https://bitbucket.org/gemeenteheerenveen/datainmap-plugin/src/master/
55Description: Data In Map is a plugin for displaying maps.
6- Version: 1.9.1
6+ Version: 1.9.2
77Requires at least: 5.0
88Requires PHP: 7.2
99Author: Gemeente Heerenveen
2626*/
2727
2828if ( ! defined ( 'ABSPATH ' ) ) exit ; // Exit if accessed directly
29- if ( ! defined ('GH_DIM_VERSION ' )) define ('GH_DIM_VERSION ' , '1.9.1 ' );
29+ if ( ! defined ('GH_DIM_VERSION ' )) define ('GH_DIM_VERSION ' , '1.9.2 ' );
3030if ( ! defined ('GH_DIM_FILE ' )) define ('GH_DIM_FILE ' , __FILE__ );
3131if ( ! defined ('GH_DIM_DIR ' )) define ('GH_DIM_DIR ' , dirname (__FILE__ ));
3232if ( ! defined ('GH_DIM_DEBUG ' )) define ('GH_DIM_DEBUG ' , false );
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