Ticket #59254: 59254.patch
File 59254.patch, 1.8 KB (added by , 14 months ago) |
---|
-
wp-admin/includes/class-wp-privacy-policy-content.php
130 130 * Outputs a warning when some privacy info has changed. 131 131 * 132 132 * @since 4.9.6 133 *134 * @global WP_Post $post Global post object.135 133 */ 136 134 public static function policy_text_changed_notice() { 137 global $post;138 135 139 136 $screen = get_current_screen()->id; 140 137 -
wp-admin/includes/ms.php
58 58 * @since 3.0.0 59 59 * @since 5.1.0 Use wp_delete_site() internally to delete the site row from the database. 60 60 * 61 * @global wpdb $wpdb WordPress database abstraction object.62 *63 61 * @param int $blog_id Site ID. 64 62 * @param bool $drop True if site's database tables should be dropped. Default false. 65 63 */ 66 64 function wpmu_delete_blog( $blog_id, $drop = false ) { 67 global $wpdb;68 65 69 66 $blog_id = (int) $blog_id; 70 67 -
wp-admin/includes/upgrade.php
625 625 * 626 626 * @global int $wp_current_db_version The old (current) database version. 627 627 * @global int $wp_db_version The new database version. 628 * @global wpdb $wpdb WordPress database abstraction object.629 628 */ 630 629 function wp_upgrade() { 631 global $wp_current_db_version, $wp_db_version , $wpdb;630 global $wp_current_db_version, $wp_db_version; 632 631 633 632 $wp_current_db_version = __get_option( 'db_version' ); 634 633