Changeset 49061
- Timestamp:
- 09/27/2020 08:34:51 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r48909 r49061 63 63 * checkout somewhere. 64 64 * 65 * ABSPATH is always checked in addition to whatever $contextis (which may be the65 * ABSPATH is always checked in addition to whatever `$context` is (which may be the 66 66 * wp-content directory, for example). The underlying assumption is that if you are 67 67 * using version control *anywhere*, then you should be making decisions for … … 71 71 * 72 72 * @param string $context The filesystem path to check, in addition to ABSPATH. 73 * @return bool True if a VCS checkout was discovered at `$context` or ABSPATH, 74 * or anywhere higher. False otherwise. 73 75 */ 74 76 public function is_vcs_checkout( $context ) { … … 113 115 * @since 3.7.0 114 116 * 115 * @param bool $checkout Whether a VCS checkout was discovered at $context117 * @param bool $checkout Whether a VCS checkout was discovered at `$context` 116 118 * or ABSPATH, or anywhere higher. 117 119 * @param string $context The filesystem context (a path) against which … … 133 135 * @param string $context The filesystem context (a path) against which filesystem 134 136 * access and status should be checked. 137 * @return bool True if the item should be updated, false otherwise. 135 138 */ 136 139 public function should_update( $type, $item, $context ) { … … 243 246 * 244 247 * @param object $item The update offer. 248 * @return bool True if the site administrator is notified of a core update, 249 * false otherwise. 245 250 */ 246 251 protected function send_core_update_notification_email( $item ) {
Note: See TracChangeset
for help on using the changeset viewer.