|
@@ 1900-1902 (lines=3) @@
|
| 1897 |
|
|
| 1898 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1899 |
|
|
| 1900 |
|
if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) { |
| 1901 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version; |
| 1902 |
|
} |
| 1903 |
|
|
| 1904 |
|
return false; |
| 1905 |
|
} |
|
@@ 1923-1925 (lines=3) @@
|
| 1920 |
|
|
| 1921 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1922 |
|
|
| 1923 |
|
if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) { |
| 1924 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice; |
| 1925 |
|
} |
| 1926 |
|
|
| 1927 |
|
return ''; |
| 1928 |
|
} |