Make WordPress Core


Ignore:
Timestamp:
09/09/2021 09:39:39 PM (4 years ago)
Author:
hellofromTonya
Message:

Widgets: Revert [51705].

While the new name is much better, it doesn't fully tell what will happen when invoked nor does it fully solve the root problems.

Why? The function is doing too much. And naming is hard.

Props azaozz, desrosj, andraganescu, zieladam, hellofromTonya.
See #53811.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r51705 r51791  
    17741774            // Intentional fall-through to upgrade to the next version.
    17751775        case 2:
    1776             $sidebars_widgets                  = sync_registered_widgets();
     1776            $sidebars_widgets                  = retrieve_widgets();
    17771777            $sidebars_widgets['array_version'] = 3;
    17781778            update_option( 'sidebars_widgets', $sidebars_widgets );
Note: See TracChangeset for help on using the changeset viewer.