Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Setting post format fails #735

@jithujose

Description

@jithujose

Hi everyone,

We noticed that the insert_post method of WP_JSON_Posts class doesn't attach the post format we pass through the $data array.

wp_update_post and wp_insert_post functions do not do anything with the post_format parameter.

In order to set the format, there should be a call to the set_post_format function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions