[wp-trac] [WordPress Trac] #28748: Add an action hook before file loading process for Multisite medias starts in wp-includes/ms-files.php
WordPress Trac
noreply at wordpress.org
Fri Jul 4 11:40:36 UTC 2014
#28748: Add an action hook before file loading process for Multisite medias starts
in wp-includes/ms-files.php
-------------------------+-----------------------------
Reporter: ShinichiN | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: multisite |
-------------------------+-----------------------------
My suggestion is adding a action hook in wp-includes/ms-files.php so that
plugins can stop or do something before the file loading process begins.
I wanted to limit access to files if visitor is not logged in to the
network.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28748>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list