Support » Plugin: Simple Image Sizes » Media resize settings should list all non built-in post types

  • Sometimes custom post type doesn’t have post-thumbnail support. But image attachments have thumbnail support.
    For this reason all non built-in post types should be listed for filtering.

    Not sure how, but consider to rethink the section in options-media.php#L81
    // Avoid the post_types without post thumbnails feature

    Also, the logic should be the otherway around in the IF:

    // if( !array_key_exists( 'thumbnail' , $_wp_post_type_features[$ptype->name] ) || $_wp_post_type_features[$ptype->name] == false ) {
    
    if( $_wp_post_type_features[$ptype->name] == false || !array_key_exists( 'thumbnail' , $_wp_post_type_features[$ptype->name] ) ) {

    http://wordpress.org/extend/plugins/simple-image-sizes/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Media resize settings should list all non built-in post types’ is closed to new replies.