Make WordPress Core

Changeset 36283


Ignore:
Timestamp:
01/13/2016 01:55:42 PM (9 years ago)
Author:
ocean90
Message:

Plugins: In _get_plugin_data_markup_translate() remove the fallback to the "default" textdomain for Akismet.

Akismet has its own language files since WordPress 3.9.

Props jrf.
Fixes #35436.

File:
1 edited

Legend:

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

    r36282 r36283  
    125125                }
    126126            }
    127         } elseif ( in_array( basename( $plugin_file ), array( 'hello.php', 'akismet.php' ) ) ) {
     127        } elseif ( 'hello.php' == basename( $plugin_file ) ) {
    128128            $textdomain = 'default';
    129129        }
Note: See TracChangeset for help on using the changeset viewer.