From 1707c604f485cc9081deee8769cc5e23cf92de6a Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Sun, 24 Mar 2024 21:18:14 -0500 Subject: [PATCH] Ensure revision settings only show for Post Types with Meta storage --- src/Pods/Admin/Config/Field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pods/Admin/Config/Field.php b/src/Pods/Admin/Config/Field.php index 4ed3162846..6b82804ac7 100644 --- a/src/Pods/Admin/Config/Field.php +++ b/src/Pods/Admin/Config/Field.php @@ -462,7 +462,7 @@ public function get_fields( \Pods\Whatsit\Pod $pod, array $tabs ) { ], ]; - if ( 'meta' === $pod->get_storage() ) { + if ( 'post_type' === $pod->get_type() && 'meta' === $pod->get_storage() ) { $options['advanced']['other_options'] = [ 'name' => 'other_options', 'label' => __( 'Other Options', 'pods' ),