這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Updates Notifier

描述

Monitors your WordPress installation for core, plugin and theme updates and emails you when they are available. This plugin is ideal if you don’t login to your WordPress admin regularly or you support a client’s website.

Features

  • Set the interval of how often to check for updates; hourly, twice daily or daily.
  • Sets WordPress to check for updates more often meaning you get to know about updates sooner.
  • Get emailed about core, plugin and theme updates.
  • Chose if you want to be notified about active only themes and plugins updates.
  • Remove upgrade nag message to non-admin users.
  • For advanced users there are a number of filters and actions you can use. More coming soon.

This plugin is a fork of Update Notifier. This plugin was forked because there seemed to be no further development on the existing plugin and there was no way to contact the original author to ask about taking ownership. WP Updates Notifier has the following improvements over Updates Notifier:

  • Completely rewritten from the ground up using best practises for writing WordPress plugins
  • Code wrapped in a class so better namespace.
  • You can set the cron interval, allowing for more frequent checks.
  • Update checks trigger WordPress internal update check before notification.
  • Allows you to set the ‘from address’.
  • Allows you to set multiple ‘to addresses’.
  • Makes use of the Settings API.
  • A number of available hooks and filters for advanced users.
  • Active support and development.

Languages

Filters

Two filters have been provided to allow you to alter the email subject and email content being sent by WP Updates Notifier.

sc_wpun_email_subject

@parameters:

$email_subject – the email subject to be filtered.

Example:

/* 
*   Alter the email subject being sent by WP Updates Notifier 
*/
function alter_wp_updates_notifier_email_subject( $email_subject ) {
    $email_subject = 'This is the new email subject for updates notifier';
    return $email_subject;
}
add_filter( 'sc_wpun_email_subject', 'alter_wp_updates_notifier_email_subject' );

sc_wpun_email_content

@parameters:
$message – the content of the email to be filtered

Example:

/* 
*   Alter the email content being sent by WP Updates Notifier 
*/
function alter_wp_updates_notifier_email_content( $message ) {
    $message = 'This is our new email content that will override the default.';
    return $message;
}
add_filter( 'sc_wpun_email_content', 'alter_wp_updates_notifier_email_content' );

安裝

  • Unzip and upload contents to your plugins directory (usually wp-content/plugins/).
  • Activate plugin
  • Visit Settings page under Settings -> WP Updates Monitor in your WordPress Administration Area
  • Configure plugin settings
  • Wait for email notifications of updates

評價

2018年2月7日
It’s ok for theme and plugins notifications, but notification about core updates does’t work for more than one year! This plugin probably won’t recieve an update anymore.
閱讀全部35個評價

貢獻者及開發者

“WP Updates Notifier” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

WP Updates Notifier 外掛目前已有 6 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 WP Updates Notifier 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.6

  • Added slack notifications and testing button
  • Separated notifications so they can be email, slack, or both
  • Reorganized settings page
  • Changed validation to not turn on notifications for email or slack unless required fields are valid
  • Test email or slack message are now triggered with a temporary transient
  • Removed javascript functions

1.5.1

  • Removed ability to trigger with external cron job (a potential security risk)

1.5

  • Bring up to WordPress coding standards
  • PHPCS ruleset
  • Travis testing
  • Base for unit testing

1.4.4

  • Avoid PHP Strict notices
  • PHP 7 compatibility
  • Minor cleanup on some internal code

1.4.3

  • Repaired all PHP errors being thrown
  • Two new filters added to allow you to alter the email content (sc_wpun_email_subject, sc_wpun_email_content – see readme.txt for examples)

1.4.2

  • Added an option that allows the plugin to notify the provided email about WordPress core automatic updates.

1.4.1

  • Switch from using site_url() to home_url() in email subject line so not to link to a 404 page.

1.4

  • Added external cron method allowing users check for updates as often or as little as they want
  • Added sc_wpun_get_options_filter and sc_wpun_put_options_filter filters to allow filtering of this plugins settings
  • Now using wp_get_schedules() rather than statically assigned schedules. This allows admins to set their own schedules such as a weekly one
  • Added French translations
  • Added date and time of when this plugin last did an update check on the settings screen

1.3.2

  • Added $wp_version globals ( Explains why WordPress Core Updates notifications haven’t been working )
  • Added missed variable $cur_wp_version

1.3.1

  • Fixed PHP Fatal error on line 175.

1.3

  • Added send test email functionality in settings page.
  • Fixed Call-time pass-by-reference has been deprecated PHP errors.

1.2

  • Added the ability to allow multiple email address to be added to the notify to setting. Multiple email addresses to be comma separated.
  • Removed code from last version that was left in from dev. Caused WP to check for update on every admin page load.

1.1

  • Plugin update notification email now includes links to new plugin description and changelog page.
  • Plugin update notification email now shows compatibility of a new plugin. This is same functionality that appears in the WP update area.
  • On plugin activation the first update check is scheduled to run an hour after rather than straight away. This stops current awaiting updates being sent to admin email before you’ve had chance to change the email settings.

1.0.4

  • Fixed code to not report multiple times of core upgrades. Plugin now only notifies you once of core upgrade until upgrade is done.

1.0.3

  • When plugin was deactivated then reactivated the cron was not rescheduled unless the settings were saved. This has now been fixed.

1.0.2

  • Fixed plugin version

1.0.1

  • Fixed spelling mistake in deactivate hook that stopped deactivate running properly.

1.0

  • Initial release