Version Description
- Fixed a bug where some themes make all images display block.
Download this release
Release Info
Developer | barrykooij |
Plugin | What The File |
Version | 1.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.5.0 to 1.5.1
- readme.txt +4 -1
- what-the-file.php +3 -3
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.
|
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.0 =
|
54 |
* Only add edit link if direct file editing is allowed. Props szepeviktor
|
55 |
* Wrapped initiation in hooks and split frontend and admin code.
|
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 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 1.5.1 =
|
54 |
+
* Fixed a bug where some themes make _all_ images display block.
|
55 |
+
|
56 |
= 1.5.0 =
|
57 |
* Only add edit link if direct file editing is allowed. Props szepeviktor
|
58 |
* Wrapped initiation in hooks and split frontend and admin code.
|
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.
|
7 |
Author: Never5
|
8 |
Author URI: http://www.never5.com/
|
9 |
License: GPL v3
|
@@ -227,7 +227,7 @@ class WhatTheFile {
|
|
227 |
$wp_admin_bar->add_menu( array(
|
228 |
'id' => 'wtf-bar',
|
229 |
'parent' => 'top-secondary',
|
230 |
-
'title' => __( 'What The File', 'what-the-file' )
|
231 |
'href' => false
|
232 |
) );
|
233 |
|
@@ -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
|
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.1
|
7 |
Author: Never5
|
8 |
Author URI: http://www.never5.com/
|
9 |
License: GPL v3
|
227 |
$wp_admin_bar->add_menu( array(
|
228 |
'id' => 'wtf-bar',
|
229 |
'parent' => 'top-secondary',
|
230 |
+
'title' => __( 'What The File', 'what-the-file' ),
|
231 |
'href' => false
|
232 |
) );
|
233 |
|
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 |
}
|