Changeset 53086 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 04/06/2022 03:18:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r53082 r53086 4183 4183 * @deprecated 5.7.0 Use wp_robots_sensitive_page() instead on 'wp_robots' filter 4184 4184 * and wp_strict_cross_origin_referrer() on 'wp_head' action. 4185 * 4186 * @see wp_robots_sensitive_page() 4185 4187 */ 4186 4188 function wp_sensitive_page_meta() { … … 4197 4199 * 4198 4200 * @since 5.2.0 4199 * @deprecated 5.8.04200 *4201 4201 * @access private 4202 * @deprecated 5.8.0 Use _excerpt_render_inner_blocks() introduced in 5.8.0. 4203 * 4204 * @see _excerpt_render_inner_blocks() 4202 4205 * 4203 4206 * @param array $columns The parsed columns block. … … 4207 4210 function _excerpt_render_inner_columns_blocks( $columns, $allowed_blocks ) { 4208 4211 _deprecated_function( __FUNCTION__, '5.8.0', '_excerpt_render_inner_blocks()' ); 4212 4209 4213 return _excerpt_render_inner_blocks( $columns, $allowed_blocks ); 4210 4214 } … … 4215 4219 * 4216 4220 * @since 5.9.0 4217 * @deprecated 5.9.1 Use `wp_get_duotone_filter_property`introduced in 5.9.1.4221 * @deprecated 5.9.1 Use wp_get_duotone_filter_property() introduced in 5.9.1. 4218 4222 * 4219 4223 * @see wp_get_duotone_filter_property() … … 4224 4228 function wp_render_duotone_filter_preset( $preset ) { 4225 4229 _deprecated_function( __FUNCTION__, '5.9.1', 'wp_get_duotone_filter_property()' ); 4230 4226 4231 return wp_get_duotone_filter_property( $preset ); 4227 4232 } 4228 4233 4229 4234 /** 4230 * Checks whether serialization of the current block's border properties should 4231 * occur. 4235 * Checks whether serialization of the current block's border properties should occur. 4232 4236 * 4233 4237 * @since 5.8.0 4234 4238 * @access private 4235 * @deprecated 6.0.0 Use `wp_should_skip_block_supports_serialization` introduced in 6.0.0. 4239 * @deprecated 6.0.0 Use wp_should_skip_block_supports_serialization() introduced in 6.0.0. 4240 * 4241 * @see wp_should_skip_block_supports_serialization() 4236 4242 * 4237 4243 * @param WP_Block_Type $block_type Block type. … … 4241 4247 function wp_skip_border_serialization( $block_type ) { 4242 4248 _deprecated_function( __FUNCTION__, '6.0.0', 'wp_should_skip_block_supports_serialization()' ); 4249 4243 4250 $border_support = _wp_array_get( $block_type->supports, array( '__experimentalBorder' ), false ); 4244 4251 … … 4249 4256 4250 4257 /** 4251 * Checks whether serialization of the current block's dimensions properties 4252 * should occur. 4258 * Checks whether serialization of the current block's dimensions properties should occur. 4253 4259 * 4254 4260 * @since 5.9.0 4255 4261 * @access private 4256 * @deprecated 6.0.0 Use `wp_should_skip_block_supports_serialization` introduced in 6.0.0. 4262 * @deprecated 6.0.0 Use wp_should_skip_block_supports_serialization() introduced in 6.0.0. 4263 * 4264 * @see wp_should_skip_block_supports_serialization() 4257 4265 * 4258 4266 * @param WP_Block_type $block_type Block type. … … 4261 4269 function wp_skip_dimensions_serialization( $block_type ) { 4262 4270 _deprecated_function( __FUNCTION__, '6.0.0', 'wp_should_skip_block_supports_serialization()' ); 4271 4263 4272 $dimensions_support = _wp_array_get( $block_type->supports, array( '__experimentalDimensions' ), false ); 4273 4264 4274 return is_array( $dimensions_support ) && 4265 4275 array_key_exists( '__experimentalSkipSerialization', $dimensions_support ) && … … 4268 4278 4269 4279 /** 4270 * Checks whether serialization of the current block's spacing properties should 4271 * occur. 4280 * Checks whether serialization of the current block's spacing properties should occur. 4272 4281 * 4273 4282 * @since 5.9.0 4274 4283 * @access private 4275 * @deprecated 6.0.0 Use `wp_should_skip_block_supports_serialization` introduced in 6.0.0. 4284 * @deprecated 6.0.0 Use wp_should_skip_block_supports_serialization() introduced in 6.0.0. 4285 * 4286 * @see wp_should_skip_block_supports_serialization() 4276 4287 * 4277 4288 * @param WP_Block_Type $block_type Block type. … … 4280 4291 function wp_skip_spacing_serialization( $block_type ) { 4281 4292 _deprecated_function( __FUNCTION__, '6.0.0', 'wp_should_skip_block_supports_serialization()' ); 4293 4282 4294 $spacing_support = _wp_array_get( $block_type->supports, array( 'spacing' ), false ); 4283 4295
Note: See TracChangeset
for help on using the changeset viewer.