| @@ -6,9 +6,9 @@ | ||
| 6 | 6 | | | | / _ \ / _` |/ _ \ | |_) | '__/ _ \| |_| | |/ _ \ '__| | |
| 7 | 7 | | | |__| (_) | (_| | __/ | __/| | | (_) | _| | | __/ | | |
| 8 | 8 | | \____\___/ \__,_|\___| |_| |_| \___/|_| |_|_|\___|_| | |
| 9 | 9 | | | |
| 10 | - | (c) Jerome Bruandet ~ https://code-profiler.com/ | | |
| 10 | + | (c) Jerome Bruandet ~ https://nintechnet.com/codeprofiler/ | | |
| 11 | 11 | +=====================================================================+ |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | 14 | if (! defined( 'ABSPATH' ) ) { die('Forbidden'); } |
| @@ -44,9 +44,9 @@ | ||
| 44 | 44 | esc_attr( $id ), |
| 45 | 45 | esc_attr( $orderby ), |
| 46 | 46 | esc_attr( $order ) |
| 47 | 47 | ) .'"'. |
| 48 | - selected( $num, $section ) .'>'. | |
| 48 | + selected( $num, $section, false ) .'>'. | |
| 49 | 49 | sprintf( |
| 50 | 50 | esc_html__('Page %s: %s', 'code-profiler'), |
| 51 | 51 | (int) $num, |
| 52 | 52 | esc_html( $section_name ) |
| @@ -177,9 +177,9 @@ | ||
| 177 | 177 | } |
| 178 | 178 | ?> |
| 179 | 179 | |
| 180 | 180 | <div class="alignleft actions bulkactions"> |
| 181 | - <input type="button" class="button-primary" style="min-width:100px" value="<?php esc_attr_e('Help', 'code-profiler' )?>" onclick="jQuery('#cp-footer-help').slideToggle(500);"/> | |
| 181 | + <input type="button" class="button button-primary" style="min-width:100px" value="<?php esc_attr_e('Help', 'code-profiler' )?>" onclick="jQuery('#cp-footer-help').slideToggle(500);"/> | |
| 182 | 182 | </div> |
| 183 | 183 | |
| 184 | 184 | <div class="tablenav-pages"> |
| 185 | 185 | |
| @@ -185,14 +185,14 @@ | ||
| 185 | 185 | |
| 186 | 186 | <?php |
| 187 | 187 | if ( isset( $rotate_img ) ) { |
| 188 | 188 | ?> |
| 189 | - <button type="button" class="button-secondary" id="htov" title="<?php esc_attr_e('Click to rotate graph', 'code-profiler' )?>"><span class="dashicons dashicons-image-rotate" style="display: inline-block;vertical-align: middle;"></span></button> | |
| 189 | + <button type="button" class="button button-secondary" id="htov" title="<?php esc_attr_e('Click to rotate graph', 'code-profiler' )?>"><span class="dashicons dashicons-image-rotate" style="display: inline-block;vertical-align: middle;"></span></button> | |
| 190 | 190 | <?php |
| 191 | 191 | } |
| 192 | 192 | if ( isset( $save_png ) ) { |
| 193 | 193 | ?> |
| 194 | - <a type="button" class="button-secondary" id="download-png-img" download="<?php echo esc_attr( $profile_name) ?>_plugins.png" title="<?php esc_attr_e('Click to download as an image', 'code-profiler' )?>" target="_blank" rel="noopener noreferrer"><span class="dashicons dashicons-download" style="display: inline-block;vertical-align: middle;"></span><?php esc_attr_e('Download as a PNG image', 'code-profiler' )?></a> | |
| 194 | + <a type="button" class="button button-secondary" id="download-png-img" download="<?php echo esc_attr( $profile_name) ?>_plugins.png" title="<?php esc_attr_e('Click to download as an image', 'code-profiler' )?>" target="_blank" rel="noopener noreferrer"><span class="dashicons dashicons-download" style="display: inline-block;vertical-align: middle;"></span><?php esc_attr_e('Download as a PNG image', 'code-profiler' )?></a> | |
| 195 | 195 | <?php |
| 196 | 196 | } |
| 197 | 197 | ?> |
| 198 | 198 | </div> |