Changeset 45413
- Timestamp:
- 05/25/2019 02:34:30 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-blocks.php
r44938 r45413 248 248 // Lock the post. 249 249 $active_post_lock = wp_set_post_lock( $post->ID ); 250 $lock_details = array( 250 if ( $active_post_lock ) { 251 $active_post_lock = esc_attr( implode( ':', $active_post_lock ) ); 252 } 253 254 $lock_details = array( 251 255 'isLocked' => false, 252 'activePostLock' => esc_attr( implode( ':', $active_post_lock ) ),256 'activePostLock' => $active_post_lock, 253 257 ); 254 258 }
Note: See TracChangeset
for help on using the changeset viewer.