Changeset 49108 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php
- Timestamp:
- 10/08/2020 09:13:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php
r48982 r49108 110 110 global $post; 111 111 112 $post_id = isset( $request['post_id'] ) ? intval( $request['post_id'] ): 0;112 $post_id = isset( $request['post_id'] ) ? (int) $request['post_id'] : 0; 113 113 114 114 if ( 0 < $post_id ) { … … 150 150 global $post; 151 151 152 $post_id = isset( $request['post_id'] ) ? intval( $request['post_id'] ): 0;152 $post_id = isset( $request['post_id'] ) ? (int) $request['post_id'] : 0; 153 153 154 154 if ( 0 < $post_id ) {
Note: See TracChangeset
for help on using the changeset viewer.