WordPress.org

Plugin Directory

Changeset 489561


Ignore:
Timestamp:
01/13/12 21:26:56 (2 years ago)
Author:
mattwiebe
Message:
  • Fix for loading JS/CSS on Windows-based servers
  • Ensure the demo plugin checks that the main plugin is active to prevent white screens
Location:
advanced-post-manager/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • advanced-post-manager/trunk/readme.txt

    r459062 r489561  
    55Tags: developer-tools, custom post, filter, column, metabox, taxonomy, wp-admin, admin, Post, post type, plugin, advanced, tribe 
    66Requires at least: 3.2 
    7 Tested up to: 3.2.1 
     7Tested up to: 3.3.1 
    88License: GPL v2 
    9 Stable Tag: 1.0.6 
     9Stable Tag: 1.0.7 
    1010 
    1111Turbo charge your posts admin for any custom post type with sortable filters and columns, and auto-registration of metaboxes. 
     
    4141== Changelog == 
    4242 
     43= 1.0.7 = 
     44 
     45* Fix for loading JS/CSS on Windows-based servers 
     46* Ensure the demo plugin checks that the main plugin is active to prevent white screens 
     47 
    4348= 1.0.6 = 
    4449 
  • advanced-post-manager/trunk/tribe-apm.php

    r459074 r489561  
    1111if ( ! class_exists('Tribe_APM') ) { 
    1212 
    13 define( 'TRIBE_APM_PATH', trailingslashit( dirname(__FILE__) ) ); 
     13define( 'TRIBE_APM_PATH', plugin_dir_path(__FILE__) ); 
    1414define( 'TRIBE_APM_LIB_PATH', TRIBE_APM_PATH . 'lib/' ); 
    1515 
     
    4242 
    4343        $this->textdomain = apply_filters( 'tribe_apm_textdomain', $this->textdomain ); 
    44         $this->url = home_url( str_replace( ABSPATH, '', dirname(__FILE__) ) ); 
     44        $this->url = apply_filters( 'tribe_apm_url', plugins_url('', __FILE__), __FILE__ ); 
    4545 
    4646        add_action( 'admin_init', array($this, 'init'), 0 ); 
  • advanced-post-manager/trunk/tribe-demo-plugin.php

    r434107 r489561  
    1010 */ 
    1111 
    12 include 'demo/demo.php'; 
     12if ( class_exists('Tribe_APM') ) 
     13    include 'demo/demo.php'; 
Note: See TracChangeset for help on using the changeset viewer.