Skip to content
Snippets Groups Projects
Commit a3853914 authored by Erick Hitter's avatar Erick Hitter
Browse files

Introduce loader as part of modernizing

parent 54103276
No related branches found
No related tags found
1 merge request!3Unit tests and coding standards
Pipeline #1013 passed with warnings with stages
in 3 minutes and 12 seconds
......@@ -17,6 +17,3 @@ indent_size = 4
[{.jshintrc,*.json,*.yml}]
indent_style = space
indent_size = 2
[{*.txt,wp-config-sample.php}]
end_of_line = crlf
<?php
/*
Plugin Name: WP Revisions Control
Plugin URI: https://ethitter.com/plugins/wp-revisions-control/
Description: Control how many revisions are stored for each post type
Author: Erick Hitter
Version: 1.2.1
Author URI: https://ethitter.com/
Text Domain: wp_revisions_control
Domain Path: /languages/
This program 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
(at your option) any later version.
This program 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 this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
* Main plugin functionality.
*
* @package WP_Revisions_Control
*/
/**
* Class WP_Revisions_Control.
*/
class WP_Revisions_Control {
/**
* Singleton
......
<?php
/**
* Load plugin.
*
* @package WP_Revisions_Control
*/
/**
* Plugin Name: WP Revisions Control
* Plugin URI: https://ethitter.com/plugins/wp-revisions-control/
* Description: Control how many revisions are stored for each post type
* Author: Erick Hitter
* Version: 1.2.1
* Author URI: https://ethitter.com/
* Text Domain: wp_revisions_control
* Domain Path: /languages/
*
* This program 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
* (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
require_once __DIR__ . '/inc/class-wp-revisions-control.php';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment