Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AvatarDimensionLimitService and AvatarExistsLimitService only affect Multi-Uploader #64

Open
kraftner opened this issue Nov 22, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@kraftner
Copy link
Member

As we only check for the POST variables which are not present when using the single-file browser uploader both always bail out early.

$screen = filter_input( INPUT_POST, 'screen_id', FILTER_SANITIZE_STRING );
if ( ! in_array( $screen, [ 'profile', 'user-edit' ], TRUE ) )

and
$screen = filter_input( INPUT_POST, 'screen_id', FILTER_SANITIZE_STRING );
if ( ! in_array( $screen, [ 'profile', 'user-edit' ], TRUE ) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant