mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Standardise the type name for booleans and integers.
This brings these docs inline with the documentation standards. Props ravipatel, justinahinon Fixes #51426 git-svn-id: https://develop.svn.wordpress.org/trunk@49120 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1370,9 +1370,9 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
|
||||
* @since 4.7.0
|
||||
* @since 4.9.0 Added the `$validate` parameter.
|
||||
*
|
||||
* @param string $template Page template filename.
|
||||
* @param integer $post_id Post ID.
|
||||
* @param bool $validate Whether to validate that the template selected is valid.
|
||||
* @param string $template Page template filename.
|
||||
* @param int $post_id Post ID.
|
||||
* @param bool $validate Whether to validate that the template selected is valid.
|
||||
*/
|
||||
public function handle_template( $template, $post_id, $validate = false ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user