diff --git a/functions.php b/functions.php index 03880ba2..a15d0ebf 100644 --- a/functions.php +++ b/functions.php @@ -117,45 +117,3 @@ function twentytwentyfive_pattern_categories() { } endif; add_action( 'init', 'twentytwentyfive_pattern_categories' ); - -// Registers block binding sources. -if ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) : - /** - * Registers the copyright block binding source. - * - * @since Twenty Twenty-Five 1.0 - * - * @return void - */ - function twentytwentyfive_register_block_bindings() { - register_block_bindings_source( - 'twentytwentyfive/copyright', - array( - 'label' => _x( '© YEAR', 'Label for the copyright placeholder in the editor', 'twentytwentyfive' ), - 'get_value_callback' => 'twentytwentyfive_copyright_binding', - ) - ); - } -endif; - -// Registers block binding callback function for the copyright. -if ( ! function_exists( 'twentytwentyfive_copyright_binding' ) ) : - /** - * Callback function for the copyright block binding source. - * - * @since Twenty Twenty-Five 1.0 - * - * @return string Copyright text. - */ - function twentytwentyfive_copyright_binding() { - $copyright_text = sprintf( - /* translators: 1: Copyright symbol or word, 2: Year */ - esc_html__( '%1$s %2$s', 'twentytwentyfive' ), - '©', - wp_date( 'Y' ) - ); - - return $copyright_text; - } -endif; -add_action( 'init', 'twentytwentyfive_register_block_bindings' ); diff --git a/patterns/footer-columns.php b/patterns/footer-columns.php index 4e1169bb..029ae32f 100644 --- a/patterns/footer-columns.php +++ b/patterns/footer-columns.php @@ -62,8 +62,8 @@
diff --git a/patterns/footer-newsletter.php b/patterns/footer-newsletter.php index 25258a17..0b4c8910 100644 --- a/patterns/footer-newsletter.php +++ b/patterns/footer-newsletter.php @@ -38,8 +38,8 @@
diff --git a/patterns/footer.php b/patterns/footer.php index 7aa9bd2f..87273794 100644 --- a/patterns/footer.php +++ b/patterns/footer.php @@ -71,10 +71,9 @@