-
Notifications
You must be signed in to change notification settings - Fork 0
/
broken-link-checker.php
63 lines (50 loc) · 1.88 KB
/
broken-link-checker.php
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
/*
* Plugin Name: Link Checker
* Plugin URI: https://cp-psource.github.io/psource-link-checker/
* Description: Überprüft Deine Seite auf fehlerhafte Links und fehlende Bilder und benachrichtigt Dich im Dashboard, falls gefunden.
* Version: 1.0.7
* Author: PSOURCE
* Author URI: https://github.com/cp-psource
* Text Domain: psource-link-checker
* Domain Path: languages
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
/*
Broken Link Checker is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
any later version.
Broken Link Checker is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Broken Link Checker. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
*/
/**
* @@@@@@@@@@@@@@@@@ PS UPDATER 1.3 @@@@@@@@@@@
**/
require 'psource/psource-plugin-update/plugin-update-checker.php';
use YahnisElsts\PluginUpdateChecker\v5\PucFactory;
$myUpdateChecker = PucFactory::buildUpdateChecker(
'https://github.com/cp-psource/psource-link-checker',
__FILE__,
'psource-link-checker'
);
//Set the branch that contains the stable release.
$myUpdateChecker->setBranch('master');
/**
* @@@@@@@@@@@@@@@@@ ENDE PS UPDATER 1.3 @@@@@@@@@@@
**/
//Path to this file
if ( !defined('BLC_PLUGIN_FILE') ){
define('BLC_PLUGIN_FILE', __FILE__);
}
//Path to the plugin's directory
if ( !defined('BLC_DIRECTORY') ){
define('BLC_DIRECTORY', dirname(__FILE__));
}
//Load the actual plugin
require 'core/init.php';