|
@@ 1934-1936 (lines=3) @@
|
| 1931 |
|
|
| 1932 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1933 |
|
|
| 1934 |
|
if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) { |
| 1935 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version; |
| 1936 |
|
} |
| 1937 |
|
|
| 1938 |
|
return false; |
| 1939 |
|
} |
|
@@ 1957-1959 (lines=3) @@
|
| 1954 |
|
|
| 1955 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1956 |
|
|
| 1957 |
|
if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) { |
| 1958 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice; |
| 1959 |
|
} |
| 1960 |
|
|
| 1961 |
|
return ''; |
| 1962 |
|
} |