class-onpage-notifier.php
837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* @package WPSEO\Admin
*/
/**
* Notify the admin there is an indexibility change
*
* @deprecated
*/
class WPSEO_OnPage_Notifier {
/**
* 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' );
}
/**
* Forces the MIME type of emails to text/html
*
* @deprecated 3.0.7
*/
public function set_content_type() {
_deprecated_function( 'WPSEO_OnPage_Notifier', 'WPSEO 3.0.7' );
return 'text/html';
}
/**
* Let's start showing the notices to all admins by removing the hide-notice meta data for each admin resulting in
* popping up the notice again
*
* @deprecated 3.0.7
*/
public function show_notices() {
_deprecated_function( 'WPSEO_OnPage_Notifier', 'WPSEO 3.0.7' );
}
}