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

IMAGE ADVANCED #1321

Open
gersedano opened this issue Jul 18, 2019 · 1 comment
Open

IMAGE ADVANCED #1321

gersedano opened this issue Jul 18, 2019 · 1 comment

Comments

@gersedano
Copy link

Hello.

After update version 4.17.2 when I use Image advance metabox don't check mime type and allow to use other types of files

		// IMAGE ADVANCED (WP 3.5+)
		array(
			'name'             => __( 'Imágenes', 'test' ),
			'id'               => "{$prefix}imagenes",
			'type'             => 'file_advanced',
			'max_file_uploads' => 5,
			'mime_type'        => 'image/jpeg', // Leave blank for all file types
			'desc'     => __( 'La primera imagen será la destacada. Sólo se mostrarán si son en formato jpg', 'test' ),
		),

In this example, editor don't show other file type, but if upload other extension, allow me to save it.

Thanks

Captura de pantalla 2019-07-18 a las 13 13 57

@gersedano
Copy link
Author

If fails in image advance and file advance

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

No branches or pull requests

1 participant