Make WordPress Core


Ignore:
Timestamp:
11/09/2020 10:51:52 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings.

Standardize on "Go to..." as a more appropriate option for most cases.

Props garrett-eclipse, kharisblank, audrasjb, ramiy, valentinbora.
Fixes #47235.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block.php

    r49310 r49539  
    214214
    215215        if ( $is_dynamic ) {
    216             $global_post   = $post;
    217             $parent = WP_Block_Supports::$block_to_render;
     216            $global_post                        = $post;
     217            $parent                             = WP_Block_Supports::$block_to_render;
    218218            WP_Block_Supports::$block_to_render = $this->parsed_block;
    219             $block_content = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this );
     219            $block_content                      = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this );
    220220            WP_Block_Supports::$block_to_render = $parent;
    221             $post          = $global_post;
     221            $post                               = $global_post;
    222222        }
    223223
Note: See TracChangeset for help on using the changeset viewer.