コード例 #1
0
 /**
  * PHP4 constructor.
  */
 public function WP_Widget_Factory()
 {
     _deprecated_constructor('WP_Widget_Factory', '4.2.0');
     self::__construct();
 }
コード例 #2
0
 /**
  * PHP4 constructor.
  *
  * @since 2.8.0
  * @access public
  *
  * @see __construct()
  *
  * @param string $id_base         Optional Base ID for the widget, lowercase and unique. If left empty,
  *                                a portion of the widget's class name will be used Has to be unique.
  * @param string $name            Name for the widget displayed on the configuration page.
  * @param array  $widget_options  Optional. Widget options. See wp_register_sidebar_widget() for information
  *                                on accepted arguments. Default empty array.
  * @param array  $control_options Optional. Widget control options. See wp_register_widget_control() for
  *                                information on accepted arguments. Default empty array.
  */
 public function WP_Widget($id_base, $name, $widget_options = array(), $control_options = array())
 {
     _deprecated_constructor('WP_Widget', '4.3.0', get_class($this));
     WP_Widget::__construct($id_base, $name, $widget_options, $control_options);
 }
コード例 #3
0
 /**
  * Send an email to the site admin
  *
  * @deprecated 3.0.7
  */
 public function send_email()
 {
     _deprecated_constructor('WPSEO_OnPage_Email_Presenter', 'WPSEO 3.0.7');
 }
コード例 #4
0
 /**
  * @deprecated 3.0 Removed, use javascript instead.
  *
  * @param string $strEncoding Optional character encoding.
  */
 public function __construct($strEncoding = '')
 {
     _deprecated_constructor('Yoast_TextStatistics', 'WPSEO 3.0');
 }
コード例 #5
0
 /**
  * Generates the html for the snippet preview containing dynamically generated text components.
  * Those components are included as properties which are set in the constructor.
  *
  * @param WP_Post $post        Post instance.
  * @param string  $title       Title string.
  * @param string  $description Description string.
  *
  * @deprecated 3.0 Removed, use javascript instead.
  */
 public function __construct($post, $title, $description)
 {
     _deprecated_constructor('WPSEO_Snippet_Preview', 'WPSEO 3.0');
 }
コード例 #6
0
 /**
  * PHP4 constructor.
  */
 public function AddTextdomain()
 {
     _deprecated_constructor('AddTextdomain', '4.3');
 }