|
@@ 1799-1801 (lines=3) @@
|
| 1796 |
|
|
| 1797 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1798 |
|
|
| 1799 |
|
if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) { |
| 1800 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version; |
| 1801 |
|
} |
| 1802 |
|
|
| 1803 |
|
return false; |
| 1804 |
|
} |
|
@@ 1822-1824 (lines=3) @@
|
| 1819 |
|
|
| 1820 |
|
$repo_updates = get_site_transient( 'update_plugins' ); |
| 1821 |
|
|
| 1822 |
|
if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) { |
| 1823 |
|
return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice; |
| 1824 |
|
} |
| 1825 |
|
|
| 1826 |
|
return ''; |
| 1827 |
|
} |