Best WordPress Hosting
 

Postponed to WP 6.2: Escaping Table and Field names with wpdb::prepare()

Support for %i to escape Table and Field names was postponed to 6.2, see: Escaping Table and Field names with wpdb::prepare() in WordPress A problem was found during RC5, where some extensions use field LIKE “%%%s%%”, and expect the %s Continue reading Postponed to WP 6.2: Escaping Table and Field names with wpdb::prepare()

Functions and hooks for required fields in WordPress 6.1

When forms contain multiple required fields, their labels might have an asterisk with a legend to explain that those fields are required. To reduce code duplication and to help maintain globally consistent markup, WordPress has two new functions: wp_required_field_indicator() and Continue reading Functions and hooks for required fields in WordPress 6.1

Filters for theme.json data

WordPress 6.1 has introduced some server-side filters to hook into the theme.json data provided at the different data layers: theme_json_default: hooks into the default data provided by WordPress theme_json_blocks: hooks into the data provided by the blocks ShareTweetSharePostSharePin It!

Editor Components updates in WordPress 6.1

This post lists notable changes to the @wordpress/components package for the WordPress 6.1 release: Changes to the Popover componentPreparing CustomSelectControl to take up the entire width of its parent. Components with deprecated margin styles. Changes to the Popover component The Popover component Continue reading Editor Components updates in WordPress 6.1