[wp-trac] [WordPress Trac] #45342: Docs: Description is wrong in the return of block_version()

WordPress Trac noreply at wordpress.org
Wed Nov 14 06:44:53 UTC 2018


#45342: Docs: Description is wrong in the return of block_version()
-------------------------+-----------------------------
 Reporter:  mukesh27     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Editor       |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch
  Focuses:  docs         |
-------------------------+-----------------------------
 Description is wrong in the return of block_version()

 current description is:

 {{{* @return int The block format version.}}}

 must be:

 {{{* @return int 0 if the string doesn't contain blocks, 1 otherwise.}}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45342>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list