Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37687, comment 8


Ignore:
Timestamp:
06/09/2025 12:08:00 AM (5 weeks ago)
Author:
SirLouen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37687, comment 8

    initial v1  
    24244. Add a new site
    25255. By default, it's reporting 545 queries
     266. Also go to the database and save the record content `wp_x_options` ⇾ `wp_X_user_roles` (being X the site ID)
    2627
    2728=== Expected Results
    28291. There are many unnecessary queries because each single `add_role` and `add_cap` inside the `populate_roles` executes a query only if the `wp_db` property is set to `true`
    29 2. Verify if the record in `wp_x_options` -> `wp_X_user_roles` (being X the site id, before and after the patch) is identical before and after the patch.
     302. Verify if the record in `wp_x_options` ⇾ `wp_X_user_roles` is identical before and after the patch.
    3031
    3132=== Actual Results