Merged in feature/from-pantheon (pull request #16)

code from pantheon

* code from pantheon
This commit is contained in:
Tony Volpe
2024-01-10 17:03:02 +00:00
parent 054b4fffc9
commit 4eb982d7a8
16492 changed files with 3475854 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
/**
* Class for deprecated methods from Imagify_Notices.
*
* @since 1.7
* @author Grégory Viguier
* @deprecated
*/
class Imagify_Notices_Deprecated {
/**
* Include the view file.
*
* @since 1.6.10 In Imagify_Notices
* @since 1.7 Deprecated
* @author Grégory Viguier
* @deprecated
*
* @param string $view The view ID.
* @param mixed $data Some data to pass to the view.
*/
public function render_view( $view, $data = array() ) {
_deprecated_function( get_class( $this ) . '::' . __FUNCTION__ . '()', '1.7', 'Imagify_Views::get_instance()->print_template( \'notice-\' . $view, $data )' );
Imagify_Views::get_instance()->print_template( 'notice-' . $view, $data );
}
}