@@ 1951-1953 (lines=3) @@ | ||
1948 | ||
1949 | $repo_updates = get_site_transient( 'update_plugins' ); |
|
1950 | ||
1951 | if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) { |
|
1952 | return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version; |
|
1953 | } |
|
1954 | ||
1955 | return false; |
|
1956 | } |
|
@@ 1974-1976 (lines=3) @@ | ||
1971 | ||
1972 | $repo_updates = get_site_transient( 'update_plugins' ); |
|
1973 | ||
1974 | if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) { |
|
1975 | return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice; |
|
1976 | } |
|
1977 | ||
1978 | return ''; |
|
1979 | } |