Changeset 53059
- Timestamp:
- 04/04/2022 12:02:00 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r53057 r53059 3267 3267 return; 3268 3268 } 3269 3269 3270 $lock = get_post_meta( $changeset_post_id, '_edit_lock', true ); 3270 3271 $lock = explode( ':', $lock ); … … 3284 3285 * 3285 3286 * @since 4.9.0 3287 * 3288 * @global string $pagenow 3289 * 3286 3290 * @param array $settings Current settings to filter. 3287 3291 * @return array Heartbeat settings. … … 3289 3293 public function add_customize_screen_to_heartbeat_settings( $settings ) { 3290 3294 global $pagenow; 3295 3291 3296 if ( 'customize.php' === $pagenow ) { 3292 3297 $settings['screenId'] = 'customize'; 3293 3298 } 3299 3294 3300 return $settings; 3295 3301 } … … 3307 3313 return null; 3308 3314 } 3315 3309 3316 $lock_user = get_userdata( $user_id ); 3317 3310 3318 if ( ! $lock_user ) { 3311 3319 return null; 3312 3320 } 3321 3313 3322 return array( 3314 3323 'id' => $lock_user->ID,
Note: See TracChangeset
for help on using the changeset viewer.