From 87ae28c40ba3d384de787e2dcb5b741eae7477a6 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 1 May 2016 17:31:15 +0000 Subject: [PATCH] Docs: Add backtick escaping for two inline code samples in docs. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@37338 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-theme.php | 2 +- src/wp-includes/script-loader.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php index dee2fe7c4b..ad3b1ec242 100644 --- a/src/wp-includes/class-wp-theme.php +++ b/src/wp-includes/class-wp-theme.php @@ -437,7 +437,7 @@ final class WP_Theme implements ArrayAccess { * translated data. We are doing so now as it is safe to do. However, as * Name and Title could have been used as the key for get_themes(), both remain * untranslated for back compatibility. This means that ['Name'] is not ideal, - * and care should be taken to use $theme->display('Name') to get a properly + * and care should be taken to use `$theme::display( 'Name' )` to get a properly * translated header. * * @param mixed $offset diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 19d16f3cd9..fe9ab0a64f 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -35,7 +35,7 @@ require( ABSPATH . WPINC . '/functions.wp-styles.php' ); * Register all WordPress scripts. * * Localizes some of them. - * args order: $scripts->add( 'handle', 'url', 'dependencies', 'query-string', 1 ); + * args order: `$scripts->add( 'handle', 'url', 'dependencies', 'query-string', 1 );` * when last arg === 1 queues the script for the footer * * @since 2.6.0