Changeset 2504318
- Timestamp:
- 03/27/2021 05:53:30 AM (5 years ago)
- Location:
- responsive-google-map
- Files:
-
- 39 added
- 4 edited
-
tags/3.1.4 (added)
-
tags/3.1.4/dist (added)
-
tags/3.1.4/dist/app.bundle.js (added)
-
tags/3.1.4/dist/front.bundle.js (added)
-
tags/3.1.4/images (added)
-
tags/3.1.4/images/ajax-loader.gif (added)
-
tags/3.1.4/images/map-styles (added)
-
tags/3.1.4/images/map-styles/aubergine.png (added)
-
tags/3.1.4/images/map-styles/dark-electric.png (added)
-
tags/3.1.4/images/map-styles/dark.png (added)
-
tags/3.1.4/images/map-styles/forest.png (added)
-
tags/3.1.4/images/map-styles/grayscale.png (added)
-
tags/3.1.4/images/map-styles/light-blue.png (added)
-
tags/3.1.4/includes (added)
-
tags/3.1.4/includes/admin (added)
-
tags/3.1.4/includes/admin/class-marker.php (added)
-
tags/3.1.4/includes/admin/class-wrgrgm-admin-init.php (added)
-
tags/3.1.4/includes/admin/class-wrgrgm-advance-settings.php (added)
-
tags/3.1.4/includes/admin/class-wrgrgm-map-settings.php (added)
-
tags/3.1.4/includes/admin/class-wrgrgm-menu.php (added)
-
tags/3.1.4/includes/admin/class-wrgrgm-review.php (added)
-
tags/3.1.4/includes/admin/class-wrgrgm-settings.php (added)
-
tags/3.1.4/includes/admin/classes (added)
-
tags/3.1.4/includes/admin/classes/map-settings.php (added)
-
tags/3.1.4/includes/admin/classes/rgm-settings.php (added)
-
tags/3.1.4/includes/class-wrgrgm-map-styles.php (added)
-
tags/3.1.4/includes/class-wrgrgm-map-widget.php (added)
-
tags/3.1.4/includes/class-wrgrgm-map.php (added)
-
tags/3.1.4/includes/class-wrgrgm-notice.php (added)
-
tags/3.1.4/includes/class-wrgrgm-requirements.php (added)
-
tags/3.1.4/includes/class-wrgrgm-shortcode.php (added)
-
tags/3.1.4/includes/index.php (added)
-
tags/3.1.4/includes/notices (added)
-
tags/3.1.4/includes/notices/class-wrg-notices.php (added)
-
tags/3.1.4/index.php (added)
-
tags/3.1.4/languages (added)
-
tags/3.1.4/license.txt (added)
-
tags/3.1.4/readme.txt (added)
-
tags/3.1.4/responsive-google-map.php (added)
-
trunk/includes/admin/class-wrgrgm-admin-init.php (modified) (3 diffs)
-
trunk/includes/class-wrgrgm-notice.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/responsive-google-map.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
responsive-google-map/trunk/includes/admin/class-wrgrgm-admin-init.php
r2398384 r2504318 6 6 class WRGRGM_Admin_Init { 7 7 8 public function __construct() { 8 private static $instance; 9 10 public static function initialize() { 11 12 if ( empty( self::$instance ) ) { 13 self::$instance = new self; 14 } 15 16 return self::$instance; 17 } 18 19 private function __construct() { 9 20 10 21 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); 11 // add_action( 'admin_head', array( $this, 'admin_enqueue_style' ) );12 }13 14 public function admin_enqueue_style() {15 $screen = get_current_screen();16 if ( is_object( $screen ) && 'wrg_rgm' == $screen->post_type ) { ?>17 <style>18 #wrg_rgm_settings .inside, #wrg_rgm_settings .postbox-header {display: none;}#wrg_rgm_settings.postbox{border: 0px !important;}19 </style>20 <?21 }22 22 } 23 23 … … 37 37 wp_enqueue_script( 'wrg_rgm_admin_script', WRG_RGM_PLUGIN_URL . 'dist/app.bundle.js', array(), WRG_RGM_VERSION, true ); 38 38 wp_localize_script( 'wrg_rgm_admin_script', 'RGM', array( 39 'ajaxurl' => admin_url( 'admin-ajax.php' ),40 'WRG_RGM_PLUGIN_URL' => WRG_RGM_PLUGIN_URL,41 'GMAP_API_KEY' => RGM_Settings::get_key(),42 'GMAP_STYLES_DATA' => $map_styles_data39 'ajaxurl' => admin_url( 'admin-ajax.php' ), 40 'WRG_RGM_PLUGIN_URL' => WRG_RGM_PLUGIN_URL, 41 'GMAP_API_KEY' => RGM_Settings::get_key(), 42 'GMAP_STYLES_DATA' => $map_styles_data 43 43 )); 44 44 } … … 47 47 } 48 48 49 new WRGRGM_Admin_Init();49 WRGRGM_Admin_Init::initialize(); -
responsive-google-map/trunk/includes/class-wrgrgm-notice.php
r2393651 r2504318 73 73 $notice['classes'] = implode( ' ', $classes ); 74 74 75 self:: load_template( $notice );75 self::$instance->load_template( $notice ); 76 76 } 77 77 -
responsive-google-map/trunk/readme.txt
r2437847 r2504318 4 4 Tags: responsive google map, google map, responsive map, wordpress map, google map styles, map styles, wordpress google map 5 5 Requires at least: 5.0 6 Tested up to: 5. 67 Stable tag: 3.1. 36 Tested up to: 5.7 7 Stable tag: 3.1.4 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later -
responsive-google-map/trunk/responsive-google-map.php
r2437847 r2504318 5 5 * Plugin URI: https://webomnizz.com 6 6 * Description: Responsive Google MAP provides you an easiest way to add Google Map anywhere in your Website. You can easily customize your google map with custom markers, locations, descriptions, images and link. 7 * Version: 3.1. 37 * Version: 3.1.4 8 8 * Donate link: https://paypal.me/jogesh06 9 9 * Author: Jogesh Sharma … … 37 37 if( ! defined('WPINC') ) die; 38 38 39 define( 'WRG_RGM_VERSION', '3.1. 3' );39 define( 'WRG_RGM_VERSION', '3.1.4' ); 40 40 define( 'WRG_RGM_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 41 41 define( 'WRG_RGM_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); … … 79 79 80 80 if ( is_admin() ) { 81 81 82 require WRG_RGM_PLUGIN_DIR . 'includes/admin/class-wrgrgm-menu.php'; 82 83 require WRG_RGM_PLUGIN_DIR . 'includes/admin/class-wrgrgm-settings.php';
Note: See TracChangeset
for help on using the changeset viewer.