|
@@ 1763-1765 (lines=3) @@
|
| 1760 |
|
|
| 1761 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1762 |
|
|
| 1763 |
|
if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) { |
| 1764 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version; |
| 1765 |
|
} |
| 1766 |
|
|
| 1767 |
|
return false; |
| 1768 |
|
} |
|
@@ 1786-1788 (lines=3) @@
|
| 1783 |
|
|
| 1784 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1785 |
|
|
| 1786 |
|
if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) { |
| 1787 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice; |
| 1788 |
|
} |
| 1789 |
|
|
| 1790 |
|
return ''; |
| 1791 |
|
} |