Plugin Directory

Changeset 2194046


Ignore:
Timestamp:
11/15/2019 08:19:13 PM (6 years ago)
Author:
norcross
Message:

updating admin bar menu to use of add_node

Location:
airplane-mode
Files:
20 added
3 edited

Legend:

Unmodified
Added
Removed
  • airplane-mode/trunk/CHANGES.md

    r2137083 r2194046  
     1#### Version 0.2.5 - 2019/11/15
     2* Remove usage of method that's been deprecated in WordPress trunk. props @johnbillion
     3
    14#### Version 0.2.4 - 2017/12/13
    25* Added localhost bypass for loading CSS and JS files when hot reloading. props @shadyvb
  • airplane-mode/trunk/airplane-mode.php

    r2137083 r2194046  
    66 * Author: Andrew Norcross
    77 * Author URI: http://andrewnorcross.com/
    8  * Version: 0.2.4
     8 * Version: 0.2.5
    99 * Text Domain: airplane-mode
    1010 * Requires WP: 4.4
     
    5050// Set our version if not already defined.
    5151if ( ! defined( 'AIRMDE_VER' ) ) {
    52     define( 'AIRMDE_VER', '0.2.4' );
     52    define( 'AIRMDE_VER', '0.2.5' );
    5353}
    5454
     
    726726
    727727            // Now add the admin bar link.
    728             $wp_admin_bar->add_menu(
     728            $wp_admin_bar->add_node(
    729729                array(
    730730                    'id'        => 'airplane-mode-toggle',
  • airplane-mode/trunk/readme.txt

    r2137087 r2194046  
    55Tags: external calls, HTTP
    66Requires at least: 4.4
    7 Tested up to: 5.2
    8 Stable tag: 0.2.4
     7Tested up to: 5.3
     8Stable tag: 0.2.5
    99License: MIT
    1010License URI: http://norcross.mit-license.org/
     
    4545
    4646== Changelog ==
     47
     48= 0.2.5 - 2019/11/15
     49* Remove usage of method that's been deprecated in WordPress trunk. props @johnbillion
    4750
    4851= 0.2.4 - 2017/12/13
Note: See TracChangeset for help on using the changeset viewer.