2022 October

Escaping Table and Field names with wpdb::prepare() in WordPress 6.1

As part of the WordPress 6.1 release, wpdb::prepare() has been updated so it can escape Identifiers (such as Table and Field names) with the %i placeholder (#52506). This ensures these values are escaped correctly and don’t lead to SQL Injection Vulnerabilities. Example $table = ‘my_table’; $field = ‘my_field’; $value = ‘my_value’; $wpdb->prepare(‘SELECT * FROM %i WHERE %i = %s’, […]

Improved PHP performance for core blocks registration

Early block.json Registration Method Starting with WordPress 5.8, extenders were encouraged to begin to utilize block.json to register blocks through a unified registration process. The benefits offered by this update provide consistency and convenience when registering blocks through PHP or JavaScript. However, while this block.json scanning convention is extremely convenient, it does add additional processing when core blocks are instantiated. […]

Performance Chat Agenda: 11 October 2022

Here is the agenda for this week’s performance team meeting scheduled for October 11, 2022, at 15:00 UTC. Announcements Focus area updates Images Object Cache Site Health Measurement JavaScript Infrastructure Focus area updates – @flixos90 Module proposal: SQLite – @aristath Open floor This meeting happens in the #core-performance channel. To join the meeting, you’ll need an account on the […]

Performance team meeting summary 4 October 2022

Meeting agenda here and the full chat log is available beginning here on Slack. Announcements @shetheliving: Mission and philosophies review Drafting a Handbook for our site and would like to include overall mission for the team Please review and leave comments on the doc with your thoughts Focus group updates Images @adamsilverstein @mikeschroder GitHub project @adamsilverstein: Not much […]

Performance Chat Agenda: 4 October 2022

Here is the agenda for this week’s performance team meeting scheduled for October 4, 2022, at 15:00 UTC. Announcements Focus group updates Images Object Cache Site Health Measurement JavaScript Infrastructure Open floor This meeting happens in the #core-performance channel. To join the meeting, you’ll need an account on the Make WordPress Slack. #agenda, #meeting, #performance, #performance-chat