Make WordPress Core


Ignore:
Timestamp:
02/06/2024 11:44:09 PM (2 years ago)
Author:
costdev
Message:

Upgrade/Install: Introduce Plugin Dependencies.

Introduces a new "Requires Plugins" plugin header so that plugin developers can list the slugs of the plugins theirs depends on.

This will inform users of the requirements, and provide links to the WordPress.org Plugins Repository that they can click to install and activate the dependencies first.

Plugins whose requirements are not met cannot be installed or activated, and they will be deactivated automatically if their requirements become unmet.
Plugins that others rely on cannot be deactivated or deleted until their dependent plugins are deactivated or deleted.

In memory of Alex Mills and Alex King.
WordPress Remembers.

Props ahoereth, afragen, alanfuller, alexkingorg, amykamala, anonymized_10690803, apeatling, ashfame, atimmer, audrasjb, aristath, azaozz, batmoo, beaulebens, blobaugh, bobbingwide, boonebgorges, brianhenryie, chanthaboune, chrisdavidmiles, coolmann, costdev, courane01, danielbachhuber, davidperez, dd32, Denis-de-Bernardy, dingo_d, DJPaul, dougal, DrewAPicture, ethitter, filosofo, georgestephanis, giuseppemazzapica-1, goldenapples, griffinjt, hellofromTonya, husobj, ideag, jarednova, jbobich, jbrinley, jltallon, joedolson, johnciacia, johnjamesjacoby, joppuyo, jsmoriss, karmatosed, kebbet, knutsp, kraftbj, kraftner, kurtpayne, lkraav, logikal16, luisherranz, man4toman, markjaquith, matt, mbijon, megphillips91, mikeschinkel, mordauk, morehawes, mrwweb, mte90, mukesh27, mzaweb, nacin, norcross, nvwd, nwjames, obliviousharmony, ocean90, oglekler, paaljoachim, pauldewouters, pbaylies, pbiron, peterwilsoncc, Philipp15b, poena, pogidude, retlehs, rmccue, ryan, sabreuse, sc0ttkclark, scribu, sereedmedia, SergeyBiryukov, ShaneF, shidouhikari, soean, spacedmonkey, stephenh1988, swissspidy, taylorde, tazotodua, threadi, TimothyBlynJacobs, TJNowell, tollmanz, toscho, tropicalista, Viper007Bond, westi, whiteshadow, williamsba1, wpsmith, ZaneMatthew.
Fixes #22316.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r57363 r57545  
    15011501}
    15021502
     1503#plugin-information-footer .update-now:not(.button-disabled):before {
     1504    color: #d63638;
     1505    content: "\f463";
     1506    display: inline-block;
     1507    font: normal 20px/1 dashicons;
     1508    margin: -3px 5px 0 -2px;
     1509    speak: never;
     1510    -webkit-font-smoothing: antialiased;
     1511    -moz-osx-font-smoothing: grayscale;
     1512    vertical-align: middle;
     1513}
     1514
     1515#plugin-information-footer .notice {
     1516    margin-top: -5px;
     1517}
     1518
    15031519.update-message p:before,
    15041520.updating-message p:before,
     
    15081524.button.updated-message:before,
    15091525.button.installed:before,
    1510 .button.installing:before {
     1526.button.installing:before,
     1527.button.activating-message:before,
     1528.button.activated-message:before {
    15111529    display: inline-block;
    15121530    font: normal 20px/1 'dashicons';
     
    15451563.import-php .updating-message:before,
    15461564.button.updating-message:before,
    1547 .button.installing:before {
     1565.button.installing:before,
     1566.button.activating-message:before {
    15481567    color: #d63638;
    15491568    content: "\f463";
     
    15551574.button.updating-message:before,
    15561575.button.installing:before,
     1576.button.activating-message:before,
    15571577.plugins .column-auto-updates .dashicons-update.spin,
    15581578.theme-overlay .theme-autoupdate .dashicons-update.spin {
     
    15651585    .button.updating-message:before,
    15661586    .button.installing:before,
     1587    .button.activating-message:before,
    15671588    .plugins .column-auto-updates .dashicons-update.spin,
    15681589    .theme-overlay .theme-autoupdate .dashicons-update.spin {
     
    15781599.updated-message p:before,
    15791600.installed p:before,
    1580 .button.updated-message:before {
     1601.button.updated-message:before,
     1602.button.activated-message:before {
    15811603    color: #68de7c;
    15821604    content: "\f147";
     
    16631685.button.updated-message:before,
    16641686.button.installed:before,
    1665 .button.installing:before {
     1687.button.installing:before,
     1688.button.activated-message:before,
     1689.button.activating-message:before {
    16661690    margin: 3px 5px 0 -2px;
    16671691}
    16681692
    1669 .button-primary.updating-message:before {
     1693#plugin-information-footer .button.installed:before,
     1694#plugin-information-footer .button.installing:before,
     1695#plugin-information-footer .button.updating-message:before,
     1696#plugin-information-footer .button.updated-message:before,
     1697#plugin-information-footer .button.activated-message:before,
     1698#plugin-information-footer .button.activating-message:before {
     1699    margin: 9px 5px 0 -2px;
     1700}
     1701
     1702#plugin-information-footer .button.update-now.updating-message:before {
     1703    margin: -3px 5px 0 -2px;
     1704}
     1705
     1706.button-primary.updating-message:before,
     1707.button-primary.activating-message:before {
    16701708    color: #fff;
    16711709}
    16721710
    1673 .button-primary.updated-message:before {
     1711.button-primary.updated-message:before,
     1712.button-primary.activated-message:before {
    16741713    color: #9ec2e6;
    16751714}
    16761715
    1677 .button.updated-message {
     1716.button.updated-message,
     1717.button.activated-message {
    16781718    transition-property: border, background, color;
    16791719    transition-duration: .05s;
Note: See TracChangeset for help on using the changeset viewer.