Make WordPress Core

Changeset 63620


Ignore:
Timestamp:
09/15/2026 10:41:35 AM (2 months ago)
Author:
afercia
Message:

Revisions: Mark list-revisions.js as deprecated and no longer used in Core.

The list-revisions.js file is no longer used in Core. It was when the WordPress 3.0 releases were using a table with radio buttons in the Revisions screen. Since then the Revisions screen has been completely redesigned and there is no longer a table that is targeted by the jQuery selectors in list-revisions.js.
It appears a few plugins still use this file so that it needs to be kept for backward compatibility but the file is now deprecated and its usage is not recommended.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/13428

Props sainathpoojary, westonruter, adamsilverstein, afercia.
Fixes #66061.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r63320 r63620  
    15101510                $scripts->set_translations( 'dashboard' );
    15111511
     1512                // Deprecated, no longer used in core, registered for backward compatibility.
    15121513                $scripts->add( 'list-revisions', "/wp-includes/js/wp-list-revisions$suffix.js" );
    15131514
Note: See TracChangeset for help on using the changeset viewer.