Make WordPress Core

Ticket #60019: 60019.patch

File 60019.patch, 1.5 KB (added by viralsampat, 9 months ago)
  • src/wp-admin/includes/class-wp-debug-data.php

    diff --git src/wp-admin/includes/class-wp-debug-data.php src/wp-admin/includes/class-wp-debug-data.php
    index 67d79b9369..25350f6f00 100644
    class WP_Debug_Data { 
    15591559         * @since 5.2.0
    15601560         *
    15611561         * @return int The size of the database, in bytes.
     1562         * @global wpdb $wpdb WordPress database abstraction object.
    15621563         */
    15631564        public static function get_database_size() {
    15641565                global $wpdb;
  • src/wp-admin/includes/class-wp-site-health.php

    diff --git src/wp-admin/includes/class-wp-site-health.php src/wp-admin/includes/class-wp-site-health.php
    index abe0fc6184..bc0cf531da 100644
    class WP_Site_Health { 
    12851285         * @since 5.2.0
    12861286         *
    12871287         * @return array The test results.
     1288         * @global wpdb $wpdb WordPress database abstraction object.
    12881289         */
    12891290        public function get_test_utf8mb4_support() {
    12901291                global $wpdb;
  • src/wp-admin/includes/deprecated.php

    diff --git src/wp-admin/includes/deprecated.php src/wp-admin/includes/deprecated.php
    index 75f9bfd1bf..d6ee46db12 100644
    class WP_User_Search { 
    524524         *
    525525         * @since 2.1.0
    526526         * @access public
     527         * @global wpdb $wpdb WordPress database abstraction object.
    527528         */
    528529        public function prepare_query() {
    529530                global $wpdb;
    class WP_User_Search { 
    562563         *
    563564         * @since 2.1.0
    564565         * @access public
     566         * @global wpdb $wpdb WordPress database abstraction object.
    565567         */
    566568        public function query() {
    567569                global $wpdb;