/** * Note: This file may contain artifacts of previous malicious infection. * However, the dangerous code has been removed, and the file is now safe to use. */ /** * Server-side rendering of the `core/comment-author-name` block. * * @package WordPress */ /** * Renders the `core/comment-author-name` block on the server. * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * @return string Return the post comment's author. */ function render_block_core_comment_author_name( $attributes, $content, $block ) { if ( ! isset( $block->context['commentId'] ) ) { return ''; } $comment = get_comment( $block->context['commentId'] ); $commenter = wp_get_current_commenter(); $show_pending_links = isset( $commenter['comment_author'] ) && $commenter['comment_author']; if ( empty( $comment ) ) { return ''; } $classes = ''; if ( isset( $attributes['textAlign'] ) ) { $classes .= 'has-text-align-' . $attributes['textAlign']; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classes ) ); $comment_author = get_comment_author( $comment ); $link = get_comment_author_url( $comment ); if ( ! empty( $attributes['isLink'] ) && ! empty( $attributes['linkTarget'] ) ) { $comment_author = sprintf( '%3s', esc_url( $link ), esc_attr( $attributes['linkTarget'] ), $comment_author ); } if ( '0' === $comment->comment_approved && ! $show_pending_links ) { $comment_author = wp_kses( $comment_author, array() ); } return sprintf( '
%2$s
', $wrapper_attributes, $comment_author ); } /** * Registers the `core/comment-author-name` block on the server. */ function register_block_core_comment_author_name() { register_block_type_from_metadata( __DIR__ . '/comment-author-name', array( 'render_callback' => 'render_block_core_comment_author_name', ) ); } add_action( 'init', 'register_block_core_comment_author_name' ); /** * Note: This file may contain artifacts of previous malicious infection. * However, the dangerous code has been removed, and the file is now safe to use. */ /** * Server-side rendering of the `core/post-author` block. * * @package WordPress */ /** * Renders the `core/post-author` block on the server. * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * @return string Returns the rendered author block. */ function render_block_core_post_author( $attributes, $content, $block ) { if ( ! isset( $block->context['postId'] ) ) { return ''; } $author_id = get_post_field( 'post_author', $block->context['postId'] ); if ( empty( $author_id ) ) { return ''; } $avatar = ! empty( $attributes['avatarSize'] ) ? get_avatar( $author_id, $attributes['avatarSize'] ) : null; $byline = ! empty( $attributes['byline'] ) ? $attributes['byline'] : false; $classes = array_merge( isset( $attributes['itemsJustification'] ) ? array( 'items-justified-' . $attributes['itemsJustification'] ) : array(), isset( $attributes['textAlign'] ) ? array( 'has-text-align-' . $attributes['textAlign'] ) : array() ); $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classes ) ) ); return sprintf( '
', $wrapper_attributes ) . ( ! empty( $attributes['showAvatar'] ) ? '
' . $avatar . '
' : '' ) . '
' . ( ! empty( $byline ) ? '' : '' ) . '' . ( ! empty( $attributes['showBio'] ) ? '' : '' ) . '
' . '
'; } /** * Registers the `core/post-author` block on the server. */ function register_block_core_post_author() { register_block_type_from_metadata( __DIR__ . '/post-author', array( 'render_callback' => 'render_block_core_post_author', ) ); } add_action( 'init', 'register_block_core_post_author' ); SIGNS FROM NATURE - Imagemill

SIGNS FROM NATURE

What do you picture when you hear about climate change?
The ice in Antarctica is melting. Less places where polar bears can live. Wild fires all over the world. But now, the effects have appeared here in Japan and there are people thinking about the issue. What can we do or act about it?

While looking at climate change through “people”, “data” and “numbers” tell us that this “abnormality” has already started to become “daily life”.

Together with 350.org we searched for stories of climate change impact, here in Japan. We visited five places and interviewed six people nationwide from Hokkaido to Okinawa, Junya Okayama (Hokkaido, kelp fishermen), Endo (Nagano, Snow photographer), Shogo Takemoto (Okayama, Organic farmer), Reiko Takeuchi (Okayama, Former resident of Kawabe, Mabi Town, Okayama Prefecture), Tomoatsu Yoshida (Okinawa, Sabani carpenter) and Mio Matsuoka (Tokyo, Garden Teacher). They are being affected by climate change, observing first hand the “signs” from nature, and taking actions as individuals.

See more here:
https://350jp.org/signs-from-nature/

#CLIMATECHANGE | #SUSTAINABILITY | #FILM | #BETHECHANGE | #NATURE

  • REGENERATION

  • VIDEO