Skip to content

Commit 40e342c

Browse files
committed
Correct stale documentation metadata
Use the public pdo option name in the connection error, remove the placeholder since tag, and update the polyfill package and drop-in version headers.
1 parent 39f36e0 commit 40e342c

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎packages/mysql-on-sqlite/src/php-polyfills.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @see https://github.com/symfony/polyfill-php80
88
*
9-
* @package wp-sqlite-integration
9+
* @package mysql-on-sqlite
1010
*/
1111

1212
if ( ! function_exists( 'str_starts_with' ) ) {

‎packages/mysql-on-sqlite/src/sqlite/class-wp-sqlite-connection.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function __construct( array $options ) {
9393
$this->pdo = $options['pdo'];
9494
} else {
9595
if ( ! isset( $options['path'] ) || ! is_string( $options['path'] ) ) {
96-
throw new InvalidArgumentException( 'Option "path" is required when "connection" is not provided.' );
96+
throw new InvalidArgumentException( 'Option "path" is required when "pdo" is not provided.' );
9797
}
9898
$pdo_class = PHP_VERSION_ID >= 80400 ? PDO\SQLite::class : PDO::class;
9999
$pdo_options = $options['pdo_options'] ?? array();

‎packages/plugin-sqlite-database-integration/admin-page.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ function sqlite_integration_admin_screen() {
132132
/**
133133
* Adds a link to the admin bar.
134134
*
135-
* @since n.e.x.t
136-
*
137135
* @global wpdb $wpdb WordPress database abstraction object.
138136
*
139137
* @param WP_Admin_Bar $admin_bar The admin bar object.

‎packages/plugin-sqlite-database-integration/db.copy‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* Plugin Name: SQLite integration (Drop-in)
4-
* Version: 1.0.0
4+
* Version: 1.8.0
55
* Author: WordPress Performance Team
66
* Author URI: https://make.wordpress.org/performance/
77
*

0 commit comments

Comments
 (0)