PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.6
Elementor Website Builder – more than just a page builder v3.0.6
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | modules/system-info/templates/html.php +50 -2 4.2.23.0.6 View file →
@@ -10,9 +10,9 @@
10 10 <div class="elementor-system-info-section elementor-system-info-<?php echo esc_attr( $report_name ); ?>">
11 11 <table class="widefat">
12 12 <thead>
13 13 <tr>
14 - <th><?php $report['report']->print_html_label( ( $report['label'] ) ); ?></th>
14 + <th><?php echo $report['label']; ?></th>
15 15 <th></th>
16 16 <th></th>
17 17 </tr>
18 18 </thead>
@@ -17,9 +17,57 @@
17 17 </tr>
18 18 </thead>
19 19 <tbody>
20 20 <?php
21 - $report['report']->print_html();
21 + foreach ( $report['report'] as $field_name => $field ) :
22 + if ( in_array( $report_name, [ 'plugins', 'network_plugins', 'mu_plugins' ], true ) ) {
23 + foreach ( $field['value'] as $plugin_info ) :
24 + ?>
25 + <tr>
26 + <td><?php
27 + if ( $plugin_info['PluginURI'] ) :
28 + $plugin_name = "<a href='{$plugin_info['PluginURI']}'>{$plugin_info['Name']}</a>";
29 + else :
30 + $plugin_name = $plugin_info['Name'];
31 + endif;
32 +
33 + if ( $plugin_info['Version'] ) :
34 + $plugin_name .= ' - ' . $plugin_info['Version'];
35 + endif;
36 +
37 + echo $plugin_name;
38 + ?></td>
39 + <td><?php
40 + if ( $plugin_info['Author'] ) :
41 + if ( $plugin_info['AuthorURI'] ) :
42 + $author = "<a href='{$plugin_info['AuthorURI']}'>{$plugin_info['Author']}</a>";
43 + else :
44 + $author = $plugin_info['Author'];
45 + endif;
46 +
47 + echo "By $author";
48 + endif;
49 + ?></td>
50 + <td></td>
51 + </tr>
52 + <?php
53 + endforeach;
54 + } else {
55 + $warning_class = ! empty( $field['warning'] ) ? ' class="elementor-warning"' : '';
56 + $log_label = ! empty( $field['label'] ) ? $field['label'] . ':' : '';
57 + ?>
58 + <tr<?php echo $warning_class; ?>>
59 + <td><?php echo $log_label; ?></td>
60 + <td><?php echo $field['value']; ?></td>
61 + <td><?php
62 + if ( ! empty( $field['recommendation'] ) ) :
63 + echo $field['recommendation'];
64 + endif;
65 + ?></td>
66 + </tr>
67 + <?php
68 + }
69 + endforeach;
22 70 ?>
23 71 </tbody>
24 72 </table>
25 73 </div>