WordPress.org

Plugin Directory

Changeset 608075


Ignore:
Timestamp:
10/04/12 22:35:13 (19 months ago)
Author:
barrykooij
Message:

1.0.2

Location:
what-the-file/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • what-the-file/trunk/readme.txt

    r590628 r608075  
    44Tags: toolbar, development, file, template, template editing 
    55Requires at least: 3.1 
    6 Tested up to: 3.4 
    7 Stable tag: 1.0.1 
     6Tested up to: 3.4.2 
     7Stable tag: 1.0.2 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    3636== Changelog == 
    3737 
     38= 1.0.2 = 
     39* Fixed incorrect url when theme directory name differs from theme name. 
     40 
    3841= 1.0.1 = 
    3942* Changed the way the plugin initializes. 
     
    4144 
    4245== Upgrade notice == 
     46 
     47= 1.0.2 = 
     48Fixed incorrect url when theme directory name differs from theme name. 
  • what-the-file/trunk/what-the-file.php

    r590628 r608075  
    44  Plugin URI: http://www.cageworks.nl/what-the-file/ 
    55  Description: Find out what template file (PHP) is used on the current page. What The File will be visible in the Toolbar when viewing your website. 
    6   Version: 1.0.1 
     6  Version: 1.0.2 
    77  Author: Barry Kooij 
    88  Author URI: http://www.barrykooij.nl/ 
     
    4141    global $wp_admin_bar;       
    4242    $wp_admin_bar->add_menu( array( 'id' => 'wtf-bar', 'parent' => 'top-secondary', 'title' => __('What The File', 'what-the-file'), 'href' => FALSE ) ); 
    43     $wp_admin_bar->add_menu( array( 'id' => 'wtf-bar-sub', 'parent' => 'wtf-bar', 'title' => $this->get_current_page(), 'href' => '/wp-admin/theme-editor.php?file='.$this->get_current_page().'&theme='.strtolower(wp_get_theme()) ) ); 
     43    $wp_admin_bar->add_menu( array( 'id' => 'wtf-bar-sub', 'parent' => 'wtf-bar', 'title' => $this->get_current_page(), 'href' => '/wp-admin/theme-editor.php?file='.$this->get_current_page().'&theme='.get_template() ) ); 
    4444  } 
    4545   
Note: See TracChangeset for help on using the changeset viewer.