|
@@ 1809-1811 (lines=3) @@
|
| 1806 |
|
|
| 1807 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1808 |
|
|
| 1809 |
|
if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) { |
| 1810 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version; |
| 1811 |
|
} |
| 1812 |
|
|
| 1813 |
|
return false; |
| 1814 |
|
} |
|
@@ 1832-1834 (lines=3) @@
|
| 1829 |
|
|
| 1830 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1831 |
|
|
| 1832 |
|
if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) { |
| 1833 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice; |
| 1834 |
|
} |
| 1835 |
|
|
| 1836 |
|
return ''; |
| 1837 |
|
} |