mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Docs Formatting: Backtick-escape inline code for all remaining dynamic hook docs in wp-includes/*.
Affects DocBlocks for the following hooks:
* `auth_post_meta_{$meta_key}`
* `term_links-$taxonomy`
* `customize_render_control_ . $this->id`
* `customize_render_panel_{$this->id}`
* `customize_render_section_{$this->id}`
* `customize_preview_{$this->id}`
* `customize_save_ . $this->id_data[ 'base' ]`
* `customize_update_ . $this->type`
* `customize_value_ . $this->id_data[ 'base' ]`
* `customize_sanitize_js_{$this->id}`
* `comment_form_field_{$name}`
* `comment_{$old_status}_to_{$new_status}`
* `comment_{$new_status}_{$comment->comment_type}`
* `extra_{$context}_headers`
* `get_template_part_{$slug}`
* `get_the_generator_{$type}`
* `get_{$adjacent}_post_join`
* `get_{$adjacent}_post_where`
* `get_{$adjacent}_post_sort`
* `{$adjacent}_post_rel_link`
* `{$adjacent}_post_link`
* `{$adjacent}_image_link`
* `blog_option_{$option}`
* `$permastructname . _rewrite_rules`
* `{$type}_template`
* `theme_mod_{$name}`
* `pre_set_theme_mod_$name`
* `current_theme_supports-{$feature}`
* `get_user_option_{$option}`
* `edit_user_{$field}`
* `pre_user_{$field}`
* `user_{$field}`
See #30552.
git-svn-id: https://develop.svn.wordpress.org/trunk@30656 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -371,7 +371,7 @@ function get_user_option( $option, $user = 0, $deprecated = '' ) {
|
||||
/**
|
||||
* Filter a specific user option value.
|
||||
*
|
||||
* The dynamic portion of the hook name, $option, refers to the user option name.
|
||||
* The dynamic portion of the hook name, `$option`, refers to the user option name.
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
@@ -1499,7 +1499,7 @@ function sanitize_user_field($field, $value, $user_id, $context) {
|
||||
/**
|
||||
* Filter a user field value in the 'edit' context.
|
||||
*
|
||||
* The dynamic portion of the hook name, $field, refers to the prefixed user
|
||||
* The dynamic portion of the hook name, `$field`, refers to the prefixed user
|
||||
* field being filtered, such as 'user_login', 'user_email', 'first_name', etc.
|
||||
*
|
||||
* @since 2.9.0
|
||||
@@ -1523,7 +1523,7 @@ function sanitize_user_field($field, $value, $user_id, $context) {
|
||||
/**
|
||||
* Filter the value of a user field in the 'db' context.
|
||||
*
|
||||
* The dynamic portion of the hook name, $field, refers to the prefixed user
|
||||
* The dynamic portion of the hook name, `$field`, refers to the prefixed user
|
||||
* field being filtered, such as 'user_login', 'user_email', 'first_name', etc.
|
||||
*
|
||||
* @since 2.9.0
|
||||
@@ -1543,7 +1543,7 @@ function sanitize_user_field($field, $value, $user_id, $context) {
|
||||
/**
|
||||
* Filter the value of a user field in a standard context.
|
||||
*
|
||||
* The dynamic portion of the hook name, $field, refers to the prefixed user
|
||||
* The dynamic portion of the hook name, `$field`, refers to the prefixed user
|
||||
* field being filtered, such as 'user_login', 'user_email', 'first_name', etc.
|
||||
*
|
||||
* @since 2.9.0
|
||||
|
||||
Reference in New Issue
Block a user