Changeset 3034194
- Timestamp:
- 02/11/2024 03:51:52 PM (2 years ago)
- Location:
- auto-hide-admin-bar/trunk
- Files:
-
- 3 edited
-
ahab_options.php (modified) (22 diffs)
-
auto-hide-admin-bar.php (modified) (10 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
auto-hide-admin-bar/trunk/ahab_options.php
r2853364 r3034194 5 5 * 6 6 * @author Marcel Bootsman 7 * @link http://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/8 7 */ 9 8 … … 13 12 * 14 13 * @author Marcel Bootsman 15 * @link http://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/16 14 * 17 15 * @param none … … 27 25 * 28 26 * @author Marcel Bootsman 29 * @link http://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/30 27 * 31 28 * @param none … … 43 40 <input name="Submit" type="submit" class="button button-primary save" value="<?php _e('Save Changes', 'auto-hide-admin-bar'); ?>" /> 44 41 </form> 45 <p><a class="button button-large" href="<?php echo DONATE_LINK; ?>">Donate</a></p>46 42 <p><?php _e('Version: ', 'auto-hide-admin-bar'); ?><?php echo plugin_get_version(); ?> 47 43 </div> … … 54 50 * 55 51 * @author Marcel Bootsman 56 * @link http://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/57 52 * 58 53 * @param none … … 175 170 * 176 171 * @author Marcel Bootsman 177 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/178 172 * 179 173 * @param none … … 191 185 * 192 186 * @author Marcel Bootsman 193 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/194 187 * 195 188 * @param none … … 207 200 * 208 201 * @author Marcel Bootsman 209 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/210 202 * 211 203 * @param none … … 223 215 * 224 216 * @author Marcel Bootsman 225 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/226 217 * 227 218 * @param none … … 239 230 * 240 231 * @author Marcel Bootsman 241 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/242 232 * 243 233 * @param none … … 256 246 * 257 247 * @author Marcel Bootsman 258 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/259 248 * 260 249 * @param none … … 272 261 * 273 262 * @author Marcel Bootsman 274 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/275 263 * 276 264 * @param none … … 289 277 * 290 278 * @author Marcel Bootsman 291 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/292 279 * 293 280 * @param none … … 312 299 * 313 300 * @author Marcel Bootsman 314 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/315 301 * 316 302 * @param none … … 335 321 * 336 322 * @author Marcel Bootsman 337 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/338 323 * 339 324 * @param none … … 357 342 * 358 343 * @author Marcel Bootsman 359 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/360 344 * 361 345 * @param none … … 388 372 * 389 373 * @author Marcel Bootsman 390 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/391 374 * 392 375 * @param none … … 419 402 * 420 403 * @author Marcel Bootsman 421 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/422 404 * 423 405 * @param none … … 451 433 * 452 434 * @author Marcel Bootsman 453 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/454 435 * 455 436 * @param none … … 485 466 * 486 467 * @author Marcel Bootsman 487 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/488 468 * 489 469 * @param none … … 518 498 * 519 499 * @author Marcel Bootsman 520 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/521 500 * 522 501 * @param none … … 561 540 * 562 541 * @author Marcel Bootsman 563 * @link https://www.nostromo.nl/wordpress-plugins/auto-hide-admin-bar/564 542 * 565 543 * @param array $input Existing input fields -
auto-hide-admin-bar/trunk/auto-hide-admin-bar.php
r2853364 r3034194 2 2 /* 3 3 Plugin Name: Auto Hide Admin Bar 4 Plugin URI: https://nostromo.nl/wordpress-plugins/auto-hide-admin-bar5 4 Description: Automatically hides the Toolbar. Will show the Toolbar when hovering over the top of the site. 6 5 Author: Marcel Bootsman 7 Version: 1.6. 28 Author URI: https:// nostromo.nl6 Version: 1.6. 7 Author URI: https://.nl 9 8 Text Domain: auto-hide-admin-bar 10 9 Domain Path: /languages/ … … 31 30 define('DEFAULT_ARROW', 1); 32 31 define('DEFAULT_ARROW_POS', 'left'); 33 define('DONATE_LINK', 'https://nostromo.nl/wordpress-plugins/auto-hide-admin-bar');34 32 35 33 /** … … 69 67 * @return Array $links with new link= 70 68 * @author Marcel Bootsman 71 * @link http://nostromo.nl/wordpress-plugins/auto-hide-admin-bar/72 69 * 73 70 */ … … 76 73 77 74 $ahab_links = array( 78 '<a href="options-general.php?page=auto-hide-admin-bar">' . __("Settings", "auto-hide-admin-bar") . '</a>', 79 '<a style="color:#00aab3; font-weight: bold;" href="' . DONATE_LINK . '">' . __("Donate", "auto-hide-admin-bar") . '</a>' 75 '<a href="options-general.php?page=auto-hide-admin-bar">' . __("Settings", "auto-hide-admin-bar") . '</a>' 80 76 ); 81 77 … … 83 79 } 84 80 85 add_filter('network_admin_plugin_action_links_' . plugin_basename(__FILE__), 'ahab_add_plugin_actions_links_mu');86 function ahab_add_plugin_actions_links_mu($links) {87 88 $ahab_links = array(89 '<a style="color:#00aab3; font-weight: bold;" href="' . DONATE_LINK . '">' . __("Donate", "auto-hide-admin-bar") . '</a>'90 );91 92 return array_merge($links, $ahab_links);93 }94 95 96 81 /** 97 82 * Check if ahab is disabled (by user role) … … 101 86 * @return true / false 102 87 * @author Marcel Bootsman 103 * @link http://nostromo.nl/wordpress-plugins/auto-hide-admin-bar/104 88 * 105 89 */ … … 176 160 * @return None 177 161 * @author Marcel Bootsman 178 * @link http://nostromo.nl/wordpress-plugins/auto-hide-admin-bar/179 162 * 180 163 */ … … 268 251 * @return None 269 252 * @author Marcel Bootsman 270 * @link http://nostromo.nl/wordpress-plugins/auto-hide-admin-bar/271 253 * 272 254 */ … … 296 278 * @return None 297 279 * @author Marcel Bootsman 298 * @link http://nostromo.nl/wordpress-plugins/auto-hide-admin-bar/299 280 * 300 281 */ … … 313 294 * @return None 314 295 * @author Marcel Bootsman 315 * @link http://nostromo.nl/wordpress-plugins/auto-hide-admin-bar/316 296 * 317 297 */ -
auto-hide-admin-bar/trunk/readme.txt
r3034167 r3034194 1 1 === Auto Hide Admin Bar === 2 2 Contributors: mbootsman 3 Donate link: https://nostromo.nl/wordpress-plugins/auto-hide-admin-bar4 3 Tags: admin bar, autohide, hide, toolbar 5 4 Requires at least: 3.1 6 5 Tested up to: 6.4.3 7 Stable tag: 1.6. 26 Stable tag: 1.6. 8 7 9 8 This plugin adds an auto-hide feature to the WordPress Admin Bar or Toolbar. … … 14 13 You end up with a clean view of your site, and keep having access to the WordPress Toolbar. 15 14 If you have any comments or questions, please use the [support forum](http://wordpress.org/support/plugin/auto-hide-admin-bar). 16 17 Want to contribute? Check out the Github repository [here](https://github.com/mbootsman/auto-hide-admin-bar).18 15 19 16 == Installation == … … 32 29 33 30 == Changelog == 31 32 33 34 34 35 = 1.6.2 = 35 36 * Fixed Cross Site Scripting (XSS) Vulnerability. Props: darius.sveikauskas @ patchstack.com
Note: See TracChangeset
for help on using the changeset viewer.