Skip to content

How to prevent YOURLS checking for updates #2851

Closed

Description

@ozh

Scenario : you don't want YOURLS to check for version updates (ie stop YOURLS from polling api.yourls.org to see if a new release is available)

Answer : this simple plugin

<?php
/*
Plugin Name: No Version Check
Plugin URI: https://github.com/YOURLS/YOURLS/issues/2851
Description: Stop YOURLS from checking if a new release is available
Version: 1.0
Author: Ozh
Author URI: https://ozh.org/
*/

// No direct call
if( !defined( 'YOURLS_ABSPATH' ) ) die();

yourls_add_filter('shunt_maybe_check_core_version', 'yourls_return_false');

Activity

  1. added
    pluginThis is an idea for a plugin. Anyone interested in making it?
    on Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginThis is an idea for a plugin. Anyone interested in making it?

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions