removed coment from plugin

This commit is contained in:
jorge 2024-03-28 23:00:46 +01:00
parent 630b2da38b
commit 19833401b2
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
// check for plugin using plugin name // check for plugin using plugin name
if ( ! is_plugin_active( 'leaflet-map/leaflet-map.php' ) ) { if ( ! is_plugin_active( 'leaflet-map/leaflet-map.php' ) ) {
echo '<p class="warning">The plugin <a hfref="https://wordpress.org/plugins/leaflet-map/">LeafletMap</a> is needed to show this map</p>'; // echo '<p class="warning">The plugin <a hfref="https://wordpress.org/plugins/leaflet-map/">LeafletMap</a> is needed to show this map</p>';
} else { } else {
if (! function_exists( 'xarxaprod_show_leaflet_map' )) { if (! function_exists( 'xarxaprod_show_leaflet_map' )) {
function xarxaprod_show_leaflet_map() { function xarxaprod_show_leaflet_map() {