Last active
November 3, 2020 14:14
-
-
Save oddevan/58c1a6a3b83311e05463ea883fb12719 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function proxy_deviantart_oembed_security() { | |
// Should only be used by logged-in users capable of using the editor. | |
return current_user_can( 'edit_posts' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment