Pods is a development framework for creating, extending, managing, and deploying customized content types in WordPress.

Overview

Pods Framework

Travis License

WordPress Plugin version WordPress Plugin WP tested version WordPress Plugin downloads WordPress Plugin rating

Project Stats Bountysource Bounties

Pods is a development framework for creating, extending, managing, and deploying customized content types in WordPress.

Description

Check out https://pods.io/ for our User Guide and many other resources to help you develop with Pods.

For detailed setup instructions, visit the official Documentation page.

  1. You can clone the GitHub repository: https://github.com/pods-framework/pods.git
  2. Or download it directly as a ZIP file: https://github.com/pods-framework/pods/archive/main.zip

This will download the latest stable copy of Pods Framework.

Get Support / Help

This is where we develop Pods Framework itself and should not be used for support questions. Please visit the WordPress.org support forums or join our Slack. We have a support page that outlines everything for our plugins.

Reporting Bugs

If you find an issue that you believe to be a bug, let us know.

Contributions Welcome

Anyone is welcome to contribute to Pods Framework. Please read the guidelines for contributing to this repository.

There are various ways you can contribute:

  1. Raise an Issue on GitHub
  2. Send us a Pull Request with your bug fixes and/or enhancements
  3. Translate Pods Framework into different languages via WP Translate, just sign in with your wordpress.org account and add translations where you can
  4. Provide feedback and suggestions on enhancements

Donations

We're able to focus more on Pods when we have some cash to help keep the lights on, want to help? Become a Friend of Pods!

Want to help make sure a specific bug, enhancement, or feature gets done ASAP? Try creating a bounty over at Bountysource.

Developer Notes

  • Stable Branch: main is the latest release
  • Release Branches: release/x.x.x holds the code we are working on for each release that is not yet complete

Please submit all pull requests against the main branch.

