Here is a small patch to make media file URLs mapped:
add_filter( ‘wp_get_attachment_url’, ‘domain_mapping_post_content’ );
If you go into Media > Edit, you will see the File URL off to the side. Without this filter, the FIle URL shows the original multisite path.
- The topic ‘Small patch for next update – media file URLs’ is closed to new replies.