Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#49767 closed defect (bug) (duplicate)

Useless wp_insert_post() arguments (post_modified, post_modified_gmt) within dev docs

Reported by: ironikus's profile ironikus Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.4
Component: Posts, Post Types Keywords:
Focuses: Cc:


It's still a thing that the arguments post_modified and post_modified_gmt within the docs of aren't working.

It has already been discussed way earlier on Stackexachange:

I suggest the parameters to be removed from the docs of wp_insert_post() or if that's not possible, it should be mentioned that they don't work as expected.

I reconfirmed the issue with WP 5.4

Change History (1)

#1 @SergeyBiryukov
3 years ago

  • Component changed from General to Posts, Post Types
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #36595.

Note: See TracTickets for help on using tickets.