WordPress.org

Make WordPress Core

Ticket #10814: 10814.patch

File 10814.patch, 997 bytes (added by hakre, 4 years ago)

Patch against current trunk

  • wp-admin/includes/plugin.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    4747 *              'TextDomain' - Plugin's text domain for localization. 
    4848 *              'DomainPath' - Plugin's relative directory path to .mo files. 
    4949 *              'Network' - Boolean. Whether the plugin can only be activated network wide. 
     50 *              '_sitewide' - Deprecated, use 'Network' instead. 
     51 *              'GUID' - Plugin's globally unique identifier. 
    5052 * 
    5153 * Some users have issues with opening large files and manipulating the contents 
    5254 * for want is usually the first 1kiB or 2kiB. This function stops pulling in 
     
    8385                'Network' => 'Network', 
    8486                // Site Wide Only is deprecated in favor of Network. 
    8587                '_sitewide' => 'Site Wide Only', 
     88                'GUID' => 'GUID', 
    8689        ); 
    8790 
    8891        $plugin_data = get_file_data( $plugin_file, $default_headers, 'plugin' );