Skip to content

Commit

Permalink
Updates the version tag to 1.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagohillebrandt committed Mar 1, 2023
1 parent e292531 commit cf860eb
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion src/Admin/AJAX.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public function autoload_update_option() {
/**
* Updates the WordPress auto update policy.
*
* @since {VERSION}
* @since 1.2.0
*/
public function wordpress_auto_update_policy() {

Expand Down
2 changes: 1 addition & 1 deletion src/Admin/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function admin_menu() {
/**
* Filters the Supervisor menu position.
*
* @since {VERSION}
* @since 1.2.0
*
* @param float|int $position The position in the menu order.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Admin/Views/Cards/WordPressCardView.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
* The WordPressCardView class.
*
* @package supervisor
* @since {VERSION}
* @since 1.2.0
*/
final class WordPressCardView extends AbstractView {

/**
* Outputs the view.
*
* @since {VERSION}
* @since 1.2.0
*/
public function output() {

Expand Down Expand Up @@ -62,7 +62,7 @@ public function output() {
/**
* Outputs the user select.
*
* @since {VERSION}
* @since 1.2.0
*
* @param bool $success True if the success message should be displayed.
*/
Expand Down
12 changes: 6 additions & 6 deletions src/Core/Autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function get() {
/**
* Filters the total of autoload options that should be returned.
*
* @since {VERSION}
* @since 1.2.0
*
* @param int $limit The total of autoload options that should be returned.
*/
Expand Down Expand Up @@ -57,7 +57,7 @@ public function get() {
/**
* Filters the list of biggest autoload options.
*
* @since {VERSION}
* @since 1.2.0
*
* @param array $options The list of biggest autoload options.
*/
Expand Down Expand Up @@ -88,7 +88,7 @@ public function get_stats() {
/**
* Filters the autoload options stats.
*
* @since {VERSION}
* @since 1.2.0
*
* @param array $stats Array with the total count and size of the autoload options.
*/
Expand All @@ -112,7 +112,7 @@ public function get_history() {
/**
* Filters for how long a deactivated autoload option will remain in the history.
*
* @since {VERSION}
* @since 1.2.0
*
* @param int $timestamp The expiration timestamp. Any options with deactivation timestamp older than expiration timestamp will be removed from history. False if should not expire.
*/
Expand All @@ -136,7 +136,7 @@ public function get_history() {
/**
* Filters the history of deactivated autoload options.
*
* @since {VERSION}
* @since 1.2.0
*
* @param array $history List of deactivated options.
*/
Expand Down Expand Up @@ -185,7 +185,7 @@ public function is_core_option( $option_name ) {
/**
* Filters if a given option is a WordPress core option or not.
*
* @since {VERSION}
* @since 1.2.0
*
* @param bool $is_core_option True if it is a WP core option.
* @param string $option_name The option name.
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function transients() {
/**
* Get the WordPress object.
*
* @since {VERSION}
* @since 1.2.0
*
* @return WordPress
*/
Expand Down
8 changes: 4 additions & 4 deletions src/Core/SSL.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function get_data() { // phpcs:ignore Generic.Metrics.CyclomaticComplexit
/**
* Filters the SSL data.
*
* @since {VERSION}
* @since 1.2.0
*
* @param array $ssl_data An array with the SSL data.
*/
Expand Down Expand Up @@ -145,7 +145,7 @@ public function is_available() {
/**
* Filters if the SSL is available or not.
*
* @since {VERSION}
* @since 1.2.0
*
* @param bool $is_available True if the SSL is available.
*/
Expand All @@ -164,7 +164,7 @@ public function is_expiring() {
/**
* Filters the number of days prior to the SSL expiration date that the admin notice should be displayed.
*
* @since {VERSION}
* @since 1.2.0
*
* @param int $days The number of days.
*/
Expand All @@ -184,7 +184,7 @@ public function is_expiring() {
/**
* Filters if the SSL is about to expire or not.
*
* @since {VERSION}
* @since 1.2.0
*
* @param int|false $is_expiring Number of days until certificate expiration, or false on error.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function is_updated( $software ) { // phpcs:ignore Generic.Metrics.Cyclom
/**
* Filters the status of the software update.
*
* @since {VERSION}
* @since 1.2.0
*
* @param string $status The software update status ('updated', 'outdated', or 'obsolete').
* @param string $software The software name ('php', 'mysql', 'mariadb', 'wp', 'nginx', or 'apache').
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Transients.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function get_stats() {
/**
* Filters the transients stats.
*
* @since {VERSION}
* @since 1.2.0
*
* @param array $stats Array with the total count and size of the transients.
*/
Expand Down
16 changes: 8 additions & 8 deletions src/Core/WordPress.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
* The WordPress class.
*
* @package supervisor
* @since {VERSION}
* @since 1.2.0
*/
class WordPress {

/**
* Option to store the auto update policy.
*
* @since {VERSION}
* @since 1.2.0
*
* @var string
*/
Expand All @@ -21,7 +21,7 @@ class WordPress {
/**
* Constructor.
*
* @since {VERSION}
* @since 1.2.0
*/
public function __construct() {

Expand All @@ -31,7 +31,7 @@ public function __construct() {
/**
* WordPress actions and filters.
*
* @since {VERSION}
* @since 1.2.0
*/
public function hooks() {

Expand All @@ -41,7 +41,7 @@ public function hooks() {
/**
* Applies the WordPress auto update policy.
*
* @since {VERSION}
* @since 1.2.0
*/
public function apply_wp_auto_update_policy() { // phpcs:ignore WPForms.PHP.HooksMethod.InvalidPlaceForAddingHooks

Expand All @@ -66,7 +66,7 @@ public function apply_wp_auto_update_policy() { // phpcs:ignore WPForms.PHP.Hook
*
* @param string $policy The auto update policy.
*
* @since {VERSION}
* @since 1.2.0
*/
public function set_auto_update_policy( $policy ) {

Expand All @@ -78,7 +78,7 @@ public function set_auto_update_policy( $policy ) {
/**
* Returns the selected auto update policy.
*
* @since {VERSION}
* @since 1.2.0
*
* @return string|bool It can assume 'disabled', 'minor', 'major', 'dev' or false.
*/
Expand All @@ -94,7 +94,7 @@ public function get_auto_update_policy() {
/**
* Determines if WordPress auto update constants are enabled or not.
*
* @since {VERSION}
* @since 1.2.0
*
* @return boolean True if WordPress auto update constants are available.
*/
Expand Down
12 changes: 6 additions & 6 deletions src/Utils/Upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
* The Upgrade class.
*
* @package supervisor
* @since {VERSION}
* @since 1.2.0
*/
final class Upgrade {

/**
* Option to store the current plugin version.
*
* @since {VERSION}
* @since 1.2.0
*
* @var string
*/
Expand All @@ -21,7 +21,7 @@ final class Upgrade {
/**
* Constructor.
*
* @since {VERSION}
* @since 1.2.0
*/
public function __construct() {

Expand All @@ -32,7 +32,7 @@ public function __construct() {
/**
* WordPress actions and filters.
*
* @since {VERSION}
* @since 1.2.0
*/
public function hooks() {

Expand All @@ -42,7 +42,7 @@ public function hooks() {
/**
* Cleans up the transients after WordPress updates.
*
* @since {VERSION}
* @since 1.2.0
*
* @param WP_Upgrader $upgrader The WP_Upgrader instance.
* @param array $options The update data.
Expand All @@ -57,7 +57,7 @@ public function upgrade_completed( $upgrader, $options ) {
/**
* Cleans up the transients after plugin updates.
*
* @since {VERSION}
* @since 1.2.0
*/
public function maybe_upgrade_db() {

Expand Down
4 changes: 2 additions & 2 deletions supervisor.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Supervisor
* Plugin URI: https://supervisorwp.com
* Description: A plugin to help improve the performance of your WordPress install.
* Version: 1.1.0
* Version: 1.2.0
* Author: Supervisor Team
* Author URI: https://supervisorwp.com/contributors
* License: GPL-3.0+
Expand All @@ -25,7 +25,7 @@
* @since 1.0.0
*/
define( 'SUPV', true );
define( 'SUPV_VERSION', '1.1.0' );
define( 'SUPV_VERSION', '1.2.0' );

define( 'SUPV_PLUGIN_DIR', dirname( __FILE__ ) );
define( 'SUPV_PLUGIN_URL', plugins_url( '', __FILE__ ) );
Expand Down

0 comments on commit cf860eb

Please sign in to comment.