이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Hide Updates

설명

This plugin hides update notifications for core, plugin, and theme updates in the WordPress admin. It’s useful for developers and agencies who manage updates through Composer or remote management services like ManageWP, and therefore wants to hide update notices for other users.

Features

  • Hides WordPress core update notices.
  • Hides plugin update notices.
  • Hides theme update notices.
  • Hides updates link in admin menu and admin bar.
  • Blocks access to the updates page for users who are not allowed to see updates.
  • Enables developers to specify which users can see updates.

Worth noting

This plugin is intended for developers and agencies who have good reasons for hiding the updates, for example if they manage updates through Composer or remote management services like ManageWP. This plugin has been tested with ManageWP and ManageWP needs to connect to the site with a user account that is allowed to see updates.

Specify allowed users

By default, the plugin allows the first registered user (the one who installed the site) to see updates. Developers can use the hide_updates_allowed_users filter to specify which users are allowed to see update notifications.

The following example will allow only users with usernames bill and melinda to see updates:

function site_hide_updates_allowed_users() {
    $allowed_users = array( 'charlotte', 'bob' );
    return $allowed_users;
}
add_filter( 'hide_updates_allowed_users', 'site_hide_updates_allowed_users' );

설치

  1. Upload the hide-updates directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

Who is this plugin for?

This plugin is aimed for developers and agencies who manage core, plugin, and translation updates through Composer or remote management services like ManageWP.

Why would you want to hide updates?

If you’re a developer or agency responsible for updating client sites, you may want to hide updates for other users who should not install updates.

Can I choose to hide only some types of updates?

No. All updates will be hidden.

후기

2019년 5월 10일
Installed, activated, worked. Thanks!!
모든 4 평가 읽기

기여자 & 개발자

“Hide Updates”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Hide Updates”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1.5

  • Release date: 2019-12-18
  • Minor refactoring and coding standards overhaul.
  • Align Github and WordPress.org version release numbers.

1.1.4

  • Release date: 2019-05-28
  • Check if user is logged in before enqueuing plugin CSS. Thanks Vincent Klaiber (@vinkla) for the help!

1.1.3

  • Release date: 2018-10-28
  • Avoid error if default user with ID 1 doesn’t exist.

1.1.2

  • Release date: 2018-10-21
  • Add first registered user (usually the one who installed the site) as default user allowed to see updates.
  • Add more precise CSS selector for hiding plugin updates in admin menu to avoid breaking other plugins using the .update-plugins class on other notifications.

1.1.1

  • Release date: 2018-10-21
  • Remove include of wp-includes/pluggable.php to be able to use wp_get_current_user(). Unnecessary to include file.

1.1

  • Release date: 2018-10-21
  • Add filter to define users allowed to see updates.
  • Hide update notifications using CSS to enable usage of remote management services like ManageWP and others. Previous solution used pre_site_transient_update_* filters and nulled all values making it impossible for remote management services to read updates.

1.0

  • Initial release.