Skip to content

Commit f4d7766

Browse files
changed copyright year + removed closures
1 parent 4095535 commit f4d7766

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

classes/Visualizer/Render/Page/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class="dashicons dashicons-lock"></span></h2>
256256
<a href="https://wordpress.org/support/plugin/visualizer/reviews/?filter=5#new-post"
257257
target="_blank"><?php _e( 'Rate our plugin', 'visualizer' ); ?></a>
258258
</li>
259-
<li class="group bottom-fixed" id="vz-chart-copyright">Visualizer &copy; 2014</li>
259+
<li class="group bottom-fixed" id="vz-chart-copyright">Visualizer &copy; <?php echo date( 'Y', current_time( 'timestamp' ) ); ?></li>
260260
</ul>
261261
<?php
262262
// changed by Ash/Upwork

index.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ function visualizer_launch() {
9090
include_once( $vendor_file );
9191
}
9292
add_filter( 'themeisle_sdk_products', 'visualizer_register_sdk', 10, 1 );
93+
add_filter( 'pirate_parrot_log', 'visualizer_register_parrot', 10, 1 );
9394
}
9495

9596
/**
@@ -102,6 +103,16 @@ function visualizer_register_sdk( $products ) {
102103
return $products;
103104
}
104105

106+
/**
107+
* Registers with the parrot plugin
108+
*
109+
* @since 1.0.0
110+
*/
111+
function visualizer_register_parrot( $plugins ) {
112+
$plugins[] = Visualizer_Plugin::NAME;
113+
return $plugins;
114+
}
115+
105116
// register autoloader function
106117
spl_autoload_register( 'visualizer_autoloader' );
107118
// launch the plugin

0 commit comments

Comments
 (0)