Comments
  • Loop Field Type

    Loop Field Type

    Description modified September 1st, 2015 and July 4th, 2022 by @sc0ttkclark

    Feature Summary

    A loop field will be a field that contains other fields. For example a Pod called 'book' could have a loop field called 'chapters', which had its own set of fields such as, 'chapter_title', 'chapter_content', 'chapter_start_page' and 'chapter_end_page'. An item in the book Pod, could have as many entires in the chapters field as necessary, and each one would have its own set of fields, with their own values.

    A lot of planning has gone into this feature, but its implementation has been delayed. Performance improvements that we plan to address in 2.3.19 and 3.0 have been prioritized over loop fields as they are essential for proper implementation of loop fields.

    Work to be done (needs to be revisited)

    • [x] Design Loop Field workflows (@curtismchale)
    • [x] Mockup Loop Field workflows (@curtismchale)
    • [x] Develop prototype, minus JS for fields (@curtismchale)
    • [ ] Refactor and clean up CMB2 structures to support nested fields (@pglewis, @sc0ttkclark)
    • [ ] Refactor and clean up field type JS for group fields to support better nesting (@jtsternberg, @sc0ttkclark)
    • [ ] Test and finish up saving process and storage handling for table/meta storage types (@sc0ttkclark)
    • [ ] Test and finish up field() / display() for getting data out of loop field (@sc0ttkclark)
    • [ ] Add field traversal for loop field data arrays (@sc0ttkclark)
    • [ ] Create Unit tests (@pglewis, @sc0ttkclark)
    • [ ] Write Documentation page (@shelob9)

    We are actively seeking contributors for any of the open tasks above, please hop in and help out if you're interested! If you are unsure of how to get started or have any questions, feel free to ask @sc0ttkclark here or at http://pods.io/chat/) for help getting started.

    Original issue summary

    Hello pods team, I'm using magic fields 2.0 which contains features like "add another field" and "add another group" type of fields. Yesterday one of my internet friend recommended pods 2.0. I tested it and i really love it. Magic fields 2.0 stores the data as metadata. I'll get performance issue. Thats why i would like to use pods 2.0. Pods satisfies me everything except that "add another field" and "add another group" type of field.

    Here is the snapshot of what i'm asking Before duplicating the field: http://wiki.magicfields.org/lib/exe/fetch.php?media=v2_field_duplicate_post.jpg

    After duplicating the field: http://wiki.magicfields.org/lib/exe/fetch.php?media=v2_field_duplicate_complete.jpg

    Before duplicating the group: http://wiki.magicfields.org/lib/exe/fetch.php?media=v2_group_duplicate_post.jpg

    After duplicating the group: http://wiki.magicfields.org/lib/exe/fetch.php?media=v2_group_duplicate_remove.jpg

    Does pods 2.x has that feature and as a pods newbie am i missing something?

    Type: Feature Keyword: Focus 
    opened by viruthagiri 138
  • Repeatable / Loop Field Design

    Repeatable / Loop Field Design

    This is to track design progress for #109, #291, and #1095.

    Design Constraints

    1. Maximum 3 Levels of loop fields
    2. 2nd and 3rd level indented
    3. 3 fields on rows when minimized. First 3 if not customized
    4. Which fields (from 3) are shown can be customized from the loop field options
    Type: Feature 
    opened by sc0ttkclark 73
  • No admin menu when saving custom post type with Pods API

    No admin menu when saving custom post type with Pods API

    Hello!

    The following code creates and saves a Custom Post Type called "Fitness Classes". If I want a menu to appear in the Admin sidebar, I have to navigate to Pods Admin > Fitness Classes > Save Pod. No problem with Advanced Content Types, only Custom Post Types.

        $fields = array( 
    
            array(
    
                'name' => 'schedule',
                'label' => 'Schedule',
                'type' => 'file'
    
            )
    
        );
    
        $options = array(
    
            'label_singular' => 'Class',
            'show_in_menu' => 1,
            'supports_title' => 1,
            'supports_editor' => 1,
            'supports_thumbnail' => 1,
            'supports_excerpt' => 1,
            'built_in_taxonomies_fitnesscategories' => 1,
            'capability_type' => 'page'
    
    
        );
    
        $p = array(
    
            'name' => 'fitnessclasses',
            'type' => 'post_type',
            'label' => 'Fitness Classes',
            'storage' => 'table',           
            'fields' => $fields,
            'options' => $options
    
        );
    
        if (!$api->pod_exists(array('name' => $p['name']))) $api->save_pod($p);
    
    Type: Bug 
    opened by c0rnbread 63
  • Template Compontent: No content Box

    Template Compontent: No content Box

    Hi,

    In the Template component field, I don't have a content box to enter any content. I used to have one but not anymore. I checked the screen options on top and there is no field to apply there either. I have the following information saved, I tried disabling all the plugins except pods and still no effect, its the same thing in all browsers:

    Debug Information WordPress Version: 3.9.1 PHP Version: 5.2.17 MySQL Version: 5.1.73 Server Software: Apache Your User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 Session Save Path: /tmp Session Save Path Exists: Yes Session Save Path Writeable: Yes Session Max Lifetime: 1440 WPDB Prefix: wp_ WP Multisite Mode: No WP Memory Limit: 40M Pods Network-Wide Activated: No Pods Install Location: /home/metro/public_html/wp-content/plugins/pods/ Pods Tableless Mode Activated: No Pods Light Mode Activated: No Currently Active Theme: Genesis Child Theme Currently Active Plugins: Captcha: 4.0.1 Contact Form 7: 3.8.1 Content Aware Sidebars: 2.2.1 GARD Pro: 2.4.1 heatmap for WordPress: 0.2.1 Pods - Custom Content Types and Fields: 2.4 Preserved HTML Editor Markup: 1.5 Rank Tracker: 1.9 Redirection: 2.3.4 SEO Booster 2: 2.0.8 Wordfence Security: 5.0.9 WordPress Front-end Editor: 0.10 Wordpress Popular Posts: 2.3.7 WordPress SEO: 1.5.3.2 WP Lightbox 2: 2.28.8.5 WPSocialite: 2.4.1

    Type: Bug 
    opened by asap247 55
  • [Pods 2.8 Bug] testing on site using WPML gives error

    [Pods 2.8 Bug] testing on site using WPML gives error

    Pods 2.8 version

    version of Pods 2.8 running is: "2.8.0-b-1"

    Description

    Seems Pods 2.8 is not ready to use in production with WPML. I updated the plugin in our preproduction site and we are getting this:

    string(1196) "Database Error; SQL: SELECT

                DISTINCT
                `t`.*
                FROM `wp_posts` AS `t`
                
                    LEFT JOIN `wp_postmeta` AS `director` ON
                        `director`.`meta_key` = 'director'
                        AND `director`.`post_id` = `t`.`ID`
                
                
    					LEFT JOIN `wp_icl_translations` AS `wpml_translations`
    						ON `wpml_translations`.`element_id` = `t`.`ID`
    							AND `wpml_translations`.`element_type` = 'post_empleado'
    							AND `wpml_translations`.`language_code` = 'en'
    				
                
    					LEFT JOIN `wp_icl_languages` AS `wpml_languages`
    						ON `wpml_languages`.`code` = `wpml_translations`.`language_code` AND `wpml_languages`.`active` = 1
    				
                WHERE ( ( `director`.`meta_value` = 1 ) AND ( `t`.`post_type` = "empleado" ) AND ( `wpml_languages`.`code` IS NOT NULL ) AND ( `t`.`post_status` IN ( "publish" ) ) )
                
                
                ORDER BY `order`.`meta_value` ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`
                LIMIT 0, 15; Response: Unknown column 'order.meta_value' in 'order clause'"
    

    Just copied one of the errors. In that page you'll see one more.

    Testing instructions

    To see the problem in action check our preproduction site here: https://webpre.codeoscopic.com/en/group/

    and you'll see the string above printed on the page.

    Also in the "Management Team" section is empty. There we should get the management team employees info and then below a list of employees info.

    This problem can be seen in the rest of pages using pods like "investors" and "clients", and "work with us" (link in the footer). In this one I see a reduced error:

    string(20) "Objeto no encontrado"

    That means "Object not found", so this could be related to pods not using now "Object"

    Expected behavior

    just to work as before. You can see the right output here in the production site with released pods version: https://codeoscopic.com/en/group/

    In the current status I'll not be able to upgrade from pods 2.7 to 2.8. Hope a solution could be found in this beta time frame.

    Possible workaround

    No one found

    Other super helpful information

    WPML is using the all plugins at its latest official released version.

    Thanks

    Type: Bug Focus: Back Compat Focus: i18n Keywords: Regression 
    opened by carlosrovira 54
  • 'open_basedir restriction in effect' error after upgrade to 2.3.12.

    'open_basedir restriction in effect' error after upgrade to 2.3.12.

    Two users in this thread report this error in backend:

    Warning: file_exists(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/var/www/vhosts/mysite.com/:/tmp/) in /var/www/vhosts/mysite.com/dev2/wp-content/plugins/pods/includes/general.php on line 1791

    I can not reproduce issue. But, second user who reports issue believes problem is related to using cloud hosting with sessions stored in memory not files.

    Type: Enhancement 
    opened by Shelob9 49
  • GitHub Labels

    GitHub Labels

    Latest Proposed Version

    Closed: Could not reproduce
    Closed: Duplicate
    Closed: Invalid
    Closed: Out of scope
    ?Closed: Won't Fix
    
    Component: CSS
    Component: DFV
    Component: Front-end Forms
    Component: Multisite
    Component: Pods Templates/Magic Tags
    Component: REST API
    Component: UI
    Component: Unit Testing
    ?Component: WP Admin
    
    Focus: Accessibility
    Focus: Backward Compatibility
    Focus: Deprecation
    Focus: Other Compatibility (shortened from Third Party Compatibility)
    Focus: I18n
    Focus: Integration
    Focus: Performance
    
    Keyword: Discussion
    Keyword: Focus
    Keyword: Forums
    Keyword: Friends of Pods Priority
    Keyword: Good First Issue
    Keyword: Has Bounty
    Keyword: Plugin Material
    Keyword: Puntable
    Keyword: Regression
    Keyword: VIP
    
    Priority: Blocker
    
    Type: Bug
    Type: Code Standards
    Type: Inline Documentation
    Type: Enhancement
    Type: Feature
    Type: Refactor
    Type: Release
    Type: Support
    Type: Tools
    
    Status: Fixed / Needs Testing
    Status: Help Wanted
    Status: Hold
    Status: In progress
    Status: Needs Developer Feedback
    Status: Needs Research
    Status: Needs Tasklist
    Status: Needs Test(s)
    Status: Needs User Feedback
    Status: Needs Reproduction
    Status: Needs Votes
    Status: Pulled for Review
    Status: Ready for merge
    Status: Ready for review
    Status: Researched
    Status: Unit Tested
    Status: Reproduced
    

    Original Post

    How fixed are the Issue labels on the Pods repo?

    As a fresh set of eyes, the labels are overwhelming and a bit of a muddle.

    Here's the full list, alphabetical:

    View alphabetical list
    Accessibility
    Backward Compatibility
    BLOCKER
    Bug
    Clean up / refactor
    Compatibility/Deprecation
    Compatibility
    Could not reproduce
    CSS
    Discussion
    Docs Improvements
    Docs: Inline
    Duplicate
    Enhancement
    Feature
    Fixed / Needs Testing
    Focus
    Forums
    Friends of Pods
    Front-end Forms
    Good First Issue
    Has Bounty
    Help Wanted
    Hold
    i18n
    in progress
    Integration
    Needs Changelog
    Needs Developer Feedback
    Needs Research
    Needs Tasklist
    Needs Unit Test(s)
    Needs User Feedback
    Needs Verification/Reproduction
    Needs Votes
    Out of scope
    Patch: Manually Merged
    Patch
    Performance
    Plugin Material
    Pods Templates/Magic Tags
    Pulled for Review
    Puntable
    Ready for merge
    Ready for review
    Regression
    Release
    Researched
    REST API
    Site Admin
    Support
    Team Discussion
    Tools
    UI
    Unit Tested
    Unit Testing
    Verified/Reproduced
    VIP
    

    If these labels were renamed to lead with a category, then they'll not only be a bit more clarified, but grouped as well. Here's a first-pass at such a list, as an example:

    View proposal ``` Component: CSS Component: Forums Component: Front-end Forms Component: Pods Templates/Magic Tags Component: REST API Component: Site Admin Component: UI Component: Unit Testing

    Focus: Accessibility Focus: Backward Compatibility Focus: Compatibility/Deprecation Focus: Compatibility Focus: i18n Focus: Integration Focus: Performance

    Keyword: Discussion Keyword: Focus Keyword: Friends of Pods Keyword: Good First Issue Keyword: Has Bounty Keyword: Patch: Manually Merged Keyword: Patch Keyword: Plugin Material Keyword: Puntable Keyword: Release Keyword: Support Keyword: Team Discussion Keyword: Tools Keyword: VIP

    Priority: BLOCKER

    Type: Bug Type: Clean up / refactor Type: Docs Improvements Type: Docs: Inline Type: Enhancement Type: Feature Type: Regression

    Status: Could not reproduce Status: Duplicate Status: Fixed / Needs Testing Status: Help Wanted Status: Hold Status: in progress Status: Needs Changelog Status: Needs Developer Feedback Status: Needs Research Status: Needs Tasklist Status: Needs Unit Test(s) Status: Needs User Feedback Status: Needs Verification/Reproduction Status: Needs Votes Status: Out of scope Status: Pulled for Review Status: Ready for merge Status: Ready for review Status: Researched Status: Unit Tested Status: Verified/Reproduced

    </summary>
    
    Now, for any Issue, you know that it should have exactly one type, optional focus, optional component (or increase the number of components to cover them all and make it required), optional keyword and at least one status, for instance.
    
    Some of those `Status:` entries could be changed to a `Closed`, and a couple of typical ones added (the lack of Invalid is what started me on this):
    
    

    Closed: Could not reproduce Closed: Duplicate Closed: Invalid Closed: Out of scope Closed: Won't Fix

    I guess there may have to be some changes / leniency for any bots, but otherwise the colors can stay the same (or be amended, like all Components are shades of one color, all types are another, etc.), rest of the label wordings can stay, but administration is made easier by grouping the labels.
    
    Thoughts? @pods-framework/core-team 
    opened by GaryJones 46
  • One to many becomes many to many

    One to many becomes many to many

    wordpress version: 3.5.1 pods version: 2.2

    By using the bi-directional relationship for a one-to-many relationship there is a way to structurally insert wrong data in the database. In db the relationship becomes many-to-many then, but the described user interface for the pod can't display 'many' in that case.

    I'll give a short example of how the data can be manipulated the wrong way:

    I have multiple bikes ... bikes belong to just one group, either they are 'race' or 'MTB' (and can't be both). Off course, a group can have multiple bikes. I create a pod 'Bike' and a pod 'Group'. On Bike level I add a pod relation field 'Group' with 'Single select' as selection type. This way I can tell a bike is either a 'race' or a 'MTB' bike. On the 'Group' pod there is a relation field to 'Bike' ('multiple select' with check boxes to show/select all bikes of this group). On both sides, I configure the 'Bi-directional' relationship.

    Now if on Bike level (lets say on instance race_bike_1) I choose the group 'race' (drop down for single select). Now, if I take a look a the 'group' race, data is correct (bike 'race_bike_1' is checked). Go to next group 'MTB', data still correct (bike 'race_bike_1' is not checked'). Now, at this stage, if you select the box here (make race_bike_1 a MTB), and press save, at both groups the same bike is checked, which is not possible because at the other side (bike side) only a single value for group can be shown.

    In the database link table (wp_podsrel) you can see the bi-directional relationship is created for both groups now (so, 4 link records):

    • from 'race_bike_1' to group 'MTB'
    • from group 'MTB' to 'race_bike_1'
    • from 'race_bike_1' to group 'race'
    • from group 'race' to 'race_bike_1'

    So, in the database, this became a many-to-many relationship: a group can have multiple bikes, a bike exists in multiple groups. On the Bike side off course only one group is shown (the dropdown for single select can only show one group).

    It's very easy to reproduce.

    I guess this is a bug. Or am I doing something wrong? Is my one to many setup wrong?

    Best regards Maarten van Loon

    Type: Bug 
    opened by MaartenvanLoon 43
  • New Field Type: Address / Map

    New Field Type: Address / Map

    Supports Google Maps JS / Static maps and Geocoding; Support for Bing later on

    PR & Task List #3634

    Old:

    Task List

    • [x] Component
    • [x] Custom Field Type
    • [x] Admin Options for Component
    • [x] Admin Options for Fields
    • [x] Input styles for Address field group and Map
    • [x] Output functions for address and maps
    • [ ] UI method for when listed table item list (PodsUI)
    • [x] Zip Code field that allows leading zeros (international)

    Additional tasks

    • [x] Fix integration of the Google Maps API
    • [x] Display field options (backend and frontend)
    • [ ] Make sure code is set for easy integration of possible other map types (OpenStreetMap for example)
    • [ ] Loads of testing with different configurations and switching between them
    • [ ] Test with Pods templates and other functions
    Type: Feature Keyword: Focus Status: In Progress 
    opened by sc0ttkclark 42
  • Link field work and improvements

    Link field work and improvements

    Is it possible to add a Link field to Pods? Would be a bit similar to a Website field I think.

    • URL (possible with the Link feature from wordpress itself so you can select the page to link to.
    • Title
    • Target

    Could be separate metadata in the database or a serialized array.

    Last items for Pods 2.7 #4068

    • [x] What to do if the user changes the field type from Website to Link and vice versa? See: https://github.com/JoryHogeveen/pods-link-field/blob/master/classes/fields/link.php#L252-L255
    • [x] Add an option to set the default target value to _blank See: JoryHogeveen/pods-link-field@5a07ddd
    • [x] @sc0ttkclark Do you want to enable other storage types as well? It currently only stores as a serialized array
    Type: Enhancement Keyword: Puntable 
    opened by JoryHogeveen 41
  • Field Groups / Metabox Manager

    Field Groups / Metabox Manager

    Context: Metaboxes are the boxes you can drag around on the Post Editor screen. They are seen in other areas of WordPress, and for objects that don't yet have that treatment, Pods will give them text headings (Users, Taxonomies).

    Matt came up with this as an idea on what we can do for managing meta boxes and forms (sort of a merge of the two, but maybe the workflow can be improved.

    Wireframe

    Putting this here for internal review by @pods-framework/contributors

    Type: Feature Keyword: Focus 
    opened by sc0ttkclark 41
  • Choosing a simple relationship field option that contains a comma prevents the field value from being set

    Choosing a simple relationship field option that contains a comma prevents the field value from being set

    Description

    Using the WP Rollback Plugin I can see that between Pods 2.7 and Pods 2.8, something happened where if you have a Simple (custom defined list) for a relationship field, using a comma within an option causes the field to not be set if that option is chosen. Using "value | label" does work.

    Version

    2.9.10.2 but it seems to have happened between 2.7 and 2.8

    Testing Instructions

    No response

    Screenshots / Screencast

    No response

    Possible Workaround

    No response

    Site Health Information

    No response

    Pods Package

    {
        "@meta": {
            "version": "2.9.10.2",
            "build": 1672760485
        },
        "settings": {
            "types_only": "0",
            "watch_changed_fields": "1",
            "metadata_integration": "1",
            "metadata_override_get": "1",
            "session_auto_start": "0",
            "wisdom_opt_out": "1"
        },
        "pods": [
            {
                "name": "area",
                "id": 672,
                "label": "Areas",
                "description": "",
                "label_singular": "Area",
                "public": "1",
                "show_ui": "1",
                "supports_title": "1",
                "supports_editor": "1",
                "type": "post_type",
                "storage": "meta",
                "publicly_queryable": "1",
                "exclude_from_search": "0",
                "capability_type": "post",
                "capability_type_custom": "area",
                "capability_type_extra": "1",
                "has_archive": "1",
                "hierarchical": "0",
                "rewrite": "1",
                "rewrite_with_front": "1",
                "rewrite_feeds": "0",
                "rewrite_pages": "1",
                "query_var": "1",
                "can_export": "1",
                "default_status": "draft",
                "supports_author": "0",
                "supports_thumbnail": "0",
                "supports_excerpt": "0",
                "supports_trackbacks": "0",
                "supports_custom_fields": "0",
                "supports_comments": "0",
                "supports_revisions": "0",
                "supports_page_attributes": "0",
                "supports_post_formats": "0",
                "built_in_taxonomies_category": "0",
                "built_in_taxonomies_cryout-featured-blob-category": "0",
                "built_in_taxonomies_link_category": "0",
                "built_in_taxonomies_post_tag": "1",
                "show_in_menu": "1",
                "menu_position": "0",
                "show_in_nav_menus": "1",
                "show_in_admin_bar": "1",
                "pfat_enable": "1",
                "pfat_append_single": "prepend",
                "pfat_filter_single": "the_content",
                "pfat_append_archive": "append",
                "pfat_filter_archive": "the_excerpt",
                "pfat_run_outside_loop": "0",
                "rest_enable": "1",
                "read_all": "0",
                "write_all": "0",
                "pfat_single": "single area",
                "built_in_taxonomies_wp_theme": "0",
                "_migrated_28": "1",
                "groups": [
                    {
                        "name": "more_fields",
                        "id": 1090,
                        "label": "More Fields",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "area_book",
                                "id": 832,
                                "label": "Booking Link",
                                "description": "if nothing is listed here the generic calendar widget with all courses will appear",
                                "weight": 0,
                                "type": "text",
                                "required": "0",
                                "text_allow_shortcode": "0",
                                "text_allow_html": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "526",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1",
                                "unique": "0",
                                "text_repeatable": "0"
                            },
                            {
                                "name": "exclude",
                                "id": 922,
                                "label": "Exclude",
                                "description": "choose to show or hide this \"area\" from the list of areas on the \/browse-courses-by-area\/ page.  Areas listed on landing page are tagged with landing",
                                "weight": 1,
                                "type": "pick",
                                "required": "0",
                                "pick_format_type": "single",
                                "pick_format_single": "dropdown",
                                "pick_format_multi": "checkbox",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_post_status": [
                                    "publish"
                                ],
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "526",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1",
                                "pick_object": "custom-simple",
                                "unique": "0",
                                "pick_custom": "Show\nHide"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "location",
                "id": 184,
                "label": "Locations",
                "description": "",
                "label_singular": "Location",
                "public": "1",
                "show_ui": "1",
                "supports_title": "1",
                "supports_editor": "1",
                "type": "post_type",
                "storage": "meta",
                "publicly_queryable": "1",
                "exclude_from_search": "0",
                "capability_type": "post",
                "capability_type_custom": "location",
                "capability_type_extra": "1",
                "has_archive": "0",
                "hierarchical": "0",
                "rewrite": "1",
                "rewrite_with_front": "1",
                "rewrite_feeds": "0",
                "rewrite_pages": "1",
                "query_var": "1",
                "can_export": "1",
                "default_status": "draft",
                "supports_author": "0",
                "supports_thumbnail": "0",
                "supports_excerpt": "0",
                "supports_trackbacks": "0",
                "supports_custom_fields": "0",
                "supports_comments": "0",
                "supports_revisions": "0",
                "supports_page_attributes": "0",
                "supports_post_formats": "0",
                "built_in_taxonomies_category": "0",
                "built_in_taxonomies_cryout-featured-blob-category": "0",
                "built_in_taxonomies_link_category": "0",
                "built_in_taxonomies_post_tag": "0",
                "show_in_menu": "1",
                "menu_position": "0",
                "show_in_nav_menus": "1",
                "show_in_admin_bar": "1",
                "pfat_enable": "0",
                "pfat_append_single": "append",
                "pfat_filter_single": "the_content",
                "pfat_append_archive": "append",
                "pfat_filter_archive": "the_excerpt",
                "pfat_run_outside_loop": "0",
                "rest_enable": "0",
                "read_all": "0",
                "write_all": "0",
                "_migrated_28": "1",
                "groups": [
                    {
                        "name": "more_fields",
                        "id": 1094,
                        "label": "More Fields",
                        "description": "",
                        "weight": 0,
                        "fields": []
                    }
                ]
            },
            {
                "name": "post",
                "id": 218,
                "label": "Post",
                "description": "",
                "type": "post_type",
                "storage": "meta",
                "object": "post",
                "pfat_enable": "1",
                "pfat_append_single": "replace",
                "pfat_filter_single": "the_content",
                "pfat_append_archive": "append",
                "pfat_filter_archive": "the_excerpt",
                "pfat_run_outside_loop": "0",
                "rest_enable": "1",
                "read_all": "0",
                "write_all": "0",
                "pfat_single": "Single Event Type",
                "_migrated_28": "1",
                "required": "0",
                "groups": [
                    {
                        "name": "more_fields",
                        "id": 1075,
                        "label": "More Fields",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "price",
                                "id": 219,
                                "label": "Price",
                                "description": "\"\/ person, plus tax \/ fees\" is added after whatever you enter here.",
                                "weight": 0,
                                "type": "text",
                                "required": "0",
                                "text_allow_shortcode": "0",
                                "text_allow_html": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "69",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "2",
                                "unique": "0",
                                "text_repeatable": "0",
                                "post_status": "publish",
                                "sister_id": "-- Select One --"
                            },
                            {
                                "name": "instead_of_price",
                                "id": 1424,
                                "label": "Instead of Price",
                                "description": "",
                                "weight": 1,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "post_status": "publish",
                                "required": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "true",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            },
                            {
                                "name": "related_dates",
                                "id": 220,
                                "label": "Related Occurences",
                                "description": "",
                                "weight": 2,
                                "type": "pick",
                                "pick_object": "post_type",
                                "pick_val": "date",
                                "required": "0",
                                "pick_format_type": "multi",
                                "pick_format_single": "dropdown",
                                "pick_format_multi": "list",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_post_status": [
                                    "publish"
                                ],
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "69",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "2",
                                "unique": "0",
                                "sister_id": "30"
                            },
                            {
                                "name": "related_description",
                                "id": 387,
                                "label": "Related Description",
                                "description": "This is so the correct details for What to Bring and What is included are displayed.  Leave Blank except for Level 1, 2 or Basic",
                                "weight": 3,
                                "type": "pick",
                                "pick_object": "post_type",
                                "pick_val": "description",
                                "required": "0",
                                "pick_format_type": "single",
                                "pick_format_single": "dropdown",
                                "pick_format_multi": "checkbox",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_user_role": "Administrator",
                                "pick_post_status": [
                                    "publish"
                                ],
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "69",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "2",
                                "unique": "0",
                                "post_status": "publish",
                                "sister_id": "-- Select One --",
                                "pick_table": "-- Select One --"
                            },
                            {
                                "name": "book",
                                "id": 422,
                                "label": "Book Now\/Button Link",
                                "description": "If blank, the calendar widget will be used.",
                                "weight": 4,
                                "type": "text",
                                "required": "0",
                                "text_allow_shortcode": "0",
                                "text_allow_html": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "69",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "2",
                                "unique": "0",
                                "text_repeatable": "0",
                                "post_status": "publish",
                                "sister_id": "-- Select One --"
                            },
                            {
                                "name": "button_text",
                                "id": 974,
                                "label": "Button Text",
                                "description": "If left blank button will read \"Book Now\"",
                                "weight": 5,
                                "type": "text",
                                "required": "0",
                                "text_allow_shortcode": "0",
                                "text_allow_html": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "526",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1",
                                "unique": "0",
                                "text_repeatable": "0",
                                "post_status": "publish",
                                "sister_id": "-- Select One --"
                            },
                            {
                                "name": "button_message",
                                "id": 975,
                                "label": "Button Message",
                                "description": "Text that appears above the button",
                                "weight": 6,
                                "type": "pick",
                                "required": "0",
                                "pick_format_type": "single",
                                "pick_format_single": "list",
                                "pick_format_multi": "checkbox",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_user_role": "Administrator",
                                "pick_post_status": [
                                    "publish"
                                ],
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "526",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1",
                                "pick_object": "post_type",
                                "pick_val": "message",
                                "unique": "0",
                                "post_status": "publish",
                                "sister_id": "-- Select One --",
                                "pick_table": "-- Select One --"
                            },
                            {
                                "name": "areas",
                                "id": 790,
                                "label": "Areas",
                                "description": "",
                                "weight": 7,
                                "type": "pick",
                                "pick_object": "post_type",
                                "pick_val": "area",
                                "required": "0",
                                "pick_format_type": "multi",
                                "pick_format_single": "dropdown",
                                "pick_format_multi": "list",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_post_status": [
                                    "publish"
                                ],
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "526",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1",
                                "unique": "0"
                            },
                            {
                                "name": "end_of_season",
                                "id": 1076,
                                "label": "End of Season",
                                "description": "",
                                "weight": 8,
                                "type": "date",
                                "sister_id": "-- Select One --",
                                "post_status": "publish",
                                "required": "0",
                                "date_type": "format",
                                "date_format": "mdy",
                                "date_allow_empty": "1",
                                "date_html5": "0",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "true",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            },
                            {
                                "name": "hide_extra",
                                "id": 1352,
                                "label": "What to Bring and Cancellation",
                                "description": "",
                                "weight": 9,
                                "type": "pick",
                                "pick_object": "custom-simple",
                                "sister_id": "-- Select One --",
                                "post_status": "publish",
                                "pick_table": "-- Select One --",
                                "required": "0",
                                "pick_format_type": "single",
                                "pick_format_single": "dropdown",
                                "pick_format_multi": "checkbox",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_user_role": "Administrator",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "true",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1",
                                "pick_custom": "Hide",
                                "default_value": "Show"
                            },
                            {
                                "name": "hide_dates",
                                "id": 1393,
                                "label": "Hide Dates",
                                "description": "Check here to hide the list of dates",
                                "weight": 10,
                                "type": "boolean",
                                "sister_id": "-- Select One --",
                                "post_status": "publish",
                                "required": "0",
                                "boolean_format_type": "checkbox",
                                "boolean_yes_label": "Yes",
                                "boolean_no_label": "No",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "true",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            },
                            {
                                "name": "show_instead",
                                "id": 1395,
                                "label": "Show Instead of Dates",
                                "description": "",
                                "weight": 11,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "post_status": "publish",
                                "required": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "true",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "date",
                "id": 28,
                "label": "Trip\/Course Details",
                "description": "",
                "label_singular": "Trip\/Course Details",
                "public": "1",
                "show_ui": "1",
                "supports_title": "0",
                "supports_editor": "0",
                "type": "post_type",
                "storage": "meta",
                "publicly_queryable": "1",
                "exclude_from_search": "0",
                "capability_type": "post",
                "capability_type_custom": "event_date",
                "capability_type_extra": "1",
                "has_archive": "0",
                "hierarchical": "0",
                "rewrite": "1",
                "rewrite_with_front": "1",
                "rewrite_feeds": "0",
                "rewrite_pages": "1",
                "query_var": "1",
                "can_export": "1",
                "default_status": "draft",
                "supports_author": "0",
                "supports_thumbnail": "0",
                "supports_excerpt": "0",
                "supports_trackbacks": "0",
                "supports_custom_fields": "0",
                "supports_comments": "0",
                "supports_revisions": "0",
                "supports_page_attributes": "0",
                "supports_post_formats": "0",
                "built_in_taxonomies_category": "0",
                "built_in_taxonomies_link_category": "0",
                "built_in_taxonomies_post_tag": "0",
                "show_in_menu": "1",
                "menu_position": "0",
                "show_in_nav_menus": "1",
                "show_in_admin_bar": "1",
                "pfat_enable": "0",
                "pfat_append_single": "append",
                "pfat_filter_single": "the_content",
                "pfat_append_archive": "append",
                "pfat_filter_archive": "the_excerpt",
                "pfat_run_outside_loop": "0",
                "rest_enable": "0",
                "read_all": "0",
                "write_all": "0",
                "built_in_taxonomies_cryout-featured-blob-category": "0",
                "built_in_taxonomies_wp_theme": "0",
                "_migrated_28": "1",
                "groups": [
                    {
                        "name": "more_fields",
                        "id": 1080,
                        "label": "More Fields",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "event_date",
                                "id": 29,
                                "label": "Event Date",
                                "description": "",
                                "weight": 0,
                                "type": "date",
                                "required": "1",
                                "date_type": "format",
                                "date_format": "fjy",
                                "date_allow_empty": "1",
                                "date_html5": "0",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "2",
                                "unique": "0",
                                "date_repeatable": "0",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "526",
                                "post_status": "publish",
                                "sister_id": "-- Select One --"
                            },
                            {
                                "name": "related_trip",
                                "id": 30,
                                "label": "Related Trip",
                                "description": "",
                                "weight": 1,
                                "type": "pick",
                                "pick_object": "post_type",
                                "pick_val": "post",
                                "required": "0",
                                "pick_format_type": "single",
                                "pick_format_single": "dropdown",
                                "pick_format_multi": "checkbox",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_user_role": "Administrator",
                                "pick_post_status": [
                                    "publish"
                                ],
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "2",
                                "unique": "0",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "69",
                                "sister_id": "220",
                                "post_status": "publish",
                                "pick_table": "-- Select One --"
                            },
                            {
                                "name": "duration",
                                "id": 150,
                                "label": "Duration Label",
                                "description": "",
                                "weight": 2,
                                "type": "pick",
                                "required": "0",
                                "pick_format_type": "single",
                                "pick_format_single": "dropdown",
                                "pick_format_multi": "checkbox",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_user_role": "Administrator",
                                "pick_post_status": [
                                    "publish"
                                ],
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "2",
                                "pick_object": "custom-simple",
                                "unique": "0",
                                "pick_custom": "6-days | 6-days, 5-nights\n5-days + 4-nights\n4-days + 3-nights\n3-days + 2-nights\n2 days\n1 day\n2 Consecutive Saturdays\n2 Consecutive Sundays\n5 evenings\n4 evenings\n4 Saturday mornings\n4 Wednesday evenings\n2 evenings\n1 evening\n",
                                "maps_info_window_template": "526",
                                "post_status": "publish",
                                "sister_id": "-- Select One --",
                                "pick_table": "-- Select One --",
                                "pick_post_author": "0",
                                "repeatable": "0",
                                "repeatable_format": "default"
                            },
                            {
                                "name": "location",
                                "id": 189,
                                "label": "Location",
                                "description": "",
                                "weight": 3,
                                "type": "pick",
                                "pick_object": "post_type",
                                "pick_val": "location",
                                "required": "1",
                                "pick_format_type": "single",
                                "pick_format_single": "dropdown",
                                "pick_format_multi": "checkbox",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_post_status": [
                                    "publish"
                                ],
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "69",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "2",
                                "unique": "0"
                            },
                            {
                                "name": "text_location",
                                "id": 1095,
                                "label": "Text Location",
                                "description": "Repeat the location for post naming purposes.",
                                "weight": 4,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "post_status": "publish",
                                "required": "1",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "true",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            },
                            {
                                "name": "end_date",
                                "id": 543,
                                "label": "End Date",
                                "description": "",
                                "weight": 5,
                                "type": "date",
                                "required": "0",
                                "date_type": "format",
                                "date_format": "fjy",
                                "date_allow_empty": "1",
                                "date_html5": "0",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "526",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "2",
                                "unique": "0",
                                "date_repeatable": "0",
                                "post_status": "publish",
                                "sister_id": "-- Select One --"
                            },
                            {
                                "name": "area",
                                "id": 629,
                                "label": "Area",
                                "description": "",
                                "weight": 6,
                                "type": "pick",
                                "pick_object": "post_type",
                                "pick_custom": "Ottawa Area\nDurham Region\nChatham Area\nUnspecified",
                                "required": "1",
                                "pick_format_type": "multi",
                                "pick_format_single": "dropdown",
                                "pick_format_multi": "checkbox",
                                "pick_display_format_multi": "default",
                                "pick_display_format_separator": ", ",
                                "pick_allow_add_new": "1",
                                "pick_taggable": "0",
                                "pick_show_icon": "1",
                                "pick_show_edit_link": "1",
                                "pick_show_view_link": "1",
                                "pick_limit": "0",
                                "pick_post_status": [
                                    "publish"
                                ],
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "526",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1",
                                "unique": "0",
                                "pick_val": "area"
                            },
                            {
                                "name": "note",
                                "id": 1030,
                                "label": "Note",
                                "description": "use this for coupons, etc",
                                "weight": 7,
                                "type": "text",
                                "required": "0",
                                "text_allow_shortcode": "0",
                                "text_allow_html": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "maps": "0",
                                "maps_autocorrect": "0",
                                "maps_display": "replace",
                                "maps_style": "static",
                                "maps_type": "roadmap",
                                "maps_zoom": "12",
                                "maps_scrollwheel": "1",
                                "maps_info_window": "0",
                                "maps_info_window_content": "paragraph",
                                "maps_info_window_template": "526",
                                "admin_only": "0",
                                "restrict_role": "0",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator"
                                ],
                                "rest_read": "0",
                                "rest_write": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    }
                ]
            }
        ]
    }
    
    Type: Bug 
    opened by CloundNine 0
  • PHP 8.1: Missing format specifier

    PHP 8.1: Missing format specifier

    Description

    Via https://wordpress.org/support/topic/pods-error-with-php-8-1/

    After upgrading to PHP 8.1 I get this error:

    in /wp-content/plugins/pods/classes/PodsInit.php on line 2222```
    
    >>> If I remove the %s from line 2222 seems to work. Using version 2.9.10.2
    
    ### Version
    
    2.9.10.2
    
    ### Testing Instructions
    
    _No response_
    
    ### Screenshots / Screencast
    
    _No response_
    
    ### Possible Workaround
    
    _No response_
    
    ### Site Health Information
    
    _No response_
    
    ### Pods Package
    
    _No response_
    Type: Bug 
    opened by pd-cm 0
  • Using magic tag {@user.ID} returns NULL if not logged in but should return 0

    Using magic tag {@user.ID} returns NULL if not logged in but should return 0

    Description

    If I have a customized WHERE for the relationship options for as relationship field and it contains something like this: author.id = {@user.ID} It will result in a illegal MYSQL query when it is called for someone that is not logged in (it will have an error due to the following in the query): ... WHERE author.id = Since {@user.id} will return null instead of returning a 0. The fix for this is in includes/data.php in the function pods_v on line 676 for case 'user' it has an if statement that checks if the user is logged in. There should be an else statement that sets $output to 0.

    Version

    2.9.10.2

    Testing Instructions

    1. Create a pod with a relationship field that points to a user pod (call the field author).
    2. In the Customized Where for this relationship field add author.id = {@user.id}
    3. Create an instance of this pod and set the relationship field to point to some user.
    4. Create a form for this pod and make the relationship field a pulldown
    5. Go to the form when you are not logged in and you should see the mysql error

    Screenshots / Screencast

    No response

    Possible Workaround

    Add the following code snippet to workaround the problem: `add_filter('pods_evaluate_tag', 'my_pod_evaluate_tag', 10, 2);

    function my_pod_evaluate_tag($value, $tag ) { if ( $tag[0] == 'user' && $tag[1] == 'ID' && null === $value ) ) return 0; return $value; }`

    Site Health Information

    `
    ### wp-core ###
    
    version: 6.1.1
    site_language: en_US
    user_language: en_US
    timezone: America/New_York
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 2643
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/mafwor5/public_html
    wordpress_size: loading...
    uploads_path: /home/mafwor5/public_html/wp-content/uploads
    uploads_size: loading...
    themes_path: /home/mafwor5/public_html/wp-content/themes
    themes_size: loading...
    plugins_path: /home/mafwor5/public_html/wp-content/plugins
    plugins_size: loading...
    database_size: loading...
    total_size: loading...
    
    ### wp-active-theme ###
    
    name: GeneratePress Child (generatepress_child)
    version: 0.1
    author: Thomas Usborne
    author_website: http://edge22.com
    parent_theme: GeneratePress (generatepress)
    theme_features: core-block-patterns, widgets-block-editor, menus, automatic-feed-links, post-thumbnails, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, editor-color-palette, custom-logo, editor-styles, editor-style, widgets
    theme_path: /home/mafwor5/public_html/wp-content/themes/generatepress_child
    auto_update: Disabled
    
    ### wp-parent-theme ###
    
    name: GeneratePress (generatepress)
    version: 3.2.4
    author: Tom Usborne
    author_website: https://tomusborne.com
    theme_path: /home/mafwor5/public_html/wp-content/themes/generatepress
    auto_update: Disabled
    
    ### wp-themes-inactive (4) ###
    
    Twenty Twenty: version: 2.1, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-One: version: 1.7, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Two: version: 1.3, author: the WordPress team, Auto-updates disabled
    
    ### wp-mu-plugins (1) ###
    
    Code Profiler (mu-plugin): version: 1.0, author: Jerome Bruandet
    
    ### wp-plugins-active (87) ###
    
    Admin Menu Editor Pro: version: 2.18.1, author: Janis Elsts, Auto-updates disabled
    Allow Multiple Accounts: version: 3.0.4, author: Scott Reilly, Auto-updates disabled
    Animated Text Block: version: 1.0.4, author: bPlugins LLC, Auto-updates disabled
    Autoclear Autoptimize Cache: version: 2.1.1, author: Theme Surgeons, Auto-updates disabled
    bbPress: version: 2.6.9, author: The bbPress Contributors, Auto-updates disabled
    bbp style pack: version: 5.1.9, author: Robin Wilson, Auto-updates disabled
    Bike Club: version: 0.1, author: Jonathan Eiseman, Auto-updates disabled
    Block Visibility: version: 2.5.0, author: Nick Diego, Auto-updates disabled
    BuddyPress: version: 10.6.0, author: The BuddyPress Community, Auto-updates disabled
    BuddyPress Activity ShortCode: version: 1.1.8, author: BuddyDev, Auto-updates disabled
    BuddyPress Group Email Subscription: version: 4.0.4, author: Deryk Wenaus, boonebgorges, r-a-y, Auto-updates disabled
    Code Profiler Pro: version: 1.5.2, author: Jerome Bruandet ~ NinTechNet Ltd., Auto-updates disabled
    DCO Comment Attachment: version: 2.4.0, author: Denis Yanchevskiy, Auto-updates disabled
    Ditty: version: 3.0.31, author: Metaphor Creations, Auto-updates disabled
    Duplicate Menu: version: 0.2.2, author: Jonathan Christopher, Auto-updates disabled
    Duplicator Pro: version: 4.5.9, author: Snap Creek, Auto-updates disabled
    Dynamic User Directory: version: 1.6.7, author: Sarah Giles, Auto-updates disabled
    Dynamic User Directory Meta Fields Search: version: 3.3, author: Sarah Giles, Auto-updates disabled
    Easy Updates Manager: version: 9.0.14, author: Easy Updates Manager Team, Auto-updates disabled
    Essential Blocks: version: 3.8.5, author: WPDeveloper, Auto-updates disabled
    Events Manager: version: 6.1.6, author: Pixelite, Auto-updates disabled
    Featured Image Custom Link: version: 1.1.0, author: Viitorcloud, Mitali, Auto-updates disabled
    FileBird: version: 5.1.1, author: Ninja Team, Auto-updates disabled
    Fix Image Rotation: version: 2.2.2, author: Gagan Deep Singh, Auto-updates disabled
    Footnotes Made Easy: version: 1.0.2, author: David Artiss, Auto-updates disabled
    GD Mail Queue: version: 3.9.3, author: Milan Petrovic, Auto-updates disabled
    GenerateBlocks: version: 1.6.0, author: Tom Usborne, Auto-updates disabled
    GP Premium: version: 2.2.2, author: Tom Usborne, Auto-updates disabled
    Gravity Forms: version: 2.6.8, author: Gravity Forms, Auto-updates disabled
    Gravity Forms Gutenberg Add-On: version: 1.0-rc-1.4, author: rocketgenius, Auto-updates disabled
    Gravity Forms Polls Add-On: version: 3.9, author: Gravity Forms, Auto-updates disabled
    Gravity Forms Reset Button Add-On: version: 1.0, author: Able Engine & William Wilkerson, Auto-updates disabled
    Gravity Forms Signature Add-On: version: 4.3, author: Gravity Forms, Auto-updates disabled
    Gravity Forms Survey Add-On: version: 3.7, author: Gravity Forms, Auto-updates disabled
    Image Hover Effects Block: version: 1.4.5, author: Blocksera, Auto-updates disabled
    Image Upload for BBPress: version: 1.1.18, author: WP Zone, Auto-updates disabled
    Jetpack: version: 11.6, author: Automattic, Auto-updates disabled
    LH Buddypress Export Xprofile Data: version: 2.00, author: Peter Shaw, Auto-updates disabled
    Loco Translate: version: 2.6.3, author: Tim Whitlock, Auto-updates disabled
    MediaPress: version: 1.5.3, author: BuddyDev, Auto-updates disabled
    Media Sync: version: 1.2.9, author: Erol Živina, Auto-updates disabled
    Members: version: 3.2.2, author: MemberPress, Auto-updates disabled
    Multiple Columns for Gravity Forms: version: 4.0.6, author: WebHolism, Auto-updates disabled
    Nginx Helper: version: 2.2.2, author: rtCamp, Auto-updates disabled
    OWM Weather: version: 5.6.12, author: Uwe Jacobs, Auto-updates disabled
    Paid Memberships Pro: version: 2.9.8, author: Paid Memberships Pro, Auto-updates disabled
    Paid Memberships Pro - Add Member From Admin: version: 0.7.1, author: Stranger Studios, Auto-updates disabled
    Paid Memberships Pro - Add PayPal Express Add On: version: .6, author: Paid Memberships Pro, Auto-updates disabled
    Paid Memberships Pro - BuddyPress & BuddyBoss Add On: version: 1.3.1, author: Paid Memberships Pro, Auto-updates disabled
    Paid Memberships Pro - Developer's Toolkit Add On: version: 0.7, author: Paid Memberships Pro, Auto-updates disabled
    Paid Memberships Pro - Group Discount Codes Add On: version: .3.2, author: Paid Memberships Pro, Auto-updates disabled
    Paid Memberships Pro - Membership Manager Role Add On: version: .3.2, author: Stranger Studios, Auto-updates disabled
    Paid Memberships Pro - Pay by Check Add On: version: 0.11, author: Stranger Studios, Auto-updates disabled
    Paid Memberships Pro - Register Helper Add On: version: 1.8, author: Paid Memberships Pro, Auto-updates disabled
    Paid Memberships Pro - Sponsored Members Add On: version: 0.10, author: Paid Memberships Pro, Auto-updates disabled
    PDF Embedder Premium: version: 5.0.2, author: PDF Embedder Team, Auto-updates disabled
    Pods - Custom Content Types and Fields: version: 2.9.10.2, author: Pods Framework Team, Auto-updates disabled
    Pods Alternative Cache: version: 2.1.5, author: Pods Framework Team, Auto-updates disabled
    Pods Gravity Forms Add-On: version: 1.4.5, author: Pods Framework Team, Auto-updates disabled
    Popup Maker: version: 1.17.1, author: Popup Maker, Auto-updates disabled
    Post Type Switcher: version: 3.2.1, author: Triple J Software, Inc., Auto-updates disabled
    PublishPress Blocks: version: 3.1.1, author: PublishPress, Auto-updates disabled
    Redirection: version: 5.3.6, author: John Godley, Auto-updates disabled
    Register Helper Example: version: .2, author: Stranger Studios, Auto-updates disabled
    Remove Dashboard Access: version: 1.1.5, author: TrustedLogin, Auto-updates disabled
    Resize Image After Upload: version: 1.8.6, author: ShortPixel, Auto-updates disabled
    Simple Iframe: version: 1.1.1, author: Jorge González, Auto-updates disabled
    Simple Lightbox: version: 2.9.3, author: Archetyped, Auto-updates disabled
    Spectra: version: 2.2.0, author: Brainstorm Force, Auto-updates disabled
    Subscribe to Comments Reloaded: version: 220725, author: WPKube, Auto-updates disabled
    The Events Calendar: version: 6.0.5, author: The Events Calendar, Auto-updates disabled
    The Events Calendar Extension: Event Titles Link to Website URL: version: 1.2.0, author: Modern Tribe, Inc., Auto-updates disabled
    The Events Calendar Extension: Remove Export Links: version: 1.0.0, author: Modern Tribe, Inc., Auto-updates disabled
    The Events Calendar PRO: version: 6.0.5.1, author: The Events Calendar, Auto-updates disabled
    The Icon Block: version: 1.3.2, author: Nick Diego, Auto-updates disabled
    UpdraftPlus - Backup/Restore: version: 2.22.25.26, author: UpdraftPlus.Com, DavidAnderson, Auto-updates disabled
    User Menus: version: 1.3.1, author: Code Atlantic, Auto-updates disabled
    User Switching: version: 1.7.0, author: John Blackbourn & contributors, Auto-updates disabled
    Wbcom Designs - BuddyPress Activity Filter: version: 2.8.3, author: Wbcom Designs<[email protected]>, Auto-updates disabled
    Wordfence Security: version: 7.8.2, author: Wordfence, Auto-updates disabled
    WP-Optimize - Clean, Compress, Cache: version: 3.2.10, author: David Anderson, Ruhani Rabin, Team Updraft, Auto-updates disabled
    WP Crontrol: version: 1.15.0, author: John Blackbourn & crontributors, Auto-updates disabled
    WP File Manager: version: 7.1.7, author: mndpsingh287, Auto-updates disabled
    WP File Manager - PRO: version: 8.3.2, author: mndpsingh287, Auto-updates disabled
    WP SMS: version: 5.9.1, author: VeronaLabs, Auto-updates disabled
    Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled
    Yoast SEO: version: 19.13, author: Team Yoast, Auto-updates disabled
    
    ### wp-plugins-inactive (23) ###
    
    Advanced Editor Tools (previously TinyMCE Advanced): version: 5.6.0, author: Automattic, Auto-updates disabled
    Autoptimize: version: 3.1.4, author: Frank Goossens (futtta), Auto-updates disabled
    Better Search: version: 3.1.0, author: Ajay D'Souza, Auto-updates disabled
    ClubRideSchedule: version: 0.0.1, author: Jon Eiseman, Auto-updates disabled
    Code Profiler: version: 1.5.2, author: Jerome Bruandet ~ NinTechNet Ltd., Auto-updates disabled
    Disable Emails: version: 1.8.1, author: WebAware, Auto-updates disabled
    DynamicConditions: version: 1.6.0, author: RTO GmbH, Auto-updates disabled
    FileBird Lite: version: 5.1, author: Ninja Team, Auto-updates disabled
    Lock User Account: version: 1.0.3, author: teknigar, Auto-updates disabled
    Log Emails: version: 1.4.0, author: WebAware, Auto-updates disabled
    Lordicon Animated Icons: version: 2.0.1, author: Lordicon, Auto-updates disabled
    Mail logging - WP Mail Catcher: version: 2.0.5, author: James Ward, Auto-updates disabled
    Menu Icons: version: 0.13.2, author: ThemeIsle, Auto-updates disabled
    Newsletter: version: 7.5.9, author: Stefano Lissa & The Newsletter Team, Auto-updates disabled
    Paid Memberships Pro - Gift Levels Add On: version: 1.0.2, author: Stranger Studios, Auto-updates disabled
    Query Monitor: version: 3.10.1, author: John Blackbourn, Auto-updates disabled
    SMTP2GO - Email Made Easy: version: 1.4.2, author: SMTP2GO, Auto-updates disabled
    The Events Calendar - Shortcode And Templates Pro: version: 2.3, author: Cool Plugins, Auto-updates disabled
    Tumult Hype Animations: author: (undefined), version: 1.9.7, Auto-updates disabled
    WP Activity Log: version: 4.4.3, author: WP White Security, Auto-updates disabled
    WP Activity Log for Gravity Forms: version: 1.2.2, author: WP White Security, Auto-updates disabled
    WP Mail SMTP: version: 3.7.0, author: WPForms, Auto-updates disabled
    WP Media File Type Manager: version: 2.2.1, author: Seerox, Auto-updates disabled
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-14 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: File uploads is turned off
    post_max_size: 550M
    upload_max_filesize: 512M
    max_effective_size: 512 MB
    max_file_uploads: 20
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 8 GB
    	imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    	imagick::RESOURCETYPE_FILE: 786432
    	imagick::RESOURCETYPE_MAP: 8 GB
    	imagick::RESOURCETYPE_MEMORY: 4 GB
    	imagick::RESOURCETYPE_THREAD: 1
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: unknown
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-1160.53.1.vz7.185.3 x86_64
    httpd_software: Apache
    php_version: 7.4.33 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 1500
    time_limit: 30
    memory_limit: 1G
    admin_memory_limit: 512M
    max_input_time: 60
    upload_max_filesize: 512M
    php_post_max_size: 550M
    curl_version: 7.86.0 OpenSSL/1.1.1s
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.3.37-MariaDB
    client_version: mysqlnd 7.4.33
    max_allowed_packet: 268435456
    max_connections: 100
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/mafwor5/public_html/wp-content
    WP_PLUGIN_DIR: /home/mafwor5/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 1G
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: true
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: true
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    ### jetpack ###
    
    site_id: 199505233
    ssl_cert: No
    time_diff: undefined
    version_option: 11.6:1671412013
    old_version: 11.6:1671412013
    public: Public
    master_user: #1 joneiseman
    current_user: #1 joneiseman
    tokens_set: Blog User
    blog_token: )I8kzKejo7qgtiMly#OE7Emy&lsXp@Ii
    user_token: oI03KL*99#uTw9UVpy*5kAvuoUXbB5l@
    version: 11.6
    jp_plugin_dir: /home/mafwor5/public_html/wp-content/plugins/jetpack/
    plan: free
    protect_header: false
    full_sync: {"started":"Mon, 19 Dec 2022 01:07:11 +0000","finished":"Mon, 19 Dec 2022 01:07:37 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"1"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[1],"network_options":true}}
    sync_size: undefined
    sync_lag: 0 seconds
    full_sync_size: undefined
    full_sync_lag: 0 seconds
    idc_urls: {"home":"https:\/\/mafw.org","siteurl":"https:\/\/mafw.org","WP_HOME":"","WP_SITEURL":""}
    idc_error_option: false
    idc_optin: true
    cxn_tests: All Pass.
    
    ### buddypress ###
    
    version: 10.6.0
    active_components: Community Members, Extended Profiles, Account Settings, Activity Streams, Notifications, User Groups, Site Tracking
    template_pack: BuddyPress Legacy 10.6.0
    ! hide-loggedout-adminbar: No
    ! bp-disable-account-deletion: No
    ! bp-disable-avatar-uploads: Yes
    ! bp-disable-cover-image-uploads: Yes
    bp-enable-members-invitations: undefined
    bp-enable-membership-requests: undefined
    ! bp-disable-profile-sync: Yes
    ! bp_restrict_group_creation: No
    ! bp-disable-group-avatar-uploads: Yes
    ! bp-disable-group-cover-image-uploads: Yes
    ! bp-disable-blogforum-comments: Yes
    _bp_enable_heartbeat_refresh: Yes
    
    ### pods ###
    
    pods-server-software: Apache
    pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
    pods-session-save-path: /var/cpanel/php/sessions/ea-php74
    pods-session-save-path-exists: Yes
    pods-session-save-path-writable: Yes
    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: 169.645M
    pods-memory-current-usage-real: 28.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-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-relationship-table-status: 123,551
    
    ### pmpro ###
    
    pmpro-cron-jobs: pmpro_cron_expire_memberships (2022-12-29 01:09:01) | 
    pmpro_cron_expiration_warnings (2022-12-29 01:09:02) | 
    pmpro_cron_admin_activity_email (2022-12-29 14:30:00) | 
    pmpro_cron_delete_tmp (2022-12-29 14:30:00) | 
    pmpro_cron_stripe_subscription_updates (2022-12-29 20:09:01) | 
    pmpro_cron_credit_card_expiring_warnings (2023-01-05 20:09:01) | 
    pmpro_license_check_key (2023-01-05 20:09:01)
    pmpro-gateway: PayPal Standard [paypalstandard]
    pmpro-gateway-env: Live/Production [live]
    pmpro-orders: 1186 orders
    pmpro-discount-codes: 83 discount codes
    pmpro-sessions: 
    	session_status: Active
    pmpro-membership-levels: {
        "1": {
            "id": "1",
            "name": "1 year individual membership",
            "description": "",
            "confirmation": "",
            "initial_payment": 30,
            "billing_amount": 0,
            "cycle_number": "0",
            "cycle_period": "",
            "billing_limit": "0",
            "trial_amount": 0,
            "trial_limit": "0",
            "allow_signups": "1",
            "expiration_number": "1",
            "expiration_period": "Year"
        },
        "2": {
            "id": "2",
            "name": "2 year individual membership",
            "description": "",
            "confirmation": "",
            "initial_payment": 57,
            "billing_amount": 0,
            "cycle_number": "0",
            "cycle_period": "",
            "billing_limit": "0",
            "trial_amount": 0,
            "trial_limit": "0",
            "allow_signups": "1",
            "expiration_number": "2",
            "expiration_period": "Year"
        },
        "3": {
            "id": "3",
            "name": "3 year individual membership",
            "description": "",
            "confirmation": "",
            "initial_payment": 81,
            "billing_amount": 0,
            "cycle_number": "0",
            "cycle_period": "",
            "billing_limit": "0",
            "trial_amount": 0,
            "trial_limit": "0",
            "allow_signups": "1",
            "expiration_number": "3",
            "expiration_period": "Year"
        },
        "4": {
            "id": "4",
            "name": "1 year dual membership",
            "description": "",
            "confirmation": "",
            "initial_payment": 50,
            "billing_amount": 0,
            "cycle_number": "0",
            "cycle_period": "",
            "billing_limit": "0",
            "trial_amount": 0,
            "trial_limit": "0",
            "allow_signups": "1",
            "expiration_number": "1",
            "expiration_period": "Year"
        },
        "5": {
            "id": "5",
            "name": "2 year dual membership",
            "description": "",
            "confirmation": "",
            "initial_payment": 90,
            "billing_amount": 0,
            "cycle_number": "0",
            "cycle_period": "",
            "billing_limit": "0",
            "trial_amount": 0,
            "trial_limit": "0",
            "allow_signups": "1",
            "expiration_number": "2",
            "expiration_period": "Year"
        },
        "6": {
            "id": "6",
            "name": "3 year dual membership",
            "description": "",
            "confirmation": "",
            "initial_payment": 125,
            "billing_amount": 0,
            "cycle_number": "0",
            "cycle_period": "",
            "billing_limit": "0",
            "trial_amount": 0,
            "trial_limit": "0",
            "allow_signups": "1",
            "expiration_number": "3",
            "expiration_period": "Year"
        }
    }
    pmpro-custom-templates: No template overrides
    pmpro-getfile-usage: PMPRO_GETFILE_ENABLED is not set
    pmpro-htaccess-cache-usage: Off
    pmpro-pages: 
    	account: https://mafw.org/membership-account/
    	billing: https://mafw.org/membership-billing/
    	cancel: https://mafw.org/membership-cancel/
    	checkout: https://mafw.org/membership-checkout/
    	confirmation: https://mafw.org/membership-confirmation/
    	invoice: https://mafw.org/membership-invoice/
    	levels: https://mafw.org/membership-levels/
    	login: Not Set
    	member_profile_edit: Not Set
    	pmprobp_restricted: https://mafw.org/membership-account/access-restricted/
    pmpro-library-conflicts: No library conflicts detected.
    
    `
    

    Pods Package

    No response

    Type: Bug 
    opened by jeiseman 3
  • Is Pods setting featuredImage as NON_NULL type for GraphQL

    Is Pods setting featuredImage as NON_NULL type for GraphQL

    Description

    I'm trying to root cause the following error I'm getting in Gatsby and wondering if Pods may be the plugin setting the featuredImage type as NON_NULL:

    There was an error in your GraphQL query:
    
    Cannot return null for non-nullable field WpNodeWithFeaturedImageToMediaItemConnectionEdgeType.node.
    
    The field "WpNodeWithFeaturedImageToMediaItemConnectionEdgeType.node." was explicitly defined as non-nullable via the schema customization API (by yourself or a plugin/theme).
    

    Version

    2.9.10.2

    Testing Instructions

    No response

    Screenshots / Screencast

    No response

    Possible Workaround

    No response

    Site Health Information

    No response

    Pods Package

    No response

    Type: Bug 
    opened by therealgilles 0
  • User extended media upload field not saving correctly

    User extended media upload field not saving correctly

    Description

    After upgrading a few versions of Pods I noticed my extended User field for avatar is not displaying correctly. This affects both the back and front end.

    Version

    2.9.10.2

    Testing Instructions

    1. Create a user extend pod with a media upload field
    2. Upload an image

    Screenshots / Screencast

    Screen Shot 2022-12-16 at 12 43 30 PM

    Possible Workaround

    No response

    Site Health Information

    `
    ### wp-core ###
    
    version: 6.1.1
    site_language: en_US
    user_language: en_US
    timezone: -05:00
    permalink: /blog/%category%/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 92768
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /srv/www/biolayne.com/releases/20221216181007/web/wp
    wordpress_size: loading...
    uploads_path: /srv/www/biolayne.com/releases/20221216181007/web/app/uploads
    uploads_size: loading...
    themes_path: /srv/www/biolayne.com/releases/20221216181007/web/app/themes
    themes_size: loading...
    plugins_path: /srv/www/biolayne.com/releases/20221216181007/web/app/plugins
    plugins_size: loading...
    database_size: loading...
    total_size: loading...
    
    ### wp-dropins (1) ###
    
    object-cache.php: true
    
    ### wp-active-theme ###
    
    name: Biolayne 3.0 - Sage 10 with Bud (biolayne3-sage10)
    version: 3.0.0
    author: Spicuzza
    author_website: https://www.biolayne.com
    parent_theme: none
    theme_features: sage, widgets-block-editor, post-thumbnails, soil, menus, title-tag, align-wide, responsive-embeds, html5, customize-selective-refresh-widgets, widgets
    theme_path: /srv/www/biolayne.com/releases/20221216181007/web/app/themes/biolayne3-sage10
    
    ### wp-mu-plugins (2) ###
    
    Bedrock Autoloader: version: 1.0.3, author: Roots
    Register Theme Directory: version: 1.0.0, author: Roots
    
    ### wp-plugins-active (38) ###
    
    Biolayne API: version: 1.1.0, author: Biolayne Team
    Biolayne Email Templates: version: 2.0.1, author: Biolayne Technologies LLC
    Biolayne Gutenberg Blocks: version: 1.0.0, author: Kelly Mears
    Debug Bar: version: 1.1.4, author: wordpressdotorg
    Disable Comments: version: 2.4.2, author: WPDeveloper
    Download Monitor: version: 4.7.70, author: WPChill
    Download Monitor - Gravity Forms Extension: version: 4.0.4, author: WPChill (latest version: 4.0.5)
    Edit Author Slug: version: 1.8.4, author: Brandon Allen
    Getwid: version: 1.8.2, author: MotoPress
    Gravity Forms: version: 2.6.8.1, author: Gravity Forms
    Gravity Forms Help Scout Add-On: version: 2.1, author: Gravity Forms
    Gravity Forms Mailchimp Add-On: version: 5.1, author: Gravity Forms
    Mailgun: version: 1.8.9, author: Mailgun
    Pods - Custom Content Types and Fields: version: 2.9.10.2, author: Pods Framework Team
    Pods Pro - Advanced Relationship Storage Add-On: version: 1.1.3, author: SKC Development, LLC
    Post Thumbnail Editor: version: 2.4.8, author: sewpafly
    Radio Buttons for Taxonomies: version: 2.4.4, author: helgatheviking
    RCP - Download Monitor Bridge: version: 1.0.5, author: iThemes, LLC
    Reorder Posts: version: 2.5.3, author: Ryan Hellyer, Ronald Huereca, Scott Basgaard
    Restrict Content Pro: version: 3.5.24.1, author: Restrict Content Pro
    Restrict Content Pro - Custom Renew: version: 1.0.5, author: iThemes
    Restrict Content Pro - Help Scout: version: 1.0.4, author: Sandhills Development, LLC
    Restrict Content Pro - Limited Quantity Available: version: 1.0.2, author: Sandhills Development, LLC
    Restrict Content Pro - MailChimp Pro: version: 1.5.3, author: iThemes
    Restrict Content Pro - Per-Level Emails: version: 1.0.1, author: Sandhills Development, LLC
    Schema Pro: version: 2.7.4, author: Brainstorm Force
    SearchWP: version: 4.2.8, author: SearchWP
    SearchWP Metrics: version: 1.4.2, author: SearchWP
    SearchWP Related: version: 1.4.7, author: SearchWP
    SeedProd Pro: version: 6.14.1, author: SeedProd
    SVG Support: version: 2.5.5, author: Benbodhi
    TinyPNG - JPEG, PNG & WebP image compression: version: 3.4.1, author: TinyPNG
    Username Changer: version: 3.2.2, author: Widgit Team
    User Switching: version: 1.7.0, author: John Blackbourn & contributors
    Wordfence Security: version: 7.8.2, author: Wordfence
    WPFront Notification Bar: version: 3.2.0, author: Syam Mohan
    Yoast SEO: version: 19.12, author: Team Yoast
    Yoast SEO Premium: version: 18.3, author: Team Yoast (latest version: 19.6)
    
    ### wp-plugins-inactive (6) ###
    
    Advanced Database Cleaner: version: 3.1.1, author: Younes JFR.
    Disable Admin-AJAX: version: 1.0.0, author: LittleBizzy
    Disable Emails: version: 1.8.1, author: WebAware
    Pods Alternative Cache: version: 2.1.5, author: Pods Framework Team
    REST API Tester: version: 0.1.3, author: Modern Tribe, Inc.
    WP All Import Pro: version: 4.7.2, author: Soflyy
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_version: 3.6.0
    file_uploads: File uploads is turned off
    post_max_size: 25M
    upload_max_filesize: 25M
    max_effective_size: 25 MB
    max_file_uploads: 20
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 122 MB
    	imagick::RESOURCETYPE_DISK: 1073741824
    	imagick::RESOURCETYPE_FILE: 768
    	imagick::RESOURCETYPE_MAP: 512 MB
    	imagick::RESOURCETYPE_MEMORY: 256 MB
    	imagick::RESOURCETYPE_THREAD: 1
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: not available
    ghostscript_version: 9.50
    
    ### wp-server ###
    
    server_architecture: Linux 5.4.0-100-generic x86_64
    httpd_software: nginx/1.21.6
    php_version: 8.0.15 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 1000
    time_limit: 120
    memory_limit: 512M
    max_input_time: 300
    upload_max_filesize: 25M
    php_post_max_size: 25M
    curl_version: 7.68.0 OpenSSL/1.1.1f
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 8.0.28
    client_version: mysqlnd 8.0.15
    max_allowed_packet: 67108864
    max_connections: 2801
    
    ### wp-constants ###
    
    WP_HOME: https://biolayne.com
    WP_SITEURL: https://biolayne.com/wp
    WP_CONTENT_DIR: /srv/www/biolayne.com/releases/20221216181007/web/app
    WP_PLUGIN_DIR: /srv/www/biolayne.com/releases/20221216181007/web/app/plugins
    WP_MEMORY_LIMIT: 512M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    ### pods ###
    
    pods-server-software: nginx/1.21.6
    pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
    pods-session-save-path: /tmp
    pods-session-save-path-exists: Yes
    pods-session-save-path-writable: Yes
    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: Yes
    pods-object-cache-redis: No
    pods-memory-current-usage: 29.716M
    pods-memory-current-usage-real: 32.000M
    pods-network-wide: No
    pods-install-location: /srv/www/biolayne.com/releases/20221216181007/web/app/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-relationship-table-status: 110,411,528
    
    `
    

    Pods Package

    {
        "@meta": {
            "version": "2.9.10.2",
            "build": 1671223573
        },
        "pods": [
            {
                "name": "user",
                "id": 37,
                "label": "User",
                "description": "",
                "type": "user",
                "storage": "meta",
                "object": "user",
                "_migrated_28": "0",
                "groups": [
                    {
                        "name": "more_fields",
                        "id": 153708,
                        "label": "More Fields",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "avatar",
                                "id": 39,
                                "label": "Avatar",
                                "description": "Your profile image",
                                "weight": 0,
                                "type": "avatar",
                                "required": "0",
                                "avatar_uploader": "attachment",
                                "avatar_attachment_tab": "upload",
                                "avatar_restrict_filesize": "10MB",
                                "avatar_add_button": "Add File",
                                "avatar_modal_title": "Attach a file",
                                "avatar_modal_add_button": "Add File",
                                "admin_only": "0",
                                "restrict_role": "1",
                                "restrict_capability": "0",
                                "hidden": "0",
                                "read_only": "0",
                                "roles_allowed": [
                                    "administrator",
                                    "editor",
                                    "author"
                                ],
                                "sister_id": "-- Select One --",
                                "avatar_format_type": "single",
                                "avatar_upload_dir": "wp",
                                "avatar_edit_title": "1",
                                "avatar_show_edit_link": "0",
                                "avatar_linked": "0",
                                "avatar_limit": "0",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    }
                ]
            }
        ]
    }
    
    Type: Bug 
    opened by cspicuzza 0
  • Slider with negative minimum number not working right

    Slider with negative minimum number not working right

    Description

    If you create a number field and make it a slider ranging from -1 to 100, it doesn't work right when trying to set the values -1 or 0. Sometimes they skip the 0 and the wrong number is saved.

    Version

    2.9.10.2

    Testing Instructions

    1. Edit a pod
    2. Add a number field
    3. Options tab > Input > Slider
    4. Minimum number: -1
    5. Maximum number: 100
    6. Save
    7. Go to the post type and try sliding the bar between -1 and 0, it will have a strange behaviour
    8. Save the post and check if the number is still the same you set previously

    Screenshots / Screencast

    No response

    Possible Workaround

    No response

    Site Health Information

    No response

    Pods Package

    No response

    Type: Bug 
    opened by alexfoffano 0
Releases(2.9.10.2)
  • 2.9.10.2(Dec 14, 2022)

    • Fixed: The new pods_get_instance() function now correctly checks if the $pod object is set up before calling methods on it. (@lkraav, @sc0ttkclark)
    • Fixed: Properly support REST API namespace customizations for Post Types and Taxonomies. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.9.10.1(Dec 13, 2022)

  • 2.9.10(Dec 13, 2022)

    • Performance: Major performance improvements have been made to decrease queries in more areas of Pods and reduce overall load on any page. (@sc0ttkclark)
    • Added: New WP-CLI tool command: wp pods tools delete-all-content <pod> [--test] (@sc0ttkclark)
    • Added: New WP-CLI tool command: wp pods tools delete-all-groups-and-fields <pod> [--test] (@sc0ttkclark)
    • Added: New WP-CLI tool command: wp pods tools delete-all-relationship-data <pod> [--fields] [--test] (@sc0ttkclark)
    • Added: New WP-CLI tool command: wp pods tools repair-groups-and-fields <pod> [--test] (@sc0ttkclark)
    • Added: Pods Admin > Tools and Pod Resets can now be previewed before you run them. (@sc0ttkclark)
    • Tweak: Added debug backtrace to DB query errors as an admin, just add ?pods_debug_backtrace=1 to the URL to enable that to find out more details about where the query came from. (@sc0ttkclark)
    • Tweak: Relationships related to a Post Type now have an option to specify "Any Status" as an option for which posts to show. (@sc0ttkclark)
    • Fixed: Advanced filters modal shows empty input fields as expected now for Advanced Content Types. #6949 (@sc0ttkclark)
    • Fixed: Implemented num_prefix in Pods::ui() for more customization capabilities. (@sc0ttkclark)
    • Fixed: Reduce load on block editor screen for Pods Blocks that have no preview. (@sc0ttkclark)
    • Fixed: PHP 8.0+ compatibility changes have been made to bypass PHP deprecation notices. #6579 (@sc0ttkclark)
    • Fixed: All currently known PHP 8.0+ deprecation notices have been resolved. (@sc0ttkclark)
    • Fixed: Removed %%%s%% usage in prepared LIKE queries for PodsTermSplitting class. (@sc0ttkclark)
    • Fixed: Pods Auto Templates now checks whether a post is password protected (and needs auth) before outputting the template. #6962 (@sc0ttkclark)
    • Fixed: Excluded Pods config post types from deletion when post author is deleted. #6938 (@sc0ttkclark)
    • Fixed: Settings values now get cached and cleared correctly between saves. #6964 (@sc0ttkclark)
    • Fixed: Admin Columns integration no longer throws unaught type errors for field values that contain an array. #6965 #6966 (@therealgilles, @sc0ttkclark)
    • Fixed: Block editor inspector controls for Pods Blocks that have dropdowns now show as full width as expected. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.9.9(Oct 31, 2022)

    • Tweak: When a field has moved outside of a group, disallow deleting that group until the Pod has been saved to prevent those fields being removed/orphaned. #6940 #6937 (@zrothauser, @sc0ttkclark)
    • Tweak: When registering code-based fields, if you have a relationship field that you are supplying the 'data' option for, you can now pass in a callable function (not a string or array due to back-compat) to return the options only when the data is needed instead of every page load. (@sc0ttkclark)
    • Fixed: Number and currency parsing issues resolved with HTML5 inputs. #6928 #6922 (@JoryHogeveen, @sc0ttkclark)
    • Fixed: Add support for post_thumbnail._src and post_thumbnail._url variations as fallbacks for the correct post_thumbnail_src and post_thumbnail_url field usage. #6935 (@sc0ttkclark)
    • Fixed: Resolve issues saving Pods Pages fields. #6942 (@sc0ttkclark)
    • Fixed: Number/currency simple repeatable fields now formats as expected. #6930 #6929 (@JoryHogeveen, @sc0ttkclark)
    • Fixed: Update cache group usage and flush to clear Pods post type storage cache options too. (@sc0ttkclark)
    • Fixed: Allow 0 as a valid option for relationship values.
    • Fixed: Updated compatibility with Custom Post Types UI migration component.
    Source code(tar.gz)
    Source code(zip)
  • 2.9.8(Sep 29, 2022)

    • Enhancement: New pods_config_for_field function helps to set up consistent field objects when custom arrays are used. (@sc0ttkclark)
    • Enhancement: The pods_config_for_pod function now handles basic Pod arrays as well. (@sc0ttkclark)
    • Enhancement: New Whatsit object now runs the pods_whatsit_setup and pods_whatsit_setup_(pod|field) actions during setup so the objects can easily be overridden. (@sc0ttkclark)
    • Enhancement: New Field::is_separator_excluded() method to help determine if current field is excluded from separators using pods_serial_comma(). (@sc0ttkclark)
    • Tweak: Minor code and performance optimizations. (@sc0ttkclark)
    • Fixed: Resolved PHP error registering code-based taxonomies. (@naveen17797)
    • Fixed: Resolved cache that wasn't getting cleared when a Template was saved. (@sc0ttkclark)
    • Fixed: oEmbed fields are editable again after fixing an issue with the readonly option. (@sc0ttkclark)
    • Fixed: Help to prevent magic tag helpers from causing fatal errors when they are used improperly. (@sc0ttkclark)
    • Fixed: Resolved issue with getting field values from Pods::field() for code-based relationships that have no ID. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.9.7(Sep 23, 2022)

    • Enhancement: You can now toggle every checkbox at once on the Packages > Export screen instead of just by section. (@sc0ttkclark)
    • Enhancement: The Field object now has a new is_file() method to determine whether the field is a recognized file field type (file or avatar). (@sc0ttkclark)
    • Tweak: Post Type Objects and Taxonomy Objects are now available through Relationships and have been moved from the Advanced Relationships component. (@sc0ttkclark)
    • Fixed: Resolve issue with some sites having an asset issue with the Pods Template editor. #6924 #6921 (@JoryHogeveen)
    • Fixed: Code-based file fields now work correctly with the plupload AJAX handler. (@sc0ttkclark)
    • Fixed: Code-based relationship fields now lookup their data correctly in more places like in Pods::field(). (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.9.6(Sep 22, 2022)

  • 2.9.5(Sep 22, 2022)

    • Fixed: Resolved reported issues with Pods Templates saving and loading values incorrectly for Restrict Content fields. #6916 (@sc0ttkclark, @JoryHogeveen)
    • Fixed: Color fields are no longer forced as a read only input. #6915 (@sc0ttkclark)
    • Fixed: Settings forms are no longer out of sync between the form and fields on which form instance they belong to. #6915 (@sc0ttkclark, @JoryHogeveen)
    Source code(tar.gz)
    Source code(zip)
  • 2.9.4(Sep 21, 2022)

    • Feature: New block alert! "Pods Single Item - List Fields" opens the doors towards listing a list of fields in variety of format styles automatically for you. You don't have to write any HTML, just specify the field(s) you'd like to show and let the block do the rest for you. The block will display the Field Labels and the Field Values in a nice readable format. Display formats available include: ul, ol, dl, p, div, and table. Want to show all but a few fields? Just specify which fields to exclude if that's what you're after :) (@sc0ttkclark)
    • Feature: New {@_all_fields} magic tag (or $pod->field('_all_fields') call) will automatically output all field values for the current Pod item in the specified format which includes showing the Field labels. Specify the format using this syntax: {@_all_fields.ul} (default is ul, but ol, dl, p, div, and table are also supported). (@sc0ttkclark)
    • Feature: New {@_display_fields....} magic tag (or $pod->field('_display_fields....') call) will automatically output all field values for the current Pod item in the specified format which includes showing the Field labels. Specify the format using this syntax: {@_display_fields.ul.field_name|another_field|related_post:post_title} (default is ul, but ol, dl, p, div, and table are also supported) -- Separate your fields with a pipe "|" character and then if you need to traverse into any relationship field then just traverse each level with a colon ":" character between those fields. (@sc0ttkclark)
    • Feature: New pods_data_field() function allows you to get special data fields directly instead of requiring you to use a full Pods object. (@sc0ttkclark)
    • Feature: New Repair tool on the Pods Admin > Settings > Tools page helps to repair Pod, Group, and Field configuration issues that can be annoying to deal with or would normally require Database access to resolve. (@sc0ttkclark)
    • Feature: You may not have known about it before but we've expanded our existing Pods DFV JS API, you can access it through the window.PodsDFV object. Methods include: getFields( pod = '', itemId = 0, formCounter = 1 ), getField( pod, itemId, fieldName, formCounter = 1 ), getFieldValues( pod = '', itemId = 0, formCounter = 1 ), getFieldValuesWithConfigs( pod = '', itemId = 0, formCounter = 1 ), getFieldValue( pod, itemId, fieldName, formCounter = 1 ), setFieldValue( pod, itemId, fieldName, value, formCounter = 1 )
    • Enhancement: You can now choose what field mode you would like to use for REST API fields. The default mode is raw values, but you can choose to return rendered values or both raw+rendered values as an object to work with. #5198 (@sc0ttkclark)
    • Enhancement: You can now specify a custom display separator for repeatable fields to use when rendering. #6892 #6890 (@JoryHogeveen)
    • Changed: Resetting a Pod has been removed from the Pods Admin > Edit Pods page, instead of clicking "Delete All Items" there, you can now access this directly from Pods Admin > Settings > Cleanup & Reset as the new "Delete all content for a Pod" option. You can specify the Pod you want to delete content for and it explains exactly what you can expect from running it. (@sc0ttkclark)
    • Tweak: Updated Pods Admin > Help page now lists more add-ons and where to get them / get support for them. (@sc0ttkclark)
    • Fixed: Properly convert accents when creating a new pod and using the label to generate the pod name. #6874 (@sc0ttkclark)
    • Fixed: Relationship/file fields that are hidden on the screen will now have all field values referenced instead of only the first value when multiple is enabled for that field. #6913 (@sc0ttkclark)
    • Fixed: pods_query_arg() now correctly excludes all $_GET parameters when passing a manual URL into the function. (@sc0ttkclark)
    • Fixed: Legacy WP-CLI commands for Pods are now showing up again, however they will be replaced in a future release with a more comprehensive solution. In the meantime, you can use those commands by calling wp pods-legacy and wp pods-legacy-api.
    • Fixed: Prevent conflicting filter calls when filtering things other than post_title in the Display Field in Selection List option. #6909 #6907 (@therealgilles, @sc0ttkclark)
    • Fixed: The autocomplete field now lets you click the "X" delete icon properly instead of starting drag-and-drop event. #6905 #6878 (@JoryHogeveen)
    • Fixed: Resolved saving multiple files to a Media pod which would result in only the first file being saved. #6450 (@sc0ttkclark)
    • Fixed: Resolved TinyMCE media button handling in some cases so that it checks the correct place in the field configuration. #6569 (@sc0ttkclark)
    • Fixed: Resolved overflow issues in small screens for relationship field List View. #6542 (@sc0ttkclark)
    • Fixed: Resolved issue with some TinyMCE scripts not being included on certain screens that use the TinyMCE WYSIWYG field. #6525 (@sc0ttkclark)
    • Fixed: Pod/Group/Field configurations being saved now get their null-ish values (from empty select fields) sent as empty strings so they are not reverted to the previously saved value on next load. #6558 (@sc0ttkclark)
    • Fixed: Pod/Group/Field configurations being saved now get their checkbox boolean options properly enforced as 0/1 and sent so they are not reverted to the default value on next load. #6485 (@sc0ttkclark)
    • Fixed: Fields added manually through the older pods_group_add() function now get their field types properly recognized. #6381 (@sc0ttkclark)
    • Fixed: Field config overrides for requiring a field when outputting via PHP are now properly recognized by DFV JS logic for validation and form submission prevention. #6352 (@sc0ttkclark)
    • Fixed: Autocomplete field AJAX calls are now able to correctly reference the field object for code-based registered fields. #6896 (@naveen17797, @sc0ttkclark)
    • Fixed: Display of the buttons in the list fields now properly aligns to the right side. #6894 #6893 (@JoryHogeveen, @sc0ttkclark)
    • Fixed: Date range validation now validates based on the internal format instead of only on the display format. #6882 #6881 (@JoryHogeveen)
    • Fixed: Number field type with slider inputs now use the correct number references. #6885 #6884 (@JoryHogeveen)
    • Fixed: Currency field type now appears correctly on non-HTML5 fields. #6887 #6886 (@JoryHogeveen)
    • Fixed: Resolved read-only fields functionality which was initially missing from the Pods 2.8+ DFV functionality. #6875 #6583 (@zrothauser, @sc0ttkclark)
    • Fixed: Resolved issue where fields can disappear while being dragged from one group to another. #6873 #6867 (@zrothauser)
    Source code(tar.gz)
    Source code(zip)
  • 2.9.3(Aug 18, 2022)

    • Fixed: Resolve additional issue with WPGraphQL on some PHP configurations. #6868 (@sc0ttkclark)
    • Fixed: Code field and others that do not support repeatable inputs are now forced to show non-repeatable inputs even if the setting was saved as on. #6855 (@sc0ttkclark)
    • Fixed: TinyMCE WYSIWYG fields are now no longer showing as repeatable since they are not fully supported. Quill Editor remains supported for repeatable input. #6855 (@sc0ttkclark)
    • Fixed: A development build has been resolved which broke the Code editor field. #6870 (@JoryHogeveen, @sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.9.2(Aug 16, 2022)

    • Tweak: Improve the repeatable field UI elements so they blend in more. #6853 #6854 (@JoryHogeveen, @sc0ttkclark)
    • Tweak: Use a popover UI for color fields. #6858 #6859 (@JoryHogeveen)
    • Tweak: Use a popover UI for date, date/time, and time fields. #6857 #6389 #6860 (@JoryHogeveen)
    • Fixed: Resolve conflicts with Restrict Content Pro to deal with how it uses the shared Common library. (@sc0ttkclark)
    • Fixed: Resolve issues with taggable relationships not saving string values. #6862 #6863 (@JoryHogeveen, @sc0ttkclark)
    • Fixed: Resolve formatting issues with saved date/time field variations on save. #6389 #6860 (@JoryHogeveen)
    • Fixed: Resolve error with WPGraphQL on some PHP configurations. #6865 (@sc0ttkclark)
    • Fixed: Resolve error in the field settings for Files with Gallery enabled. #6864 (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.9.1(Aug 10, 2022)

    • Fixed: CodeMirror compatibility updated after some packages in the build caused Code fields to not show in the Pods forms. #6580 #6584 (@zrothauser, @sc0ttkclark)
    • Fixed: Resolve potential fatal errors when interacting with WP_Filesystem by reading files using normal PHP functions and bypassing those edge cases. #6581 #6582 (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.9.0(Aug 9, 2022)

    • Feature: Simple Repeatable Fields offers the ability to turn almost any field into a repeatable field. With repeatable fields, you can add multiple values for a field. You can use repeatable fields with the Pods template tag [each your_repeatable_field] to easily loop and display information with {@_value} Supported field types include: Plain Text, Website, Phone, Email, Password, Date / Time, Date, Time, oEmbed, Plain Paragraph text, WYSIWYG, Plain Number, Currency, and Color Picker. Supported Pod Types include: Post Types (meta-based), Taxonomies (meta-based), Users (meta-based), and Comments (meta-based). #1095 #6304 (@sc0ttkclark, @zrothauser)
    • Feature: Register Pods configurations with JSON/YML files in your theme when stored in pods.json, pods/pods.json, pods/templates.json, etc. Custom paths can be registered to support third party plugins as well. Register new paths using pods_register_config_path( $full_directory_path ) that contain a /pods/ directory to automatically pull from or use pods_register_config_file( $full_file_path, 'json' ) to register a specific file. #4856 (@sc0ttkclark)
    • Feature: The initial integration for WPGraphQL has been merged from the WPGraphQL Integration Add-On for Pods Pro by SKCDEV. The Add-On itself will continue to be developed with new features that are focused on Advanced Content Types and other enhancements in the future that will still remain outside of Pods core. (@sc0ttkclark)
    • Feature: Drag and drop fields from one group to another. #5937 #6114 #6123 #6456 (@sc0ttkclark)
    • Feature: Support importing and exporting Pods Settings in Pods Packages. #6455 (@sc0ttkclark)
    • Feature: Website fields can now be set to output links with rel="nofollow" on them. (@sc0ttkclark)
    • Feature: Full support for DB (Post Types), Code (PHP), and File (JSON/YML) configurations on the Pods Admin > Edit Pods screen. If you have configurations for multiple sources, you will see a new Source column (with file path) and you can filter by source. Pods with non-DB sources currently do not have Edit/Duplicate/Reset Content/Delete links. (@sc0ttkclark)
    • Feature: The file field can now support any image, video, or audio mime types that are supported by WordPress. #6577 #6578 (@sc0ttkclark, @JoryHogeveen)
    • Enhancement: New \Pods\Pod_Manager class allows reusing Pods instances when working with the same Pod across many areas of the code. (@sc0ttkclark)
    • Enhancement: Added PodsAdmin::check_requirements() helper method. (@sc0ttkclark)
    • Enhancement: Migrate Packages component is now enabled by default on new Pods installs. (@sc0ttkclark)
    • Tweak: Removed special logic intended for PHP 5.3 and earlier. (@sc0ttkclark)
    • Tweak: Improved performance when getting Pods configs from post type storage. #6561 #6562 (@JoryHogeveen)
    • Fixed: Set the default sort to Pod Label now that more sources are supported on Pods Admin > Edit Pods. (@sc0ttkclark)
    • Fixed: Prevent potential issues with $wpdb->prepare() when a related object does not have an index field set. (@sc0ttkclark)
    • Fixed: Resolve issue with not reading cache when no ID is passed into Pods objects for Settings pods. #3582 #3583 (@pcfreak30, @sc0ttkclark, @JoryHogeveen)
    • Fixed: Don't show the edit link in PodsUI if access is restricted, previously going to edit would show the access message but now the link won't show at all in those restricted cases. (@sc0ttkclark)
    • Fixed: Resolve issues with Media modal fields showing duplicate fields. #6564 (@JoryHogeveen)
    • Fixed: Handle processing the Pods display tags in a more dynamic way for attributes and passing them down to the tag handlers. (@sc0ttkclark)
    • Fixed: Enable media buttons for the post_content field like they should so that forms outside the admin screen continue to function as expected. #6525 (@sc0ttkclark)
    • Fixed: Resolve issues with values that are objects and convert them to arrays for relationship value formatting in DFV field renders. #6566 (@sc0ttkclark)
    • Fixed: Show the Add Media button in forms that use the post_content field. #6569 (@sc0ttkclark)
    • New minimum WP version required: WordPress 5.7+ (previously: WP 5.5+)
    • No minimum PHP version changes (currently: PHP 5.6+) but please be aware that PHP 7.2+ will be required for the Pods 3.0+ feature release. You should take the time to update to PHP 8.0+ because there’s major speed improvements to be had 🙂
    Source code(tar.gz)
    Source code(zip)
  • 2.8.23(Jul 4, 2022)

    • Tweak: Added support for exporting post types and taxonomies to PHP for debugging purposes. While logged in as an admin, add ?pods_debug_register_export=1 to expose textareas on the page to get the code. (@sc0ttkclark)
    • Tweak: Added support for new {@_current_page} calculation value. (@sc0ttkclark)
    • Tweak: Added support for calculation values in conditional display tags like [if field="_position" value="2"]. #6513 (@sc0ttkclark)
    • Fixed: Resolved revision issues when revisions_to_keep_limit is set to 0 in the post type. It was supposed to see 0 and use the default revision limit. Instead, it was disabling the revisions for that post type. #6499 (@sc0ttkclark)
    • Fixed: Resolved potential PHP warnings on certain sites by preparing SQL queries separately from other string processing. #6556 #6555 #6554 (@JoryHogeveen, @sc0ttkclark)
    • Fixed: Resolved potential PHP notices when getting table information in PodsData::table(). (@JoryHogeveen)
    • Fixed: Resolved potential PHP type conversion warnings by passing SORT_REGULAR to `array_unique()`` in the File field saving process. (@JoryHogeveen)
    • Fixed: Pods Auto Templates defaults for some fields were set to "true" and that is now treated as empty. The default for those fields are now empty as intended. This resolves notices on the Edit Pod screen about templates being used for Archives when Archives are disabled, but there was no template intentionally set for Archive. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.22.1(Jul 3, 2022)

  • 2.8.22(Jul 3, 2022)

    • Added: Support IN and NOT IN comparisons for the Pods Templating [if] conditional shortcode that checks if the current value is/isn't within a comma-separated list of values. (@sc0ttkclark)
    • Added: Support = and != comparisons when the current value is an array of values, it now confirms the value is/isn't within that array. (@sc0ttkclark)
    • Added: When saving pod items, support field-type specific save method for non-tableless field types for future flexibility. (@sc0ttkclark)
    • Added: New pods_query_prepare() function maps to pods_query() but allows for distinct prepare usage instead of confusing array syntax. (@sc0ttkclark)
    • Added: Added new Field::get_single_multi() helper method to determine whether a field is using a single/multi format type. (@sc0ttkclark)
    • Tweak: When saving pod items, pre-process tableless field type data consistently to better support table-based storage. (@sc0ttkclark)
    • Tweak: When saving pod items, allow filtering the list of processed data values that will be used to do the final save with pods_api_save_pod_item_processed_data_to_save. (@sc0ttkclark)
    • Tweak: Adjusted the prepared SQL statements to use the new pods_query_prepare() when doing wp_podsrel table relationship lookups. (@sc0ttkclark)
    • Tweak: Filter wp_podsrel table relationship lookup related IDs the same way as meta-based related IDs get with the pods_api_lookup_related_items_related_ids_for_id filter. (@sc0ttkclark)
    • Tweak: Support custom heading tags for the Heading field in the DFV-powered areas like the Edit Pod screen. (@sc0ttkclark)
    • Tweak: Further lock down custom heading tags in PHP-powered forms so that they can only contain basic tag names. (@sc0ttkclark)
    • Fixed: Avoid setting post terms that are empty when saving pod item. (@sc0ttkclark)
    • Fixed: Dot-traversal in Pods Templating [if] conditional shortcodes references the correct pod and expected field path. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.21(Jun 28, 2022)

    • Fixed: When determining the first version installed of Pods, use the last known version instead of the current version. (@sc0ttkclark)
    • Fixed: Increase the version used when determining defaults for Meta Integration and Meta Overrides. (@sc0ttkclark)
    • Fixed: Allow language relationships with Polylang language taxonomy. #6541 #6540 (@JoryHogeveen)
    • Fixed: Remove empty values from list of file types to prevent PHP warnings. #6544 #6543 (@JoryHogeveen)
    • Fixed: Prevent errors on List Select fields if there are empty results. #6536 #6536 (@zrothauser)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.20(Jun 17, 2022)

    • Fixed: Use the correct defaults for the new Pods Settings of Meta Integration and Meta Overrides. (@sc0ttkclark)
    • Fixed: Use the correct defaults for Pods Settings when they return as a blank string. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.19(Jun 13, 2022)

  • 2.8.18(Jun 10, 2022)

    • Added: New helper functions pods_clean_memory() and pods_maybe_clean_memory() introduced to provide WP-CLI commands in Pods core and add-ons the ability to help reduce memory usage in long running processes. (@sc0ttkclark)
    • Added: New function Pods::is_defined() determines whether a Pod was defined or if it was generated adhoc when calling a non-defined Pod. (@sc0ttkclark, @JoryHogeveen)
    • Added: New function Pods::is_valid() replaces the logic in Pods::valid() to better follow the naming pattern used elsewhere in Pods. Pods::valid() is not deprecated yet. (@sc0ttkclark)
    • Added: New functions pods_static_cache_get(), pods_static_cache_set(), and pods_static_cache_clear() abstract the static cache handling that would sometimes fail if the class was not available. (@sc0ttkclark)
    • Added: New filter pods_init_register_assets_load_pods_dfv_on_front which allows you to force loading Pods DFV scripts on the front of the site when needed. Normally they will be included but some plugins/themes may need them enqueued sooner. (@sc0ttkclark)
    • Tweak: Improved performance when using TranslatePress by optimizing how settings and blocks are handled to avoid extra __() translation calls. (@sc0ttkclark)
    • Tweak: Improved performance with Block configurations. (@sc0ttkclark)
    • Tweak: Improved performance with existing content type checks. (@sc0ttkclark)
    • Tweak: Improved performance by offering a new setting to enable/disable tracking changed fields. (@sc0ttkclark)
    • Tweak: Improved performance by offering a new setting to enable/disable metadata integration. (@sc0ttkclark)
    • Tweak: Improved performance and third party plugin compatibility by offering a new setting to enable/disable metadata display overrides for Relationship/File fields. (@sc0ttkclark)
    • Tweak: Improved file types help text on the File field to describe how limiting file types works more clearly. (@sc0ttkclark)
    • Tweak: Default input type for Relationships multiple-select is now List View. (@sc0ttkclark)
    • Fixed: File path checks are now more strict and consistent across all Pods Views loading. (@sybrew from The SEO Framework team, @sc0ttkclark)
    • Fixed: SVG and other file types would not properly match up when certain plugins add additional mime types to be supported. (@sc0ttkclark)
    • Fixed: Improved fallback handling for DB table schema errors when trying to add a column that may already exist in the table. (@sc0ttkclark)
    • Fixed: Support labels for HTML field types in more form areas. (@sc0ttkclark)
    • Fixed: PodsUI now filters all field values instead of circumventing that when it's pulled from the table row already. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.17(May 12, 2022)

    • Fixed: Attempting to catch potential issues where an issue is detected with loading the Tribe Common library by introducing a wrapper function pods_container() to be used before calling tribe(). (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.16(May 6, 2022)

    • Added: More compatiblity with Advanced Relationship Storage Add-On from Pods Pro by SKCDEV which allows for saving table-based relationship fields during the normal save process. (@sc0ttkclark)
    • Fixed: Booleans when saving to the database now prepare as %d instead of the generic %s. (@sc0ttkclark)
    • Fixed: Additional SV file escaping on exports to prevent formulas from evaluating in certain spreadsheet apps unexpectedly. (@sc0ttkclark)
    • Fixed: The old Pods / Pods API CLI commands were unintentially removed in Pods 2.8 and they have now been brought back as wp pods-legacy and wp pods-legacy-api. (@sc0ttkclark)
    • Fixed: Improved the text / link for registering connections on Post Types and Taxonomies so they reference the correct object type. (@sc0ttkclark)
    • Fixed: Multi-select fields were not saving properly in certain forms. #6498 #6216 (@zrothauser)
    • Confirmed compatibility with WordPress 6.0.
    Source code(tar.gz)
    Source code(zip)
  • 2.8.15(Apr 16, 2022)

    • Added: New pods_callback support in Pods::find() so that you can pass a callback function to use for pods() usage with relationships using the output as "pods". This allows for using shared instances across large data sets to reduce time. (@sc0ttkclark)
    • Added: New property $data->fetch_full added to PodsData which can be used to turn off additional fetch requests when all of the table data was already returned by the query with t.*. (@sc0ttkclark)
    • Fixed: When using table-based fields and a non-simple relationship has a field in the table, it will still be expanded like a normal relationship field when requesting it by name with no traversal. (@sc0ttkclark)
    • Fixed: Call PodsField_Pick::simple_objects() using the object instead of statically to prevent PHP notices. (@sc0ttkclark)
    • Fixed: Adjust the Pods\REST\V1\Endpoints\Base::check_permission() method so that it references the correct \Pods object. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.14(Apr 15, 2022)

    • Added: New $params support in Pods::total_found( $params ) to support Pods::find( $params ) shorthand lookups for getting total number of records found more easily. (@sc0ttkclark)
    • Added: New pods_api_save_field_table_definition_mode filter allows overriding the definition mode when saving a field (bypass/add/drop/change) for schema management. (@sc0ttkclark)
    • Added: New pods_podsrel_enabled() arguments to allow filtering based on the field and context. (@sc0ttkclark)
    • Added: New pods_data_build_pre_traverse_args filter allows for overriding the find/replace/traverse/params arguments for a PodsData::build() request before relationship traversal runs. (@sc0ttkclark)
    • Added: New pods_data_traverse_recurse_handle_join filter allows for overriding the JOIN SQL used for relationship traversal. (@sc0ttkclark)
    • Fixed: Resolved potential PHP issues with path checks in PodsView on certain environments. (@sc0ttkclark)
    • Fixed: When a slug is set on a Pods Page, if the slug value comes through as empty due to a path issue, it will now enforce a 404 as expected. (@sc0ttkclark)
    • Fixed: Resolved a few issues with the old field data coming through to the pods_api_save_field_old_definition filter. (@sc0ttkclark)
    • Fixed: No longer showing WPDB errors from WPDB when query errors are forced off. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.13(Apr 10, 2022)

  • 2.8.12(Apr 8, 2022)

    • Fixed: Resolved PHP issues with PHP 7.x with the REST API endpoints. (@sc0ttkclark)
    • Fixed: Fix Auto Template logic for detecting taxonomy archives to get the correct pod name from the associated term. #6368 #6490 (@JoryHogeveen)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.11(Apr 8, 2022)

    • Added: You can now enable types-only mode for Pods under Pods Admin > Settings. This new mode will disallow adding and managing custom groups/fields. You can force it on by defining PODS_META_TYPES_ONLY as true in your wp-config.php too. #6437 (@sc0ttkclark)
    • Added: Now you can limit relationship fields that relate to post types to only include posts that match the current post's author. #4291 (@sc0ttkclark)
    • Added: JS API - Now you can hook into right after the Pods form fields have loaded by using window.PodsDFV.hooks.addAction( 'pods_init_complete', 'pods/dfv', () => {} ); #6482 (@zrothauser, @sc0ttkclark)
    • Added: JS API - New JS helper functions to interact with fields on the screen including window.PodsDFV.getField( pod, itemId, fieldName, formCounter ), window.PodsDFV.getFields( pod, itemId, formCounter ), window.PodsDFV.getFieldValue( pod, itemId, fieldName, formCounter ), window.PodsDFV.setFieldValue( pod, itemId, fieldName, value, formCounter ). #6471 #6475 (@zrothauser, @sc0ttkclark)
    • Added: CLI - New CLI command wp pods playbook run which can run playbook .json files which allow you to perform multiple tasks with the Pods API. Useful for coordinating renames of Pods, Groups, and Fields, along with other CLI tasks between different environments. #6460 (@sc0ttkclark)
    • Fixed: Limit by post status option has been resolved but you may need to re-save your post status choices again. #6470 (@sc0ttkclark)
    • Fixed: Duplicated Pods now properly set the groups for the duplicated fields. If you have a Pod that is missing fields, try adding &pods_debug_find_orphan_fields=1 to your edit pod URL and it should automatically fix them for you. #6463 (@sc0ttkclark)
    • Fixed: Advanced Content Type modals now close as expected when saving them within Flexible Relationships (Add New / Edit links for a relationship). #6457 #6481 (@zrothauser)
    • Fixed: Thumbnails in file lists now properly scale down as expected. #6473 #6474 (@JoryHogeveen)
    • Fixed: Simple Relationships now properly save once again for Settings pods. #6476 (@sc0ttkclark)
    • Fixed: The relationship field option for Autocomplete Select fields have improved drag and drop functionality to resolve issues with larger datasets. #6428 #6466 (@zrothauser)
    • Fixed: Now refreshing the language cache when WPML switches languages. #6448 #6449 (@JoryHogeveen)
    • Fixed: Disabled Tribe Common shortcode handling (when loading TC for Pods in independent-mode). #6438 (@sc0ttkclark)
    • Fixed: Resolved issue with the editor instance appearing over the dropdown select field options. #6452 #6453 (@JoryHogeveen)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.10(Feb 2, 2022)

    • Fixed: Meta compatibility fix for when it was not saving to meta through direct update meta calls. #6429 #6431 (@sc0ttkclark)
    • Fixed: Don't render the wrapper HTML for blocks if the contents are empty. (@sc0ttkclark)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.9(Jan 31, 2022)

    • Added: There's a new tool at Pods Admin > Settings > Tools that will let you "Recreate missing tables". This will run the logic used to create those tables needed by Pods. This is currently just for wp_podsrel but will eventually include all other table-based Pods too. #5795 (@sc0ttkclark)
    • Added: Are you interested in seeing how much data your Pods are storing? You can now add &pods_include_row_counts=1 to the Pods Admin > Edit Pods URL and see how many Data Rows, Meta Rows, and Relationship Rows are associated to each pod. This is a hidden feature and will be added in the future as a link directly within the Edit Pods screen. (@sc0ttkclark)
    • Added: Support for alignment and custom classes on Pods Blocks. Disabled support for Anchors until they are officially resolved for dynamic blocks in core. (@sc0ttkclark)
    • Added: Hooks implemented for new compatibility with the Pods Pro by SKCDEV Add On for Advanced Relationship Storage. (@sc0ttkclark)
    • Fixed: Abstracted the meta saving into PodsMeta::save_meta() so that it can be used to remove duplicate logic in other methods and implemented it for meta fallback for simple relationship compatibility saving in integrations like Paid Membership Pro. (@sc0ttkclark)
    • Fixed: Resolved single/double quotes that were getting converted to HTML entities for Custom Post Type singular/plural labels. #6399 #6394 (@JoryHogeveen)
    • Fixed: Additional work on preventing unnecessary queries from other plugins with our Meta API integration. #6379 (@sc0ttkclark)
    • Fixed: Groups now properly check their access rights before showing. #6377 (@sc0ttkclark)
    • Fixed: Resolved deprecation notices where we still called pods_ui_message(), replaced with pods_message(). #6340 (@sc0ttkclark)
    • Fixed: Resolved issues with 00:00 times when HTML5 inputs are enabled for Date/Time fields. #6256 #6382 (@zrothauser, @sc0ttkclark)
    • Fixed: Some times after updating to 2.8, a Pod may have orphaned fields that exist outside of groups. This normally gets handled during the first time you edit a pod but now we have an additional count check to see if the field counts match as expected when editing a pod so it can trigger that process even after the first edit in 2.8. #6384 #6302 (@sc0ttkclark)
    • Fixed: Cleaned up and abstracted the logic to build the field name used in DB queries for a field. #6270 #6411 (@sc0ttkclark, @jamesgol)
    • Fixed: Resolved Date/Time field issues on certain browsers/OS combinations. #6318 #6300 (@sc0ttkclark, @zrothauser)
    • Fixed: No longer showing the pagination links if there's just one page. #5184 (@sc0ttkclark)
    • Fixed: Resolved PHP warnings with the Pods Blocks that may occur due to variations on how the data is provided to the block. #6367 #6386 #6388 (@JoryHogeveen, @sc0ttkclark)
    • Fixed: Relationships now properly respect the depth provided in the field settings for REST API responses. #6373 (@sc0ttkclark)
    • Fixed: Better prevent recursive loops when saving meta from third parties. #6391 (@sc0ttkclark, @mircobabini)
    • Fixed: Resolve pods_data usage in PodsAPI::import(). #6404 (@sc0ttkclark, @LN-MDeRuscio)
    • Fixed: Multiple block collections registered through Pods now works as expected. #6403 (@sc0ttkclark)
    • Fixed: Groups now remove from the screen after deleting them. The group was deleted before but it wasn't removed from the screen which caused confusion. #6395 #6396 (@zrothauser, @sc0ttkclark)
    • Fixed: Resolved PHP warning in PHP 8+ on 404 pages for taxonomy terms. #6383 #6387 (@JoryHogeveen)
    • Fixed: Reordering relationships for all inputs that support that has been resolved. #6206 #6094 #6390 (@zrothauser)
    • Fixed: Resolved issues with newly added items being added to the multi-select input. #6216 #6385 (@zrothauser)
    • Fixed: Improved appearance for Add New modal sizes. #6364 #6365 (@JoryHogeveen)
    Source code(tar.gz)
    Source code(zip)
  • 2.8.8.1(Dec 8, 2021)

    • Fixed: Resolve issues with going to Add New Pod screen and not seeing expected post types / taxonomies to be extended. #6358 #6359 (@JoryHogeveen)
    • Fixed: Slider formatting for input now supports more varied separators and decimal characters. #6357 #6361 (@JoryHogeveen)
    Source code(tar.gz)
    Source code(zip)
Owner
Pods Foundation, Inc
Grow Beyond Posts & Pages. We are a custom content development framework for WordPress allowing you to manage all your custom content in one place.
Pods Foundation, Inc
SecLists is the security tester's companion. It's a collection of multiple types of lists used during security assessments

SecLists is the security tester's companion. It's a collection of multiple types of lists used during security assessments, collected in one place. List types include usernames, passwords, URLs, sensitive data patterns, fuzzing payloads, web shells, and many more. The goal is to enable a security tester to pull this repository onto a new testing box and have access to every type of list that may be needed.

Daniel Miessler 44k Jan 3, 2023
Sunhill Framework is a simple, fast, and powerful PHP App Development Framework

Sunhill Framework is a simple, fast, and powerful PHP App Development Framework that enables you to develop more modern applications by using MVC (Model - View - Controller) pattern.

Mehmet Selcuk Batal 3 Dec 29, 2022
Implementing programming best practices and patterns, and creating a custom PHP framework from scratch.

Implementing programming best practices and patterns, and creating a custom PHP framework from scratch.

Sajidur Rahman 3 Jul 2, 2022
Mind is the PHP code framework designed for developers. It offers a variety of solutions for creating design patterns, applications and code frameworks.

Mind Mind is the PHP code framework designed for developers. It offers a variety of solutions for creating design patterns, applications and code fram

null 0 Dec 13, 2021
Opulence is a PHP web application framework that simplifies the difficult parts of creating and maintaining a secure, scalable website.

Opulence Introduction Opulence is a PHP web application framework that simplifies the difficult parts of creating and maintaining a secure, scalable w

Opulence 733 Sep 8, 2022
LODSPeaKr is a framework for creating Linked Data applications in a simple and easy way

LODSPeaKr is a framework for creating Linked Data applications in a simple and easy way. You can see several applications created using LODSPeaKr.

Alvaro Graves 31 Jun 23, 2020
Extension for creating and sending emails for the Yii PHP framework.

yii-emailer Extension for creating and sending emails for the Yii PHP framework. Usage Migrate the email_message database table by this command: yiic

Digia 12 Mar 30, 2022
QPM, the process management framework in PHP, the efficient toolkit for CLI development. QPM provides basic daemon functions and supervision mechanisms to simplify multi-process app dev.

QPM QPM全名是 Quick(or Q's) Process Management Framework for PHP. PHP 是强大的web开发语言,以至于大家常常忘记PHP 可以用来开发健壮的命令行(CLI)程序以至于daemon程序。 而编写daemon程序免不了与各种进程管理打交道。Q

Comos 75 Dec 21, 2021
li₃ is the fast, flexible and most RAD development framework for PHP

li₃ You asked for a better framework. Here it is. li₃ is the fast, flexible and the most RAD development framework for PHP. A framework of firsts li₃

Union of RAD 1.2k Dec 23, 2022
Hamtaro - the new web framework for front-end / back-end development using Php and Javascript.

Hamtaro framework About Technologies Controllers Components Commands Front-end development Getting Started About Hamtaro is the new web framework for

Phil'dy Jocelyn Belcou 3 May 14, 2022
CakePHP: The Rapid Development Framework for PHP - Official Repository

CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Associative Data Mapping, Front Controller, and MVC. O

CakePHP 8.6k Dec 31, 2022
High-Performance Long-Living PHP Framework for modern enterprise application development

Documentation · Discord · Telegram · Twitter Spiral Framework is a High-Performance Long-Living Full-Stack framework and group of over sixty PSR-compa

Spiral Scout 1.4k Jan 1, 2023
:gem: Go! AOP PHP - modern aspect-oriented framework for the new level of software development

Go! Aspect-Oriented Framework for PHP Go! AOP is a modern aspect-oriented framework in plain PHP with rich features for the new level of software deve

Go! Aspect-Oriented Framework 1.6k Dec 29, 2022
PHPLucidFrame (a.k.a LucidFrame) is an application development framework for PHP developers

PHPLucidFrame (a.k.a LucidFrame) is an application development framework for PHP developers. It provides logical structure and several helper utilities for web application development. It uses a functional architecture to simplify complex application development. It is especially designed for PHP, MySQL and Apache. It is simple, fast, lightweight and easy to install.

PHPLucidFrame 19 Apr 25, 2022
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Serve

☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、WorkerMan、FPM、CLI-Server

Mix PHP 1.8k Dec 29, 2022
Elgg is an open source rapid development framework for socially aware web applications.

Elgg Elgg is an open source rapid development framework for socially aware web applications. Features Well-documented core API that allows developers

Elgg 1.6k Dec 27, 2022
Motan - a cross-language remote procedure call(RPC) framework for rapid development of high performance distributed services

Motan-PHP Overview Motan is a cross-language remote procedure call(RPC) framework for rapid development of high performance distributed services.

Weibo R&D Open Source Projects 81 Nov 19, 2022
Basis for creating a CLI with php

Firulin-core v1 From Firulin-core you can create a CLI any way you want, adding new commands easily. Requeriments PHP 7.4^ Composer Get started co

Márrios 5 Jul 19, 2022
A modern, ultra lightweight and rocket fast Content Management System

Redaxscript A modern, ultra lightweight and rocket fast Content Management System for SQLite, MSSQL, MySQL and PostgreSQL. Installation Clone the repo

redaxscript 247 Nov 12, 2022