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

Meta Box bad position on custom post types without editor #7371

Open
ffabbr opened this issue Oct 21, 2024 · 0 comments
Open

Meta Box bad position on custom post types without editor #7371

ffabbr opened this issue Oct 21, 2024 · 0 comments
Assignees
Milestone

Comments

@ffabbr
Copy link

ffabbr commented Oct 21, 2024

Description

When creating a custom post type with custom meta boxes while having the editor disabled, the default meta box position is the top right corner covering the save button. Meta boxes can be dragged around, but I'm not doing that for every meta box for every user.

Changing the meta box position setting unreliably fixes the issue, but nevertheless, the default behavior should be fixed.

Version

3.2.7.1

Testing Instructions

  1. Activate Pods
  2. Create a new post type
  3. Under "Advanced Options">"Supports" disable the editor for that post type
  4. Add custom fields
  5. Create new Post

Screenshots / Screencast

post-demo-short-short.mov

Possible Workaround

Changing the meta box position setting unreliably fixes the issue, but nevertheless, the default behavior should be fixed.

Site Health Information

`

wp-core

version: 6.6.2
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: local
user_count: 1
dotorg_communication: true

wp-paths-sizes

wordpress_path: /Users/fab/Local Sites/pods-demo/app/public
wordpress_size: 55.37 MB (58058034 bytes)
uploads_path: /Users/fab/Local Sites/pods-demo/app/public/wp-content/uploads
uploads_size: 0.00 B (0 bytes)
themes_path: /Users/fab/Local Sites/pods-demo/app/public/wp-content/themes
themes_size: 11.92 MB (12498415 bytes)
plugins_path: /Users/fab/Local Sites/pods-demo/app/public/wp-content/plugins
plugins_size: 9.28 MB (9729159 bytes)
fonts_path: /Users/fab/Local Sites/pods-demo/app/public/wp-content/uploads/fonts
fonts_size: directory not found
database_size: 2.19 MB (2293760 bytes)
total_size: 78.75 MB (82579368 bytes)

wp-active-theme

name: Twenty Twenty-Four (twentytwentyfour)
version: 1.2
author: the WordPress team
author_website: https://wordpress.org
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, widgets-block-editor, block-templates
theme_path: /Users/fab/Local Sites/pods-demo/app/public/wp-content/themes/twentytwentyfour
auto_update: Disabled

wp-themes-inactive (2)

Twenty Twenty-Three: version: 1.5, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Two: version: 1.8, author: the WordPress team, Auto-updates disabled

wp-plugins-active (2)

Classic Editor: version: 1.6.5, author: WordPress Contributors, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 3.2.7.1, author: Pods Framework Team, Auto-updates disabled

wp-media

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1808
imagemagick_version: ImageMagick 7.1.0-46 Q16 aarch64 5ef3d4d66:20220816 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 1000M
upload_max_filesize: 300M
max_effective_size: 300 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 32 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 7872
imagick::RESOURCETYPE_MAP: 32 GB
imagick::RESOURCETYPE_MEMORY: 16 GB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVIF, AVS, BAYER, BAYERA, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, FTXT, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, STRIMG, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X3F, XBM, XC, XCF, XPM, XPS, XV, YAML, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF
ghostscript_version: 9.56.1

wp-server

server_architecture: Darwin 24.0.0 arm64
httpd_software: nginx/1.16.0
php_version: 8.1.29 64bit
php_sapi: fpm-fcgi
max_input_variables: 4000
time_limit: 1200
memory_limit: 256M
max_input_time: 600
upload_max_filesize: 300M
php_post_max_size: 1000M
curl_version: 8.7.1 (SecureTransport) LibreSSL/3.3.6
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
current: 2024-10-21T17:29:49+00:00
utc-time: Monday, 21-Oct-24 17:29:49 UTC
server-time: 2024-10-21T17:29:48+00:00

wp-database

extension: mysqli
server_version: 8.0.16
client_version: mysqlnd 8.1.29
max_allowed_packet: 16777216
max_connections: 151

wp-constants

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /Users/fab/Local Sites/pods-demo/app/public/wp-content
WP_PLUGIN_DIR: /Users/fab/Local Sites/pods-demo/app/public/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: local
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

wp-filesystem

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: not writable

pods

pods-version: 3.2.7.1
pods-first-version: 3.2.7.1
pods-last-version: 3.2.7.1
pods-server-software: nginx/1.16.0
pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Safari/605.1.15
pods-session-save-path: undefined
pods-session-save-path-exists: No
pods-session-save-path-writable: No
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: Yes
pods-opcode-cache-redis: No
pods-object-cache-apc: No
pods-object-cache-apcu: No
pods-object-cache-memcache: No
pods-object-cache-memcached: No
pods-object-cache-redis: No
pods-memory-current-usage: 5.418M / 40M
pods-memory-current-usage-real: 8.000M
pods-network-wide: No
pods-install-location: /wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-relationship-table-enabled: Yes
pods-relationship-table-status: 0
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-can-use-sessions: No
pods-settings-types_only: Enable [types_only=0]
pods-settings-watch_changed_fields: Disable [watch_changed_fields=0]
pods-settings-metadata_integration: Disable [metadata_integration=0]
pods-settings-metadata_override_get: Disable [metadata_override_get=0]
pods-settings-register_meta_integration: Disable [register_meta_integration=0]
pods-settings-media_modal_fields: Enable [media_modal_fields=0]
pods-settings-session_auto_start: Disable [session_auto_start=0]
pods-settings-dynamic_features_allow: Enable [dynamic_features_allow=1]
pods-settings-dynamic_features_enabled: Display and Form [dynamic_features_enabled=display,form]
pods-settings-show_access_restricted_messages: Disable [show_access_restricted_messages=0]
pods-settings-show_access_admin_notices: Enable [show_access_admin_notices=1]
pods-settings-dynamic_features_allow_sql_clauses: Disable [dynamic_features_allow_sql_clauses=0]
pods-settings-display_callbacks: Customized [display_callbacks=customized]
pods-settings-display_callbacks_allowed: esc_attr,esc_html

`

