Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Temporarily remove revision settings UI and filter
Browse files Browse the repository at this point in the history
  • Loading branch information
0aveRyan committed Sep 21, 2024
1 parent cfbd2b0 commit 9ff4c0b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bluehost-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Plugin URI: https://bluehost.com
* Update URI: https://github.com/bluehost/bluehost-wordpress-plugin
* Description: WordPress plugin that integrates a WordPress site with the Bluehost control panel, including performance, security, and update features.
* Version: 3.14.10
* Version: 3.14.11
* Requires at least: 6.4
* Requires PHP: 7.3
* Tested up to: 6.6.2
Expand All @@ -32,7 +32,7 @@
}

// Define constants
define( 'BLUEHOST_PLUGIN_VERSION', '3.14.10' );
define( 'BLUEHOST_PLUGIN_VERSION', '3.14.11' );
define( 'BLUEHOST_PLUGIN_FILE', __FILE__ );
define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
Expand Down
2 changes: 1 addition & 1 deletion inc/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
function nfd_settings_revisions( $num, $post ) {
return get_option( 'nfd_wp_post_revisions', 5 );
}
add_filter( 'wp_revisions_to_keep', __NAMESPACE__ . '\\nfd_settings_revisions', 10, 2 );
// add_filter( 'wp_revisions_to_keep', __NAMESPACE__ . '\\nfd_settings_revisions', 10, 2 );

if ( ! defined( 'EMPTY_TRASH_DAYS' ) ) {
$nfd_empty_trash_days = get_option( 'nfd_empty_trash_days', 30 );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bluehost-wordpress-plugin",
"version": "3.14.10",
"version": "3.14.11",
"description": "WordPress plugin that integrates your WordPress site with the Bluehost control panel, including performance, security, and update features.",
"author": {
"name": "Bluehost",
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/settings/contentSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const ContentSettings = () => {
) }
>
<div className="nfd-flex nfd-flex-col nfd-gap-4">
<ContentRevisions setError={ setError } notify={ notify } />
{/* <ContentRevisions setError={ setError } notify={ notify } /> */}

Check failure on line 203 in src/app/pages/settings/contentSettings.js

View workflow job for this annotation

GitHub Actions / ESLint

Replace `/*·<ContentRevisions·setError={·setError·}·notify={·notify·}·/>·*/` with `·/*·<ContentRevisions·setError={·setError·}·notify={·notify·}·/>·*/·`
<EmptyTrash setError={ setError } notify={ notify } />

{ isError && (
Expand Down

0 comments on commit 9ff4c0b

Please sign in to comment.