Changeset 57089
- Timestamp:
- 11/08/2023 08:31:34 PM (13 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wpdb.php
r56549 r57089 690 690 */ 691 691 private $allow_unsafe_unquoted_parameters = true; 692 693 /** 694 * Whether to use the mysqli extension over mysql. This is no longer used as the mysql 695 * extension is no longer supported. 696 * 697 * Default true. 698 * 699 * @since 3.9.0 700 * @since 6.4.0 This property was removed. 701 * @since 6.4.1 This property was reinstated and its default value was changed to true. 702 * The property is no longer used in core but may be accessed externally. 703 * 704 * @var bool 705 */ 706 private $use_mysqli = true; 692 707 693 708 /** -
trunk/tests/phpunit/tests/db.php
r56475 r57089 2470 2470 ); 2471 2471 } 2472 2473 /** 2474 * This private property is no longer used but needs to be retained as it can be 2475 * accessed externally due to the `__get()` magic method. 2476 * 2477 * @ticket 59118 2478 * @ticket 59846 2479 */ 2480 public function test_use_mysqli_property_access() { 2481 global $wpdb; 2482 2483 $this->assertTrue( $wpdb->use_mysqli ); 2484 } 2472 2485 }
Note: See TracChangeset
for help on using the changeset viewer.