﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	focuses
65331	PHP-only block - postId, context and REST	seindal		"If a PHP only block is registered with 

  'uses_context' => [ 'postId' ],

the context with the postID is delivered only on direct calls to the renderer (in the third argument to the render callback) during the initial rendering as the editor loads, but not when the renderer is invoked by the editor through the REST interface.

This seems inconsistent, and makes PHP only blocks less useful, as, in most cases, they cannot access the post being edited.

This is only an issued in the editor. The PHP-only blocks work as expected on the public side.


WP 7.0 selfhosted."	defect (bug)	new	normal	Awaiting Review	Editor		normal				
