Changeset 57776
- Timestamp:
- 03/05/2024 02:26:01 PM (9 months ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/list-tables.css
r57679 r57776 1596 1596 } 1597 1597 1598 .plugin-card .plugin-dependencies { 1599 background-color: #e5f5fa; 1600 border-left: 3px solid #72aee6; 1601 margin-bottom: .5em; 1598 .plugin-card .notice.plugin-dependencies { 1599 margin: auto 20px 20px; 1602 1600 padding: 15px; 1603 1601 } -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r57679 r57776 674 674 <p class="authors"><?php echo $author; ?></p> 675 675 </div> 676 <?php echo $this->get_dependencies_notice( $plugin ); ?>677 676 </div> 677 <?php 678 $dependencies_notice = $this->get_dependencies_notice( $plugin ); 679 if ( ! empty( $dependencies_notice ) ) { 680 echo $dependencies_notice; 681 } 682 ?> 678 683 <div class="plugin-card-bottom"> 679 684 <div class="vers column-rating"> … … 781 786 782 787 $dependencies_notice = sprintf( 783 '<div class="plugin-dependencies "><p class="plugin-dependencies-explainer-text">%s</p> %s</div>',788 '<div class="plugin-dependencies notice notice-alt notice-info inline"><p class="plugin-dependencies-explainer-text">%s</p> %s</div>', 784 789 '<strong>' . __( 'Additional plugins are required' ) . '</strong>', 785 790 $dependencies_list
Note: See TracChangeset
for help on using the changeset viewer.