What The File - Version 1.5.2

Version Description

  • Fixed a CSS bug with admin bar.
Download this release

Release Info

Developer barrykooij
Plugin Icon 128x128 What The File
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1 to 1.5.2

Files changed (2) hide show
  1. readme.txt +4 -1
  2. what-the-file.php +2 -2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.barrykooij.com/donate/
4
  Tags: toolbar, development, file, template, template editing, Template Hierarchy, theme, themes, php, php file, template part
5
  Requires at least: 3.1
6
  Tested up to: 4.3
7
- Stable tag: 1.5.1
8
  License: GPL v3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -50,6 +50,9 @@ Glad to hear I could help you! You can thank me in various ways, please see [my
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 1.5.1 =
54
  * Fixed a bug where some themes make _all_ images display block.
55
 
4
  Tags: toolbar, development, file, template, template editing, Template Hierarchy, theme, themes, php, php file, template part
5
  Requires at least: 3.1
6
  Tested up to: 4.3
7
+ Stable tag: 1.5.2
8
  License: GPL v3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
50
 
51
  == Changelog ==
52
 
53
+ = 1.5.2 =
54
+ * Fixed a CSS bug with admin bar.
55
+
56
  = 1.5.1 =
57
  * Fixed a bug where some themes make _all_ images display block.
58
 
what-the-file.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: What The File
4
  Plugin URI: http://www.barrykooij.com/what-the-file/
5
  Description: What The File adds an option to your toolbar showing what file and template parts are used to display the page you’re currently viewing. You can click the file name to directly edit it through the theme editor. Supports BuddyPress and Roots Theme. More information can be found at the <a href='http://wordpress.org/extend/plugins/what-the-file/'>WordPress plugin page</a>.
6
- Version: 1.5.1
7
  Author: Never5
8
  Author URI: http://www.never5.com/
9
  License: GPL v3
@@ -290,7 +290,7 @@ class WhatTheFile {
290
  * Print the custom CSS
291
  */
292
  public function print_css() {
293
- echo "<style type=\"text/css\" media=\"screen\">#wp-admin-bar-wtf-bar .ab-item{padding-right:26px !important;background: url('" . plugins_url( 'assets/images/never5-logo.png', __FILE__ ) . "')center right no-repeat;} #wp-admin-bar-wtf-bar #wp-admin-bar-wtf-bar-template-file .ab-item, #wp-admin-bar-wtf-bar #wp-admin-bar-wtf-bar-template-parts {text-align:right;} #wp-admin-bar-wtf-bar-template-parts.menupop > .ab-item:before{ right:auto !important; }#wp-admin-bar-wtf-bar-powered-by{text-align: right;}#wp-admin-bar-wtf-bar-powered-by a{color:#ffa100 !important;}</style>\n";
294
  }
295
 
296
  }
3
  Plugin Name: What The File
4
  Plugin URI: http://www.barrykooij.com/what-the-file/
5
  Description: What The File adds an option to your toolbar showing what file and template parts are used to display the page you’re currently viewing. You can click the file name to directly edit it through the theme editor. Supports BuddyPress and Roots Theme. More information can be found at the <a href='http://wordpress.org/extend/plugins/what-the-file/'>WordPress plugin page</a>.
6
+ Version: 1.5.2
7
  Author: Never5
8
  Author URI: http://www.never5.com/
9
  License: GPL v3
290
  * Print the custom CSS
291
  */
292
  public function print_css() {
293
+ echo "<style type=\"text/css\" media=\"screen\">#wp-admin-bar-wtf-bar > .ab-item{padding-right:26px !important;background: url('" . plugins_url( 'assets/images/never5-logo.png', __FILE__ ) . "')center right no-repeat !important;} #wp-admin-bar-wtf-bar.hover > .ab-item {background-color: #32373c !important; } #wp-admin-bar-wtf-bar #wp-admin-bar-wtf-bar-template-file .ab-item, #wp-admin-bar-wtf-bar #wp-admin-bar-wtf-bar-template-parts {text-align:right;} #wp-admin-bar-wtf-bar-template-parts.menupop > .ab-item:before{ right:auto !important; }#wp-admin-bar-wtf-bar-powered-by{text-align: right;}#wp-admin-bar-wtf-bar-powered-by a{color:#ffa100 !important;}</style>\n";
294
  }
295
 
296
  }