| 2029 | | if ( isset( $fixed_schemas[ $this->post_type ] ) && ! in_array( $attribute, $fixed_schemas[ $this->post_type ], true ) ) { |
| 2030 | | continue; |
| 2031 | | } elseif ( ! isset( $fixed_schemas[ $this->post_type ] ) && ! post_type_supports( $this->post_type, $attribute ) ) { |
| 2032 | | continue; |
| | 2029 | if ( |
| | 2030 | ( ! isset( $fixed_schemas[ $this->post_type ] ) ) || |
| | 2031 | ( |
| | 2032 | isset( $fixed_schemas[ $this->post_type ] ) && |
| | 2033 | ! in_array( $attribute, $fixed_schemas[ $this->post_type ], true ) |
| | 2034 | ) |
| | 2035 | ) { |
| | 2036 | if ( ! post_type_supports( $this->post_type, $attribute ) ) { |
| | 2037 | continue; |
| | 2038 | } |