Skip to content

How to prevent YOURLS checking for updates #2851

@ozh

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');

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