Skip to content

Commit

Permalink
Misc: Commit unbuilt files
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Oct 3, 2018
1 parent e80a90c commit 935248d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/data/data-core-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,24 @@ unsaved status values.

Whether the post has been published.

### isEditedPostDateFloating

Returns whether the current post should be considered to have a "floating"
date (i.e. that it would publish "Immediately" rather than at a set time).

Unlike in the PHP backend, the REST API returns a full date string for posts
where the 0000-00-00T00:00:00 placeholder is present in the database. To
infer that a post is set to publish "Immediately" we check whether the date
and modified date are the same.

*Parameters*

* state: Editor state.

*Returns*

Whether the edited post has a floating date value.

### getBlockDependantsCacheBust

Returns a new reference when the inner blocks of a given block client ID
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 935248d

Please sign in to comment.