wp/wp-includes/blocks/loginout.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    36 
    36 
    37 	return '<div ' . $wrapper_attributes . '>' . $contents . '</div>';
    37 	return '<div ' . $wrapper_attributes . '>' . $contents . '</div>';
    38 }
    38 }
    39 
    39 
    40 /**
    40 /**
    41  * Registers the `core/latest-posts` block on server.
    41  * Registers the `core/loginout` block on server.
    42  */
    42  */
    43 function register_block_core_loginout() {
    43 function register_block_core_loginout() {
    44 	register_block_type_from_metadata(
    44 	register_block_type_from_metadata(
    45 		__DIR__ . '/loginout',
    45 		__DIR__ . '/loginout',
    46 		array(
    46 		array(