pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

[Pods 2.8 Bug] Default post status is empty for Post Type pods #6164

Closed dmccan closed 3 years ago

dmccan commented 3 years ago

Pods 2.8 version RC2

Pods 2.8 version RC2

Description

When creating a pod, on the advanced options screen, there is a drop down for Default Status. The drop down is empty.

Testing instructions

Create a new CPT Pod, save, edit and go to the advanced options screen. Check the Default Status.

Expected behavior

Not sure, but was expecting a list of possible post status options.

Screenshots / screencast

image

Possible workaround

NA

Other super helpful information

NA

WordPress 5.8.1. Blocksy Theme. Localhost. PHP 7.4.24. ``` Copy and paste your Tools > Site Health > Info. ` ### wp-core ### version: 5.8.1 site_language: en_US user_language: en_US timezone: America/Chicago permalink: /%postname%/ https_status: false multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: E:\laragon\www\pods wordpress_size: 43.72 MB (45839123 bytes) uploads_path: E:\laragon\www\pods/wp-content/uploads uploads_size: 59.99 KB (61430 bytes) themes_path: E:\laragon\www\pods/wp-content/themes themes_size: 9.42 MB (9882671 bytes) plugins_path: E:\laragon\www\pods/wp-content/plugins plugins_size: 49.19 MB (51580834 bytes) database_size: 6.34 MB (6651904 bytes) total_size: 108.73 MB (114015962 bytes) ### wp-active-theme ### name: Blocksy (blocksy) version: 1.8.6.2 author: CreativeThemes author_website: https://creativethemes.com parent_theme: none theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, responsive-embeds, html5, title-tag, custom-logo, lifterlms-sidebars, boostify-header-footer, fl-theme-builder-headers, fl-theme-builder-footers, fl-theme-builder-parts, editor-gradient-presets, editor-color-palette, post-thumbnails, menus, align-wide, customize-selective-refresh-widgets, header-footer-elementor, widgets theme_path: E:\laragon\www\pods/wp-content/themes/blocksy auto_update: Disabled ### wp-themes-inactive (1) ### Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled ### wp-plugins-active (3) ### Blocksy Companion (Premium): version: 1.8.9.2, author: CreativeThemes, Auto-updates disabled Pods - Custom Content Types and Fields: version: 2.8.0-rc.1, author: Pods Framework Team, Auto-updates disabled WP Reset PRO: version: 6.00, author: WebFactory Ltd, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 2G upload_max_filesize: 2G max_effective_size: 2 GB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: not available ### wp-server ### server_architecture: Windows NT 10.0 AMD64 httpd_software: Apache/2.4.49 (Win64) OpenSSL/1.1.1l PHP/7.4.24 php_version: 7.4.24 64bit php_sapi: apache2handler max_input_variables: 1000 time_limit: 36000 memory_limit: 512M max_input_time: 60 upload_max_filesize: 2G php_post_max_size: 2G curl_version: 7.70.0 OpenSSL/1.1.1l suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: false ### wp-database ### extension: mysqli server_version: 5.7.19 client_version: mysqlnd 7.4.24 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: E:\laragon\www\pods/wp-content WP_PLUGIN_DIR: E:\laragon\www\pods/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 512M 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_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable ### pods ### pods-server-software: Apache/2.4.49 (Win64) OpenSSL/1.1.1l PHP/7.4.24 pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.99 Safari/537.36 pods-session-save-path: E:/laragon/tmp pods-session-save-path-exists: Yes pods-session-save-path-writable: Yes pods-session-max-lifetime: 36000 pods-opcode-cache-apc: No pods-opcode-cache-memcached: No pods-opcode-cache-opcache: No 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: 46.534M pods-memory-current-usage-real: 12.000M pods-network-wide: No pods-install-location: E:\laragon\www\pods\wp-content\plugins\pods/ pods-developer: No pods-tableless-mode: No pods-relationship-table-enabled: Yes pods-light-mode: No pods-strict: No pods-allow-deprecated: Yes pods-api-cache: Yes pods-shortcode-allow-evaluate-tags: No pods-sessions: Disable sessions pods-can-use-sessions: Yes ` ```
Pods Package Export ```json { "meta": { "version": "2.8.0-rc-2", "build": 1633579520 }, "pods": [ { "name": "book", "id": 6, "label": "Books", "description": "", "type": "post_type", "storage": "meta", "label_singular": "Book", "public": "1", "show_ui": "1", "rest_enable": "1", "supports_title": "1", "supports_editor": "1", "rest_route": "\/pods\/v1\/pods\/6", "show_in_menu": "1", "show_in_nav_menus": "1", "menu_name": "Books", "menu_position": "20", "menu_icon": "dashicons-book", "show_in_admin_bar": "1", "publicly_queryable": "1", "capability_type": "post", "has_archive": "1", "can_export": "1", "supports_thumbnail": "1", "supports_excerpt": "1", "supports_comments": "1", "supports_revisions": "1", "pfat_enable": "0", "pfat_single": "Book Single", "pfat_append_single": "replace", "pfat_filter_single": "the_content", "pfat_archive": "Book Archive", "pfat_append_archive": "replace", "pfat_filter_archive": "the_excerpt", "read_all": "1", "write_all": "1", "built_in_taxonomies_genre": "1", "groups": [ { "name": "book_fields", "id": 7, "label": "Book Fields", "description": "", "weight": 0, "rest_route": "\/pods\/v1\/groups\/7", "meta_box_context": "normal", "meta_box_priority": "default", "roles_allowed": "administrator", "fields": [ { "name": "link_to_authors_website", "id": 8, "label": "Link to author's website", "description": "", "weight": 0, "type": "website", "sister_id": "-- Select One --", "rest_route": "\/pods\/v1\/fields", "required": "0", "website_format": "normal", "website_allow_port": "0", "website_clickable": "0", "website_new_window": "0", "website_max_length": "255", "website_html5": "0", "roles_allowed": "administrator", "rest_pick_response": "array", "rest_pick_depth": "1", "rest_read": "1", "rest_write": "1" }, { "name": "authors_photo", "id": 9, "label": "Author's photo", "description": "", "weight": 1, "type": "file", "sister_id": "-- Select One --", "rest_route": "\/pods\/v1\/fields", "required": "0", "file_format_type": "single", "file_uploader": "attachment", "file_attachment_tab": "upload", "file_upload_dir": "wp", "file_edit_title": "1", "file_show_edit_link": "0", "file_linked": "0", "file_limit": "0", "file_restrict_filesize": "10MB", "file_type": "images", "file_field_template": "rows", "file_add_button": "Add Photo", "file_modal_title": "Attach a photo", "file_modal_add_button": "Add Photo", "roles_allowed": "administrator", "rest_pick_response": "array", "rest_pick_depth": "1", "rest_read": "1", "rest_write": "1" } ] } ] }, { "name": "genre", "id": 11, "label": "Genres", "description": "Genres for Books", "type": "taxonomy", "storage": "meta", "label_singular": "Genre", "public": "1", "show_ui": "1", "hierarchical": "0", "rest_enable": "1", "rest_route": "\/pods\/v1\/pods\/11", "show_in_menu": "1", "menu_name": "Genres", "menu_location": "default", "show_tagcloud": "1", "show_in_quick_edit": "1", "show_admin_column": "1", "built_in_post_types_book": "1", "capability_type": "default", "read_all": "1", "write_all": "1", "groups": [ { "name": "more_fields", "id": 12, "label": "More Fields", "description": "", "weight": 0, "fields": [] } ] } ] } ```
sc0ttkclark commented 3 years ago

Fixed via https://github.com/pods-framework/pods/commit/b03c9cef476c4e6ac44024621230eb511acef047