-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpassgrinder.php
48 lines (33 loc) · 956 Bytes
/
passgrinder.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
<?php
/*
Plugin Name: PassGrinder
Description:
Author: Jeremy Caris
Author URI: https://passgrinder.com/
Version: 0.4
Category: utility
*/
if (!defined('ABSPATH')) exit();
require 'checker/plugin-update-checker.php';
$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(
'https://github.com/jeremycaris/passgrinder/',
__FILE__,
'passgrinder'
);
// Include main class
require("inc/class-passgrinder.php");
// Create pass page with shortcode
//if( get_page_by_title('pass') == false ) {
// $post_details = array(
// 'post_title' => 'Pass',
// 'post_content' => '[password_grinder]',
// 'post_status' => 'publish',
// 'post_author' => 11,
// 'post_type' => 'page'
// );
// wp_insert_post( $post_details );
//}
// Wordpress settings page with option to make url the default salt
// Update WP registration form
// Update WP pass reset form
// set up name space and translation