PluginProbe
WP Coder – Insert & Manage Code Snippets / 4.5
WP Coder – Insert & Manage Code Snippets v4.5
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
← All changes | classes/Dashboard/DashboardInitializer.php +18 -18 3.34.5 View file →
@@ -24,26 +24,26 @@
24 24 'action' => 'new'
25 25 ], admin_url( 'admin.php' ) );
26 26 ?>
27 27
28 - <div class="wowp-header-border"></div>
29 - <div class="wowp-header">
30 - <div class="wowp-logo">
31 - <svg width="32px" height="32px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
32 - <g id="WPCoder" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
33 - <g id="code" transform="translate(26.000000, 56.000000)" fill-rule="nonzero">
34 - <path d="M135.623849,107.492348 C132.313053,103.34684 127.489388,100.688372 122.21643,100.103113 C116.943473,99.5178542 111.654252,101.053868 107.514995,104.372476 L7.5090733,184.369213 C2.76301474,188.164426 0,193.911677 0,199.988576 C0,206.065476 2.76301474,211.812727 7.5090733,215.607939 L107.504995,295.604677 C111.643224,298.925874 116.933119,300.463522 122.20689,299.878173 C127.48066,299.292824 132.304624,296.632613 135.613849,292.484804 C142.506902,283.862628 141.110501,271.286066 132.493976,264.38595 L52.0172582,199.988576 L132.493976,135.611202 C141.110501,128.711086 142.506902,116.134524 135.613849,107.512348 L135.613849,107.482349 L135.623849,107.482349 L135.623849,107.492348 Z" id="Path" fill="#FF6B6B"></path>
35 - <path d="M352.495005,104.372476 C343.863245,97.6171738 331.402277,99.0684778 324.554053,107.626703 C317.705829,116.184927 319.022334,128.660857 327.506024,135.601202 L407.982742,199.988576 L327.506024,264.365951 C319.022334,271.306297 317.705829,283.782226 324.554053,292.340451 C331.402277,300.898675 343.863245,302.349979 352.495005,295.594678 L452.490927,215.59794 C457.236985,211.802728 460,206.055476 460,199.978577 C460,193.901677 457.236985,188.154426 452.490927,184.359214 L352.495005,104.362476 L352.495005,104.382475 L352.495005,104.372476 Z" id="Path" fill="#007EA1"></path>
36 - <path d="M285.347743,0.72670242 C274.707912,-2.20949175 263.697957,4.01547032 260.728747,14.6461348 L160.732825,374.631454 C157.911801,385.22514 164.145145,396.115314 174.708452,399.048043 C185.271759,401.980772 196.227146,395.862768 199.271253,385.331018 L299.267175,25.3456984 C302.221117,14.7036863 295.989426,3.68183039 285.347743,0.72670242 L285.347743,0.72670242 Z" id="Path" fill="#007EA1"></path>
37 - </g>
38 - </g>
39 - </svg>
40 - </div>
41 - <h1><?php echo esc_html( WPCoder::info('name') ); ?> <sup
42 - class="wowp-version"><?php echo esc_html( WPCoder::info('version') ); ?></sup></h1>
43 -
28 + <div class="wowp-header">
29 + <div class="wowp-header__logo">
30 + <svg width="64" height="64" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
31 + <path id="1728127909379-8007129Oval-Copy" fill="#2b7fff" fill-rule="evenodd" stroke="none" d="M 496 101 C 496 128.614227 473.614227 151 446 151 C 418.385773 151 396 128.614227 396 101 C 396 73.385773 418.385773 51 446 51 C 473.614227 51 496 73.385773 496 101 Z"/>
32 + <g id="window-code">
33 + <path id="Path" fill="#212121" stroke="none" d="M 245.714279 232.714294 L 74.285713 61.285736 C 60.571426 47.571411 40 47.571411 26.285713 61.285736 C 12.571427 75 12.571427 95.571442 26.285713 109.285706 L 173.714279 256.714294 L 26.285713 404.142853 C 12.571427 417.857147 12.571427 438.428589 26.285713 452.142853 C 33.142857 459 40 462.428558 50.285713 462.428558 C 60.571426 462.428558 67.428574 459 74.285713 452.142853 L 245.714279 280.714294 C 259.428589 267 259.428589 246.428558 245.714279 232.714294 Z"/>
34 + <path id="Rounded-Rectangle" fill="#212121" fill-rule="evenodd" stroke="none" d="M 256 431 C 256 448.673096 270.326874 463 288 463 L 464 463 C 481.673096 463 496 448.673096 496 431 L 496 429 C 496 411.326904 481.673096 397 464 397 L 288 397 C 270.326874 397 256 411.326904 256 429 Z"/>
35 + </g>
36 + </svg>
37 + </div>
38 + <h1 class="wowp-header__title">
39 + <?php echo esc_html( WPCoder::info( 'name' ) ); ?>
40 + <sup class="wowp-header__title-version"><?php echo esc_html( WPCoder::info( 'version' ) ); ?></sup>
41 + </h1>
42 + <div class="wowp-header__links">
44 43 <?php do_action( WPCoder::PREFIX . '_admin_header_links' ); ?>
45 44 </div>
45 + </div>
46 46
47 47
48 48 <?php
49 49 }
@@ -59,9 +59,9 @@
59 59
60 60 public static function menu(): void {
61 61
62 62 $pages = DashboardHelper::get_files( 'pages' );
63 - unset($pages["3"], $pages["4"]);
63 + unset( $pages["3"], $pages["4"] );
64 64
65 65 $current_page = self::get_current_page();
66 66
67 67 $action = ( isset( $_REQUEST["action"] ) ) ? sanitize_text_field( $_REQUEST["action"] ) : '';
@@ -72,9 +72,9 @@
72 72 $id = '';
73 73
74 74 if ( $action === 'update' && $page['file'] === 'settings' ) {
75 75 $id = ( isset( $_REQUEST["id"] ) ) ? absint( $_REQUEST["id"] ) : '';
76 - $page['name'] = __( 'Update', 'wpcoder' ) . ' #' . $id;
76 + $page['name'] = __( 'Update', 'wp-coder' ) . ' #' . $id;
77 77 } elseif ( $page['file'] === 'settings' && ( $action !== 'new' && $action !== 'duplicate' ) ) {
78 78 continue;
79 79 }
80 80