Advertisement
daymobrew

WP Updates Notifier Changelog url

Apr 27th, 2017
599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.07 KB | None | 0 0
  1. --- wp-updates-notifier/wp-updates-notifier.orig.php    2016-07-06 19:16:26.000000000 +0100
  2. +++ wp-updates-notifier/wp-updates-notifier.php 2017-04-27 13:22:27.801546500 +0100
  3. @@ -307,7 +307,7 @@
  4.                         $info        = plugins_api( 'plugin_information', array( 'slug' => $data->slug ) ); // get repository plugin info
  5.                         $message .= "\n" . sprintf( __( "Plugin: %s is out of date. Please update from version %s to %s", "wp-updates-notifier" ), $plugin_info['Name'], $plugin_info['Version'], $data->new_version ) . "\n";
  6.                         $message .= "\t" . sprintf( __( "Details: %s", "wp-updates-notifier" ), $data->url ) . "\n";
  7. -                       $message .= "\t" . sprintf( __( "Changelog: %s%s", "wp-updates-notifier" ), $data->url, "changelog/" ) . "\n";
  8. +                       $message .= "\t" . sprintf( __( "Changelog: %s%s", "wp-updates-notifier" ), $data->url, "#developers" ) . "\n";
  9.                         if ( isset( $info->tested ) && version_compare( $info->tested, $wp_version, '>=' ) ) {
  10.                             $compat = sprintf( __( 'Compatibility with WordPress %1$s: 100%% (according to its author)' ), $cur_wp_version );
  11.                         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement