Skip to content

Commit e85d37f

Browse files
committed
Add backticks to all function calls in the docblocks
1 parent 5b58aba commit e85d37f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

WordPress/Sniffs/WP/OptionAutoloadSniff.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
use WordPressCS\WordPress\AbstractFunctionParameterSniff;
1818

1919
/**
20-
* Warns when calls to add_option(), update_option(), wp_set_options_autoload(),
21-
* wp_set_option_autoload(), wp_set_option_autoload_values() are missing the `$autoload` param or
20+
* Warns when calls to `add_option()`, `update_option()`, `wp_set_options_autoload()`,
21+
* `wp_set_option_autoload()`, `wp_set_option_autoload_values()` are missing the `$autoload` param or
2222
* contain an invalid, internal or deprecated value.
2323
*
2424
* @link https://github.com/WordPress/WordPress-Coding-Standards/issues/2473
@@ -38,7 +38,7 @@ final class OptionAutoloadSniff extends AbstractFunctionParameterSniff {
3838
const METRIC_NAME = 'Value of the `$autoload` parameter in the option functions';
3939

4040
/**
41-
* Valid values for the `$autoload` parameter in the add_option() and update_option() functions.
41+
* Valid values for the `$autoload` parameter in the `add_option()` and `update_option()` functions.
4242
*
4343
* @since 3.2.0
4444
*
@@ -51,8 +51,8 @@ final class OptionAutoloadSniff extends AbstractFunctionParameterSniff {
5151
);
5252

5353
/**
54-
* Valid values for the `$autoload` parameter in the wp_set_options_autoload(),
55-
* wp_set_option_autoload(), and wp_set_option_autoload_values() functions.
54+
* Valid values for the `$autoload` parameter in the `wp_set_options_autoload()`,
55+
* `wp_set_option_autoload()`, and `wp_set_option_autoload_values()` functions.
5656
*
5757
* @since 3.2.0
5858
*

0 commit comments

Comments
 (0)