Make WordPress Core

Changeset 12048


Ignore:
Timestamp:
10/17/2009 05:01:07 PM (16 years ago)
Author:
westi
Message:

Ensure that Title is always set for plugin data as it was before. see #8964.

File:
1 edited

Legend:

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

    r12044 r12048  
    8080
    8181    $plugin_data = get_file_data( $plugin_file, $default_headers, 'plugin' );
     82
     83    //For backward compatibility by default Title is the same as Name.
     84    $plugin_data['Title'] = $plugin_data['Name'];
    8285
    8386    if ( $markup || $translate )
Note: See TracChangeset for help on using the changeset viewer.