File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
classes/Visualizer/Render/Page Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ class="dashicons dashicons-lock"></span></h2>
256
256
<a href="https://wordpress.org/support/plugin/visualizer/reviews/?filter=5#new-post"
257
257
target="_blank"><?php _e ( 'Rate our plugin ' , 'visualizer ' ); ?> </a>
258
258
</li>
259
- <li class="group bottom-fixed" id="vz-chart-copyright">Visualizer © 2014 </li>
259
+ <li class="group bottom-fixed" id="vz-chart-copyright">Visualizer © <?php echo date ( ' Y ' , current_time ( ' timestamp ' ) ); ?> </li>
260
260
</ul>
261
261
<?php
262
262
// changed by Ash/Upwork
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ function visualizer_launch() {
90
90
include_once ( $ vendor_file );
91
91
}
92
92
add_filter ( 'themeisle_sdk_products ' , 'visualizer_register_sdk ' , 10 , 1 );
93
+ add_filter ( 'pirate_parrot_log ' , 'visualizer_register_parrot ' , 10 , 1 );
93
94
}
94
95
95
96
/**
@@ -102,6 +103,16 @@ function visualizer_register_sdk( $products ) {
102
103
return $ products ;
103
104
}
104
105
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
+
105
116
// register autoloader function
106
117
spl_autoload_register ( 'visualizer_autoloader ' );
107
118
// launch the plugin
You can’t perform that action at this time.
0 commit comments