Revert "refactor: remove Hungarian notation and MCI prefixes"

This reverts commit 1284544556.
This commit is contained in:
Ben Goldsworthy 2021-04-19 12:15:17 +01:00
parent c0672461b0
commit 2f809f4fe9
15 changed files with 1710 additions and 1710 deletions

View file

@ -18,7 +18,7 @@
* @author Stefan Herndler
* @since 1.5.0
*/
abstract class Footnotes_Widget_Base extends WP_Widget {
abstract class MCI_Footnotes_Widget_Base extends WP_Widget {
/**
* Returns an unique ID as string used for the Widget Base ID.
@ -64,14 +64,14 @@ abstract class Footnotes_Widget_Base extends WP_Widget {
* @since 1.6.4
* @contributor @dartiss
* @link https://plugins.trac.wordpress.org/browser/footnotes/trunk/class/widgets/base.php?rev=1445720
* “The called constructor method for WP_Widget in Footnotes_Widget_ReferenceContainer is deprecated since version 4.3.0! Use __construct() instead.
* “The called constructor method for WP_Widget in MCI_Footnotes_Widget_ReferenceContainer is deprecated since version 4.3.0! Use __construct() instead.
*/
public function __construct() {
$widget_options = array(
$l_arr_widget_options = array(
'classname' => __CLASS__,
'description' => $this->get_description(),
);
$control_options = array(
$l_arr_control_options = array(
'id_base' => strtolower( $this->get_id() ),
'width' => $this->get_widget_width(),
);
@ -79,8 +79,8 @@ abstract class Footnotes_Widget_Base extends WP_Widget {
parent::__construct(
strtolower( $this->get_id() ), // Unique ID for the widget, has to be lowercase.
$this->get_name(), // Plugin name to be displayed.
$widget_options, // Optional Widget Options.
$control_options // Optional Widget Control Options.
$l_arr_widget_options, // Optional Widget Options.
$l_arr_control_options // Optional Widget Control Options.
);
}
}