Skip to:
Content

bbPress.org

Changeset 2510


Ignore:
Timestamp:
07/24/2010 05:36:45 PM (16 years ago)
Author:
chrishajer
Message:

Translate plugin names and descriptions properly before activation. Fixes #1318. Props Nightgunner5

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-admin/includes/functions.bb-plugin.php

    r2259 r2510  
    296296
    297297    if ( $translate )
    298         $plugin_data = _bb_get_plugin_data_translate( $plugin_data );
     298        $plugin_data = _bb_get_plugin_data_translate( $plugin_data, $plugin_file );
    299299
    300300    if ( $markup )
     
    311311}
    312312
    313 function _bb_get_plugin_data_translate( $plugin_data ) {
     313function _bb_get_plugin_data_translate( $plugin_data, $plugin_file ) {
    314314    //Translate fields
    315315    if( !empty($plugin_data['text_domain']) ) {
  • trunk/bb-includes/functions.bb-meta.php

    r2504 r2510  
    297297            break;
    298298        case 'version':
    299             return '1.1-alpha-2504'; // Don't filter
     299            return '1.1-alpha-2510'; // Don't filter
    300300            break;
    301301        case 'bb_db_version' :
Note: See TracChangeset for help on using the changeset viewer.