Pods Package

{
"@meta": {
"version": "3.2.7.1",
"build": 1729531885
},
"settings": {
"types_only": "0",
"watch_changed_fields": "0",
"metadata_integration": "0",
"metadata_override_get": "0",
"register_meta_integration": "0",
"media_modal_fields": "0",
"session_auto_start": "0",
"dynamic_features_allow": "1",
"dynamic_features_enabled": [
"display",
"form"
],
"show_access_restricted_messages": "0",
"show_access_admin_notices": "1",
"dynamic_features_allow_sql_clauses": "0",
"display_callbacks": "customized",
"display_callbacks_allowed": "esc_attr,esc_html",
"wisdom_opt_out": "1",
"active_components": [
"migrate-packages",
"templates"
]
},
"pods": [
{
"name": "track",
"id": 13,
"label": "tracks",
"description": "",
"type": "post_type",
"storage": "meta",
"label_singular": "track",
"public": "1",
"show_ui": "1",
"publicly_queryable": "0",
"dynamic_features_allow": "inherit",
"rest_enable": "1",
"supports_title": "1",
"supports_editor": "1",
"_migrated_28": "1",
"supports_quick_edit": "1",
"groups": [
{
"name": "more_fields",
"id": 14,
"label": "More Fields",
"description": "",
"weight": 0,
"roles_allowed": "administrator",
"meta_box_context": "side",
"meta_box_priority": "high",
"fields": [
{
"name": "track_length",
"id": 15,
"label": "track length",
"description": "",
"weight": 0,
"type": "number",
"number_format_type": "number",
"number_format": "i18n",
"number_decimals": "0",
"number_format_soft": "0",
"number_step": "1",
"number_max_length": "12",
"number_html5": "0",
"repeatable": "0",
"repeatable_format": "default",
"default_evaluate_tags": "0",
"default_empty_fields": "0",
"roles_allowed": "administrator",
"revisions_revision_field": "0",
"enable_conditional_logic": "0",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"required": "0"
}
]
},
{
"name": "demo",
"id": 17,
"label": "demo",
"description": "",
"weight": 1,
"roles_allowed": "administrator",
"meta_box_context": "side",
"meta_box_priority": "default",
"fields": [
{
"name": "plot",
"id": 18,
"label": "plot",
"description": "",
"weight": 0,
"type": "paragraph",
"paragraph_allowed_html_tags": "strong em a ul ol li b i",
"paragraph_max_length": "-1",
"repeatable": "0",
"repeatable_format": "default",
"default_evaluate_tags": "0",
"default_empty_fields": "0",
"roles_allowed": "administrator",
"revisions_revision_field": "0",
"enable_conditional_logic": "0",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"required": "0"
}
]
}
]
}
]
}

@sc0ttkclark sc0ttkclark self-assigned this Oct 21, 2024
@sc0ttkclark sc0ttkclark added this to the Pods 3.2.8 milestone Oct 21, 2024
@sc0ttkclark sc0ttkclark modified the milestones: Pods 3.2.8, Next Release Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants