• gersedano

    (@gersedanogmailcom)


    Hello.

    After update version 4.17.2 when I use Image/File 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

  • The topic ‘Error in image/file advanced’ is closed to new replies.