Ticket #13437: 13437.patch

File 13437.patch, 532 bytes (added by hakre, 3 years ago)
  • wp-includes/link-template.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    19631963        if ( !empty($path) && is_string($path) && strpos($path, '..') === false ) 
    19641964                $url .= ltrim($path, '/'); 
    19651965 
    1966         return apply_filters('admin_url', $url, $path, $blog_id); 
     1966        return (string) apply_filters('admin_url', $url, $path, $blog_id); 
    19671967} 
    19681968 
    19691969/**