• Resolved bkjproductions

    (@bkjproductions)


    I suspect that the JSON string created when using Tools: Export may not be escaping the quotes in the description field.

    The reason I think this is that I have a lot of custom post types and created descriptions for each, and one of them has double-quotes. When I wanted to easily copy all of the descriptions, I took the JSON string over to https://codebeautify.org/json-decode-online
    where it balked at this line:
    "description":"Each person may have a featured image for a photo, and there are custom fields for data such as phone number and other contact information. Use the "Order" field to put them in the right order.\r\n",

    You can see that it is escaping the return at the end, at least, but NOT escaping “Order”.

    I have not tried to import this, but it makes me wonder if this is a special JSON format specific to CPTUI.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you paste me the entirety of the export portion, so that I can try some stuff out soon?

    We’re not doing anything custom with regards to JSON encoding/decoding, but I could believe that possibly we’re not doing enough with regards to the descriptions spot, in some way.

    Encoding spot for post types:
    https://github.com/WebDevStudios/custom-post-type-ui/blob/1.12.1/inc/tools.php#L826

    Encoding spot for taxonomies
    https://github.com/WebDevStudios/custom-post-type-ui/blob/1.12.1/inc/tools.php#L865

    Decoding spot for post types:
    https://github.com/WebDevStudios/custom-post-type-ui/blob/1.12.1/inc/tools.php#L1024

    Decoding spot for taxonomies:
    https://github.com/WebDevStudios/custom-post-type-ui/blob/1.12.1/inc/tools.php#L1028

    Thread Starter bkjproductions

    (@bkjproductions)

    @tw2113 here you go, assuming we are not introducing something else here inside the WP support editor. πŸ™‚ Like I say, I haven’t tried to import it, because my goal is to simply get a list of the descriptions. The cptui_get_post_type_data() function, to me, seems like it would be where the quotes are not encoded, though what if it’s specific to some server setting involving quotes (maybe magic quotes)? In theory, though, if it’s JSON it should be portable for other uses.

    `{“people”:{“name”:”people”,”label”:”People”,”singular_label”:”Person”,”description”:”Each person may have a featured image for a photo, and there are custom fields for data such as phone number and other contact information. Use the “Order” field to put them in the right order. TIP: Number by 10’s so you can insert more easily without having to renumber everyone. People Photos should be 300px wide X 400px high. File name should match the person’s name.\r\n”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”true”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”19″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:””,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”custom-fields”,”revisions”,”author”,”page-attributes”],”taxonomies”:[“post_tag”,”people_category”],”labels”:{“menu_name”:”People”,”all_items”:”All People”,”add_new”:”Add new”,”add_new_item”:”Add new Person”,”edit_item”:”Edit Person”,”new_item”:”New Person”,”view_item”:”View Person”,”view_items”:”View People”,”search_items”:”Search People”,”not_found”:”No People found”,”not_found_in_trash”:”No People found in trash”,”parent”:”Parent Person:”,”featured_image”:”Featured image for this Person”,”set_featured_image”:”Set featured image for this Person”,”remove_featured_image”:”Remove featured image for this Person”,”use_featured_image”:”Use as featured image for this Person”,”archives”:”Person archives”,”insert_into_item”:”Insert into Person”,”uploaded_to_this_item”:”Upload to this Person”,”filter_items_list”:”Filter People list”,”items_list_navigation”:”People list navigation”,”items_list”:”People list”,”attributes”:”People attributes”,”name_admin_bar”:”Person”,”item_published”:”Person published”,”item_published_privately”:”Person published privately.”,”item_reverted_to_draft”:”Person reverted to draft.”,”item_scheduled”:”Person scheduled”,”item_updated”:”Person updated.”,”parent_item_colon”:”Parent Person:”},”custom_supports”:””,”enter_title_here”:”Add Person”},”bulletin”:{“name”:”bulletin”,”label”:”Bulletins”,”singular_label”:”Bulletin”,”description”:”These usually have no actual content, just an Excerpt. They’re the “anchor” for PDFs. Category: Home will display the bulletin(s) on the home page”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”true”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”6″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:””,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”custom-fields”,”revisions”,”author”],”taxonomies”:[“category”,”post_tag”],”labels”:{“menu_name”:”Bulletins”,”all_items”:”All Bulletins”,”add_new”:”Add new”,”add_new_item”:”Add new Bulletin”,”edit_item”:”Edit Bulletin”,”new_item”:”New Bulletin”,”view_item”:”View Bulletin”,”view_items”:”View Bulletins”,”search_items”:”Search Bulletins”,”not_found”:”No Bulletins found”,”not_found_in_trash”:”No Bulletins found in trash”,”parent”:”Parent Bulletin:”,”featured_image”:”Featured image for this Bulletin”,”set_featured_image”:”Set featured image for this Bulletin”,”remove_featured_image”:”Remove featured image for this Bulletin”,”use_featured_image”:”Use as featured image for this Bulletin”,”archives”:”Bulletin archives”,”insert_into_item”:”Insert into Bulletin”,”uploaded_to_this_item”:”Upload to this Bulletin”,”filter_items_list”:”Filter Bulletins list”,”items_list_navigation”:”Bulletins list navigation”,”items_list”:”Bulletins list”,”attributes”:”Bulletins attributes”,”name_admin_bar”:”Bulletin”,”item_published”:”Bulletin published”,”item_published_privately”:”Bulletin published privately.”,”item_reverted_to_draft”:”Bulletin reverted to draft.”,”item_scheduled”:”Bulletin scheduled”,”item_updated”:”Bulletin updated.”,”parent_item_colon”:”Parent Bulletin:”},”custom_supports”:””,”enter_title_here”:””},”supt-search”:{“name”:”supt-search”,”label”:”Superintendent Searches”,”singular_label”:”Superintendent Search”,”description”:”Superintendent Searches: Special custom fields”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”true”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”15″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:””,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”custom-fields”,”revisions”,”author”],”taxonomies”:[“category”,”post_tag”],”labels”:{“menu_name”:”Superintendent Searches”,”all_items”:”All Superintendent Searches”,”add_new”:”Add new”,”add_new_item”:”Add new Superintendent Search”,”edit_item”:”Edit Superintendent Search”,”new_item”:”New Superintendent Search”,”view_item”:”View Superintendent Search”,”view_items”:”View Superintendent Searches”,”search_items”:”Search Superintendent Searches”,”not_found”:”No Superintendent Searches found”,”not_found_in_trash”:”No Superintendent Searches found in trash”,”parent”:”Parent Superintendent Search:”,”featured_image”:”Featured image for this Superintendent Search”,”set_featured_image”:”Set featured image for this Superintendent Search”,”remove_featured_image”:”Remove featured image for this Superintendent Search”,”use_featured_image”:”Use as featured image for this Superintendent Search”,”archives”:”Superintendent Search archives”,”insert_into_item”:”Insert into Superintendent Search”,”uploaded_to_this_item”:”Upload to this Superintendent Search”,”filter_items_list”:”Filter Superintendent Searches list”,”items_list_navigation”:”Superintendent Searches list navigation”,”items_list”:”Superintendent Searches list”,”attributes”:”Superintendent Searches attributes”,”name_admin_bar”:”Superintendent Search”,”item_published”:”Superintendent Search published”,”item_published_privately”:”Superintendent Search published privately.”,”item_reverted_to_draft”:”Superintendent Search reverted to draft.”,”item_scheduled”:”Superintendent Search scheduled”,”item_updated”:”Superintendent Search updated.”,”parent_item_colon”:”Parent Superintendent Search:”},”custom_supports”:””,”enter_title_here”:””},”misc”:{“name”:”misc”,”label”:”M.I.S.C.”,”singular_label”:”M.I.S.C.”,”description”:”M.I.S.C = Management Information for School Committees”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”true”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”18″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:””,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”custom-fields”,”revisions”,”author”],”taxonomies”:[“category”,”post_tag”],”labels”:{“menu_name”:”M.I.S.C.”,”all_items”:”All M.I.S.C.”,”add_new”:”Add new”,”add_new_item”:”Add new M.I.S.C.”,”edit_item”:”Edit M.I.S.C.”,”new_item”:”New M.I.S.C.”,”view_item”:”View M.I.S.C.”,”view_items”:”View M.I.S.C.”,”search_items”:”Search M.I.S.C.”,”not_found”:”No M.I.S.C. found”,”not_found_in_trash”:”No M.I.S.C. found in trash”,”parent”:”Parent M.I.S.C.:”,”featured_image”:”Featured image for this M.I.S.C.”,”set_featured_image”:”Set featured image for this M.I.S.C.”,”remove_featured_image”:”Remove featured image for this M.I.S.C.”,”use_featured_image”:”Use as featured image for this M.I.S.C.”,”archives”:”M.I.S.C. archives”,”insert_into_item”:”Insert into M.I.S.C.”,”uploaded_to_this_item”:”Upload to this M.I.S.C.”,”filter_items_list”:”Filter M.I.S.C. list”,”items_list_navigation”:”M.I.S.C. list navigation”,”items_list”:”M.I.S.C. list”,”attributes”:”M.I.S.C. attributes”,”name_admin_bar”:”M.I.S.C.”,”item_published”:”M.I.S.C. published”,”item_published_privately”:”M.I.S.C. published privately.”,”item_reverted_to_draft”:”M.I.S.C. reverted to draft.”,”item_scheduled”:”M.I.S.C. scheduled”,”item_updated”:”M.I.S.C. updated.”,”parent_item_colon”:”Parent M.I.S.C.:”},”custom_supports”:””,”enter_title_here”:”Add M.I.S.C.”},”resource”:{“name”:”resource”,”label”:”Resources”,”singular_label”:”Resource”,”description”:”Resources include such items as some types of publications, COSCAP, etc.”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”true”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”9″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:””,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”custom-fields”,”revisions”,”author”],”taxonomies”:[“category”,”post_tag”],”labels”:{“menu_name”:”Resources”,”all_items”:”All Resources”,”add_new”:”Add new”,”add_new_item”:”Add new Resource”,”edit_item”:”Edit Resource”,”new_item”:”New Resource”,”view_item”:”View Resource”,”view_items”:”View Resources”,”search_items”:”Search Resources”,”not_found”:”No Resources found”,”not_found_in_trash”:”No Resources found in trash”,”parent”:”Parent Resource:”,”featured_image”:”Featured image for this Resource”,”set_featured_image”:”Set featured image for this Resource”,”remove_featured_image”:”Remove featured image for this Resource”,”use_featured_image”:”Use as featured image for this Resource”,”archives”:”Resource archives”,”insert_into_item”:”Insert into Resource”,”uploaded_to_this_item”:”Upload to this Resource”,”filter_items_list”:”Filter Resources list”,”items_list_navigation”:”Resources list navigation”,”items_list”:”Resources list”,”attributes”:”Resources attributes”,”name_admin_bar”:”Resource”,”item_published”:”Resource published”,”item_published_privately”:”Resource published privately.”,”item_reverted_to_draft”:”Resource reverted to draft.”,”item_scheduled”:”Resource scheduled”,”item_updated”:”Resource updated.”,”parent_item_colon”:”Parent Resource:”},”custom_supports”:””,”enter_title_here”:””},”public_policy_update”:{“name”:”public_policy_update”,”label”:”Public Policy Updates”,”singular_label”:”Public Policy Update”,”description”:”Public Policy Updates can be from 100 to 2000 words and may include a PDF attachment.”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”true”,”rewrite”:”true”,”rewrite_slug”:”public-policy-updates”,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”14″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:””,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”custom-fields”,”revisions”,”author”],”taxonomies”:[“category”,”post_tag”],”labels”:{“menu_name”:”Public Policy Updates”,”all_items”:”All Public Policy Updates”,”add_new”:”Add new”,”add_new_item”:”Add new Public Policy Update”,”edit_item”:”Edit Public Policy Update”,”new_item”:”New Public Policy Update”,”view_item”:”View Public Policy Update”,”view_items”:”View Public Policy Updates”,”search_items”:”Search Public Policy Updates”,”not_found”:”No Public Policy Updates found”,”not_found_in_trash”:”No Public Policy Updates found in trash”,”parent”:”Parent Public Policy Update:”,”featured_image”:”Featured image for this Public Policy Update”,”set_featured_image”:”Set featured image for this Public Policy Update”,”remove_featured_image”:”Remove featured image for this Public Policy Update”,”use_featured_image”:”Use as featured image for this Public Policy Update”,”archives”:”Public Policy Update archives”,”insert_into_item”:”Insert into Public Policy Update”,”uploaded_to_this_item”:”Upload to this Public Policy Update”,”filter_items_list”:”Filter Public Policy Updates list”,”items_list_navigation”:”Public Policy Updates list navigation”,”items_list”:”Public Policy Updates list”,”attributes”:”Public Policy Updates attributes”,”name_admin_bar”:”Public Policy Update”,”item_published”:”Public Policy Update published”,”item_published_privately”:”Public Policy Update published privately.”,”item_reverted_to_draft”:”Public Policy Update reverted to draft.”,”item_scheduled”:”Public Policy Update scheduled”,”item_updated”:”Public Policy Update updated.”,”parent_item_colon”:”Parent Public Policy Update:”},”custom_supports”:””,”enter_title_here”:”Add Public Policy Update”},”miscellaneous”:{“name”:”miscellaneous”,”label”:”Miscellaneous”,”singular_label”:”Miscellaneous”,”description”:”Items which are not in the usual Post\/Page hierarchy”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”false”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”true”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”24″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:”dashicons-media-text”,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”custom-fields”,”revisions”,”author”,”page-attributes”],”taxonomies”:[“category”,”post_tag”],”labels”:{“menu_name”:”Miscellaneous”,”all_items”:”All Miscellaneous”,”add_new”:”Add new”,”add_new_item”:”Add new Miscellaneous”,”edit_item”:”Edit Miscellaneous”,”new_item”:”New Miscellaneous”,”view_item”:”View Miscellaneous”,”view_items”:”View Miscellaneous”,”search_items”:”Search Miscellaneous”,”not_found”:”No Miscellaneous found”,”not_found_in_trash”:”No Miscellaneous found in trash”,”parent”:”Parent Miscellaneous:”,”featured_image”:”Featured image for this Miscellaneous”,”set_featured_image”:”Set featured image for this Miscellaneous”,”remove_featured_image”:”Remove featured image for this Miscellaneous”,”use_featured_image”:”Use as featured image for this Miscellaneous”,”archives”:”Miscellaneous archives”,”insert_into_item”:”Insert into Miscellaneous”,”uploaded_to_this_item”:”Upload to this Miscellaneous”,”filter_items_list”:”Filter Miscellaneous list”,”items_list_navigation”:”Miscellaneous list navigation”,”items_list”:”Miscellaneous list”,”attributes”:”Miscellaneous attributes”,”name_admin_bar”:”Miscellaneous”,”item_published”:”Miscellaneous published”,”item_published_privately”:”Miscellaneous published privately.”,”item_reverted_to_draft”:”Miscellaneous reverted to draft.”,”item_scheduled”:”Miscellaneous scheduled”,”item_updated”:”Miscellaneous updated.”,”parent_item_colon”:”Parent Miscellaneous:”},”custom_supports”:””,”enter_title_here”:”Add Miscellaneous”},”general_documents”:{“name”:”general_documents”,”label”:”General Documents”,”singular_label”:”General Document”,”description”:”Forms, Guides, Templates, Budgets, and more. “,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”false”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”true”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”9″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:””,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”custom-fields”,”revisions”,”author”,”page-attributes”],”taxonomies”:[“category”,”post_tag”],”labels”:{“menu_name”:”General Documents”,”all_items”:”All General Documents”,”add_new”:”Add new”,”add_new_item”:”Add new General Document”,”edit_item”:”Edit General Document”,”new_item”:”New General Document”,”view_item”:”View General Document”,”view_items”:”View General Documents”,”search_items”:”Search General Documents”,”not_found”:”No General Documents found”,”not_found_in_trash”:”No General Documents found in trash”,”parent”:”Parent General Document:”,”featured_image”:”Featured image for this General Document”,”set_featured_image”:”Set featured image for this General Document”,”remove_featured_image”:”Remove featured image for this General Document”,”use_featured_image”:”Use as featured image for this General Document”,”archives”:”General Document archives”,”insert_into_item”:”Insert into General Document”,”uploaded_to_this_item”:”Upload to this General Document”,”filter_items_list”:”Filter General Documents list”,”items_list_navigation”:”General Documents list navigation”,”items_list”:”General Documents list”,”attributes”:”General Documents attributes”,”name_admin_bar”:”General Document”,”item_published”:”General Document published”,”item_published_privately”:”General Document published privately.”,”item_reverted_to_draft”:”General Document reverted to draft.”,”item_scheduled”:”General Document scheduled”,”item_updated”:”General Document updated.”,”parent_item_colon”:”Parent General Document:”},”custom_supports”:””,”enter_title_here”:”Add General Document”},”conferences”:{“name”:”conferences”,”label”:”Conferences”,”singular_label”:”Conference”,”description”:”These pages may have more design elements than other content types. Each Conference can have sub-pages, such as forms. \r\nTIP: Any conferences that are in Elementor format can be included on any other page via the shortcode: where xxxxx is the ID of the Conference. (Usually you would insert this in an Event.)”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”true”,”can_export”:”true”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”17″,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:””,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”custom-fields”,”revisions”,”author”,”page-attributes”],”taxonomies”:[“category”,”post_tag”],”labels”:{“menu_name”:”Conferences”,”all_items”:”All Conferences”,”add_new”:”Add new”,”add_new_item”:”Add new Conference”,”edit_item”:”Edit Conference”,”new_item”:”New Conference”,”view_item”:”View Conference”,”view_items”:”View Conferences”,”search_items”:”Search Conferences”,”not_found”:”No Conferences found”,”not_found_in_trash”:”No Conferences found in trash”,”parent”:”Parent Conference:”,”featured_image”:”Featured image for this Conference”,”set_featured_image”:”Set featured image for this Conference”,”remove_featured_image”:”Remove featured image for this Conference”,”use_featured_image”:”Use as featured image for this Conference”,”archives”:”Conference archives”,”insert_into_item”:”Insert into Conference”,”uploaded_to_this_item”:”Upload to this Conference”,”filter_items_list”:”Filter Conferences list”,”items_list_navigation”:”Conferences list navigation”,”items_list”:”Conferences list”,”attributes”:”Conferences attributes”,”name_admin_bar”:”Conference”,”item_published”:”Conference published”,”item_published_privately”:”Conference published privately.”,”item_reverted_to_draft”:”Conference reverted to draft.”,”item_scheduled”:”Conference scheduled”,”item_updated”:”Conference updated.”,”parent_item_colon”:”Parent Conference:”},”custom_supports”:””,”enter_title_here”:”Add Conference”}}

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Thanks for this. Will definitely be trying to review and revise as needed soon. As an alternative in the moment, if you need to get things imported elsewhere, removing the double quotes in the descriptions temporary should work, and then re-add afterwards.

    Opened an issue for this over at https://github.com/WebDevStudios/custom-post-type-ui/issues/876

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hey @bkjproductions

    Wanted to let you know that we feel we found a solution to allow quotes and still have them escaped in the JSON output, and want to do a bit more internal review before pushing out. This will be part of a 1.13.x release, but if you want to apply just the specific parts here to your current copy of the plugin, I can point you to the code edits.

    Not sure how much you’re doing exporting between sites at the exact moment, so not sure if your needs can wait πŸ˜€

    Let me know.

    Thread Starter bkjproductions

    (@bkjproductions)

    Thanks @tw2113 ! I am able to survive for a while! πŸ™‚

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Exporting with quotes’ is closed to new replies.