WordPress.org

Make WordPress Core

Changeset 9499


Ignore:
Timestamp:
11/03/08 19:16:29 (6 years ago)
Author:
azaozz
Message:

Add slash to the path when loading translations for default TinyMCE plugins from the plugins directory, fixes #7994

File:
1 edited

Legend:

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

    r9497 r9499  
    11201120 
    11211121                    if ( function_exists('realpath') ) 
    1122                         $path = realpath($path); 
     1122                        $path = trailingslashit( realpath($path) ); 
    11231123 
    11241124                    if ( is_file($path . $mce_locale . '.js') ) 
Note: See TracChangeset for help on using the changeset viewer.