WordPress.org

Make WordPress Core

Ticket #11679: 11679.diff

File 11679.diff, 570 bytes (added by nacin, 8 years ago)
  • l10n.php

     
    367367 * @param string $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR. This is the preferred argument to use. It takes precendence over $abs_rel_path
    368368 */
    369369function load_plugin_textdomain( $domain, $abs_rel_path = false, $plugin_rel_path = false ) {
     370        if ( false !== $abs_rel_path )
     371                _deprecated_argument( __FUNCTION__, '2.7' );
     372
    370373        $locale = get_locale();
    371374
    372375        if ( false !== $plugin_rel_path )