Changeset 1341264
- Timestamp:
- 02/02/2016 10:03:44 AM (10 years ago)
- Location:
- bottom-admin-bar
- Files:
-
- 4 added
- 4 edited
- 1 copied
-
assets/icon-128x128.png (added)
-
assets/icon-256x256.png (added)
-
tags/1.3 (copied) (copied from bottom-admin-bar/trunk)
-
tags/1.3/README.md (added)
-
tags/1.3/bottom-admin-bar.php (modified) (3 diffs)
-
tags/1.3/readme.txt (modified) (2 diffs)
-
trunk/README.md (added)
-
trunk/bottom-admin-bar.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bottom-admin-bar/tags/1.3/bottom-admin-bar.php
r1328140 r1341264 4 4 Plugin URI: https://github.com/modshrink/bottom-admin-bar 5 5 Description: While you are logged in to WordPress, this plugin will move to the bottom the admin bar that is displayed on the web site. 6 Version: 1. 26 Version: 1.3 7 7 Author: modshrink 8 8 Author URI: http://www.modshrink.com/ … … 26 26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 27 */ 28 29 28 $BottomAdminBar = new BottomAdminBar(); 30 29 31 30 class BottomAdminBar { 32 31 public function __construct() { 32 add_action( 'after_setup_theme', array( &$this, 'show_toolbar_check' ) ); 33 33 add_action( 'plugins_loaded', array( &$this, 'myplugin_init' ) ); 34 34 add_action( 'wp_enqueue_scripts', array( &$this, 'admin_bar_script_init' ), 11 ); … … 36 36 add_action( 'wp_head', array( &$this, 'my_admin_bar_bump_cb' ) ); 37 37 add_action( 'wp_footer', array( &$this, 'keyboard_shortcut' ), 21 ); 38 } 39 40 /** 41 * Checking the 'Show Toolbar when viewing site' check box. 42 */ 43 public function show_toolbar_check() { 44 get_currentuserinfo(); 45 if( 'true' !== get_user_meta( get_current_user_id(), 'show_admin_bar_front', 1 ) ) return; 38 46 } 39 47 -
bottom-admin-bar/tags/1.3/readme.txt
r1328140 r1341264 5 5 Requires at least: 3.8 6 6 Tested up to: 4.4.1 7 Stable tag: 1. 27 Stable tag: 1.3 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 51 51 == Changelog == 52 = 1.3 = 53 * Support 'Show Toolbar when viewing site' checkbox. (Thanks [reeslo](https://github.com/modshrink/bottom-admin-bar/pull/2)!) 52 54 53 55 = 1.2 = 54 56 * Support Twenty Sixteen theme. 55 57 * Fixed toggle action make blank space. 58 * Change hook for keyboard_shortcut script to wp_footer. (Thanks [cr0ybot](https://github.com/modshrink/bottom-admin-bar/pull/1)!) 56 59 57 60 = 1.1 = -
bottom-admin-bar/trunk/bottom-admin-bar.php
r1328140 r1341264 4 4 Plugin URI: https://github.com/modshrink/bottom-admin-bar 5 5 Description: While you are logged in to WordPress, this plugin will move to the bottom the admin bar that is displayed on the web site. 6 Version: 1. 26 Version: 1.3 7 7 Author: modshrink 8 8 Author URI: http://www.modshrink.com/ … … 26 26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 27 */ 28 29 28 $BottomAdminBar = new BottomAdminBar(); 30 29 31 30 class BottomAdminBar { 32 31 public function __construct() { 32 add_action( 'after_setup_theme', array( &$this, 'show_toolbar_check' ) ); 33 33 add_action( 'plugins_loaded', array( &$this, 'myplugin_init' ) ); 34 34 add_action( 'wp_enqueue_scripts', array( &$this, 'admin_bar_script_init' ), 11 ); … … 36 36 add_action( 'wp_head', array( &$this, 'my_admin_bar_bump_cb' ) ); 37 37 add_action( 'wp_footer', array( &$this, 'keyboard_shortcut' ), 21 ); 38 } 39 40 /** 41 * Checking the 'Show Toolbar when viewing site' check box. 42 */ 43 public function show_toolbar_check() { 44 get_currentuserinfo(); 45 if( 'true' !== get_user_meta( get_current_user_id(), 'show_admin_bar_front', 1 ) ) return; 38 46 } 39 47 -
bottom-admin-bar/trunk/readme.txt
r1328140 r1341264 5 5 Requires at least: 3.8 6 6 Tested up to: 4.4.1 7 Stable tag: 1. 27 Stable tag: 1.3 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 51 51 == Changelog == 52 = 1.3 = 53 * Support 'Show Toolbar when viewing site' checkbox. (Thanks [reeslo](https://github.com/modshrink/bottom-admin-bar/pull/2)!) 52 54 53 55 = 1.2 = 54 56 * Support Twenty Sixteen theme. 55 57 * Fixed toggle action make blank space. 58 * Change hook for keyboard_shortcut script to wp_footer. (Thanks [cr0ybot](https://github.com/modshrink/bottom-admin-bar/pull/1)!) 56 59 57 60 = 1.1 =
Note: See TracChangeset
for help on using the changeset viewer.