Plugin Directory

Changeset 877306


Ignore:
Timestamp:
03/18/2014 06:04:27 PM (12 years ago)
Author:
sutherlandboswell
Message:

Fixed load_plugin_textdomain() path

Location:
video-thumbnails
Files:
2 edited
4 copied

Legend:

Unmodified
Added
Removed
  • video-thumbnails/tags/2.7.1/readme.txt

    r873686 r877306  
    55Requires at least: 3.2
    66Tested up to: 3.8.1
    7 Stable tag: 2.7
     7Stable tag: 2.7.1
    88
    99Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template.
     
    118118
    119119== Changelog ==
     120
     121= 2.7.1 =
     122* Fixed load_plugin_textdomain() path
    120123
    121124= 2.7 =
  • video-thumbnails/tags/2.7.1/video-thumbnails.php

    r873686 r877306  
    66Author: Sutherland Boswell
    77Author URI: http://sutherlandboswell.com
    8 Version: 2.7
     8Version: 2.7.1
    99License: GPL2
    1010Text Domain: video-thumbnails
     
    3131define( 'VIDEO_THUMBNAILS_PATH', dirname(__FILE__) );
    3232define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' );
    33 define( 'VIDEO_THUMBNAILS_VERSION', '2.7' );
     33define( 'VIDEO_THUMBNAILS_VERSION', '2.7.1' );
    3434
    3535// Providers
     
    9494     */
    9595    function plugin_textdomain() {
    96         load_plugin_textdomain( 'video-thumbnails', false, VIDEO_THUMBNAILS_PATH . '/languages/' );
     96        load_plugin_textdomain( 'video-thumbnails', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    9797    }
    9898
  • video-thumbnails/trunk/readme.txt

    r873686 r877306  
    55Requires at least: 3.2
    66Tested up to: 3.8.1
    7 Stable tag: 2.7
     7Stable tag: 2.7.1
    88
    99Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template.
     
    118118
    119119== Changelog ==
     120
     121= 2.7.1 =
     122* Fixed load_plugin_textdomain() path
    120123
    121124= 2.7 =
  • video-thumbnails/trunk/video-thumbnails.php

    r873686 r877306  
    66Author: Sutherland Boswell
    77Author URI: http://sutherlandboswell.com
    8 Version: 2.7
     8Version: 2.7.1
    99License: GPL2
    1010Text Domain: video-thumbnails
     
    3131define( 'VIDEO_THUMBNAILS_PATH', dirname(__FILE__) );
    3232define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' );
    33 define( 'VIDEO_THUMBNAILS_VERSION', '2.7' );
     33define( 'VIDEO_THUMBNAILS_VERSION', '2.7.1' );
    3434
    3535// Providers
     
    9494     */
    9595    function plugin_textdomain() {
    96         load_plugin_textdomain( 'video-thumbnails', false, VIDEO_THUMBNAILS_PATH . '/languages/' );
     96        load_plugin_textdomain( 'video-thumbnails', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    9797    }
    9898
Note: See TracChangeset for help on using the changeset viewer.