mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@49539 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -213,12 +213,12 @@ class WP_Block {
|
||||
}
|
||||
|
||||
if ( $is_dynamic ) {
|
||||
$global_post = $post;
|
||||
$parent = WP_Block_Supports::$block_to_render;
|
||||
$global_post = $post;
|
||||
$parent = WP_Block_Supports::$block_to_render;
|
||||
WP_Block_Supports::$block_to_render = $this->parsed_block;
|
||||
$block_content = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this );
|
||||
$block_content = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this );
|
||||
WP_Block_Supports::$block_to_render = $parent;
|
||||
$post = $global_post;
|
||||
$post = $global_post;
|
||||
}
|
||||
|
||||
if ( ! empty( $this->block_type->script ) ) {
|
||||
|
||||
Reference in New Issue
Block a user