From e91bf3535c488f007e7f3804b4c397cbb392a8c8 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sat, 25 May 2019 22:53:51 +0000 Subject: [PATCH] Docs: Correct a function name in the `do_action()` documentation. See #37402 Built from https://develop.svn.wordpress.org/trunk@45421 git-svn-id: http://core.svn.wordpress.org/trunk@45232 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/plugin.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index 79af046ed0..16a88a21e1 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -432,7 +432,7 @@ function add_action( $tag, $function_to_add, $priority = 10, $accepted_args = 1 * * * * - 'example_action' is the action hook * * - $arg1 and $arg2 are the additional arguments passed to the callback. - * $value = apply_actions( 'example_action', $arg1, $arg2 ); + * $value = do_action( 'example_action', $arg1, $arg2 ); * * @since 1.2.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index 257fc5abfb..efb208d174 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45420'; +$wp_version = '5.3-alpha-45421'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.