Conneted users and WP 6.1
-
Hi
I working on a site where we have a custom post type,
event
connected touser
Here is the connection.
p2p_register_connection_type( [ 'name' => self::get_connection(), 'from' => 'event', 'to' => 'user', 'fields' => [ 'going' => [ 'title' => __( 'Going', Plugin::get_text_domain() ), 'type' => 'checkbox', // 'default_cb' => [ $this, 'set_default' ], ], 'not_going' => [ 'title' => __( 'Not Going', Plugin::get_text_domain() ), 'type' => 'checkbox', ], ], ] );
It has worked until we upgraded WordPress to 6.1 from 6.0.3. But now the checkboxes in backend is empty.
Screenshot: https://lars.friberg.dk/p2p.png
We add the data with some custom code in frontend, and it is saved in the database, but not shown in backend. I can add connections in backend, and the choice in backend is saved, but not shown.
I can’t remove or changes connections in backend.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Conneted users and WP 6.1’ is closed to new replies.