Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thanks for reporting about this. I’ll fix it in the next release.

    Thread Starter enoks

    (@enoks)

    Thanks for fast response and I’m glad I could help.

    For everyone who’s struggling with the same issue … this will do the trick till the release:

    add_filter( 'register_meta_args', function( $args, $defaults, $object_type, $meta_key ) {
        if ( in_array( $meta_key, array( '_locale', '_original_post' ) ) ) {
            $args += array(
                'auth_callback' => function () {
                    return current_user_can('edit_posts' );
                }
            );
        }
        return $args;
    }, 10, 4 );
    • This reply was modified 3 years, 10 months ago by enoks.
    Thread Starter enoks

    (@enoks)

    Fixed with version 3.5

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Gutenberg: Updating failed with custom post meta’ is closed to new replies.