Changeset 1837405
- Timestamp:
- 03/10/2018 02:32:15 AM (8 years ago)
- Location:
- thematic-maps/trunk
- Files:
-
- 4 edited
-
admin/class-thematic-maps-admin.php (modified) (7 diffs)
-
includes/class-thematic-maps.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
thematic-maps.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
thematic-maps/trunk/admin/class-thematic-maps-admin.php
r1834227 r1837405 134 134 } 135 135 136 /** 137 * Add a Setting link to WordPress plugin list page 138 * 139 * @since 1.0.2 140 * 141 * @return array 142 */ 143 public function add_settings_link( $links ) { 144 145 $settings_link = '<a href="admin.php?page=' . $this->plugin_name . '">' . __( 'Settings', $this->plugin_name ) . '</a>'; 146 array_unshift( $links, $settings_link ); 147 148 return $links; 149 } 150 136 151 public function tm_admin_menu() { 137 152 add_menu_page( … … 270 285 echo '<input type="text" name="' . $this->plugin_name . '_plugin[maps_apikey]" value="' . esc_attr($options['maps_apikey']) . '" maxlength="255" size="40"/>'; 271 286 echo 'Get your API key at <a target="_blank" href="https://developers.google.com/maps/documentation/javascript/get-api-key">Google</a>'; 272 echo $messages[0];273 287 274 288 } … … 300 314 </select> <?php 301 315 } 302 echo $messages[0];303 316 304 317 } … … 314 327 $options = get_option($this->plugin_name.'_plugin'); 315 328 echo '<input type="text" name="' . $this->plugin_name . '_plugin[nf_field]" value="' . esc_attr($options['nf_field']) . '" maxlength="255" size="40"/>'; 316 echo $messages[0];317 329 } 318 330 … … 327 339 $options = get_option($this->plugin_name.'_plugin'); 328 340 echo '<input type="text" class="tm-color-picker" name="' . $this->plugin_name . '_plugin[ca_min_color]" value="' . esc_attr($options['ca_min_color']) . '" maxlength="7" size="10"/>'; 329 echo $messages[0];330 341 } 331 342 … … 340 351 $options = get_option($this->plugin_name.'_plugin'); 341 352 echo '<input type="text" class="tm-color-picker" name="' . $this->plugin_name . '_plugin[ca_max_color]" value="' . esc_attr($options['ca_max_color']) . '" maxlength="7" size="10"/>'; 342 echo $messages[0];343 353 } 344 354 … … 353 363 $options = get_option($this->plugin_name.'_plugin'); 354 364 echo '<input type="text" class="tm-color-picker" name="' . $this->plugin_name . '_plugin[ca_default_color]" value="' . esc_attr($options['ca_default_color']) . '" maxlength="7" size="10"/>'; 355 echo $messages[0];356 365 } 357 366 -
thematic-maps/trunk/includes/class-thematic-maps.php
r1834826 r1837405 80 80 $this->version = THEMATIC_MAPS_VERSION; 81 81 } else { 82 $this->version = '1.0. 1';82 $this->version = '1.0.2'; 83 83 } 84 84 $this->plugin_name = 'thematic_maps'; … … 173 173 $this->loader->add_action( 'admin_menu', $plugin_admin, 'tm_admin_menu' ); 174 174 $this->loader->add_action( 'admin_init', $plugin_admin, 'tm_settings_init' ); 175 176 $this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'add_settings_link' ); 175 177 } 176 178 -
thematic-maps/trunk/readme.txt
r1834826 r1837405 21 21 22 22 == Change Log == 23 v1.0.2 = Added Settings link to WordPress plugin list page 23 24 v1.0.1 = Plugin icon changed 24 25 v1.0.0 - Initial Release -
thematic-maps/trunk/thematic-maps.php
r1834826 r1837405 2 2 3 3 /** 4 * The plugin bootstrap file 5 * 6 * This file is read by WordPress to generate the plugin information in the plugin 7 * admin area. This file also includes all of the dependencies used by the plugin, 8 * registers the activation and deactivation functions, and defines a function 9 * that starts the plugin. 4 * Thematic MAps bootstrap file 10 5 * 11 6 * @link https://github.com/garretthunter 12 * @since 1.0. 7 * @since 1.0.0 13 8 * @package Thematic_Maps 14 9 * … … 17 12 * Plugin URI: https://github.com/garretthunter/thematic-maps 18 13 * Description: Displays a thematic map of the United States of America showing each state shaded in proportion to the measurement of a statistical variable, such as population density or per-capita income. Requires the <a href="https://wordpress.org/plugins/ninja-forms/">Ninja Forms</a> plugin. 19 * Version: 1.0. 114 * Version: 1.0.2 20 15 * Author: Garrett Hunter 21 16 * Author URI: https://github.com/garretthunter … … 36 31 * Rename this for your plugin and update it as you release new versions. 37 32 */ 38 define( 'THEMATIC_MAPS_VERSION', '1.0. 1' );33 define( 'THEMATIC_MAPS_VERSION', '1.0.2' ); 39 34 40 35 /**
Note: See TracChangeset
for help on using the changeset viewer.