|
@@ 1838-1840 (lines=3) @@
|
| 1835 |
|
|
| 1836 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1837 |
|
|
| 1838 |
|
if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) { |
| 1839 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version; |
| 1840 |
|
} |
| 1841 |
|
|
| 1842 |
|
return false; |
| 1843 |
|
} |
|
@@ 1861-1863 (lines=3) @@
|
| 1858 |
|
|
| 1859 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1860 |
|
|
| 1861 |
|
if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) { |
| 1862 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice; |
| 1863 |
|
} |
| 1864 |
|
|
| 1865 |
|
return ''; |
| 1866 |
|
} |