mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +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:
@@ -1818,7 +1818,7 @@ function wp_transition_comment_status($new_status, $old_status, $comment) {
|
||||
/**
|
||||
* Fires when the comment status is in transition from one specific status to another.
|
||||
*
|
||||
* The dynamic portions of the hook name, $old_status, and $new_status,
|
||||
* The dynamic portions of the hook name, `$old_status`, and `$new_status`,
|
||||
* refer to the old and new comment statuses, respectively.
|
||||
*
|
||||
* @since 2.7.0
|
||||
@@ -1830,7 +1830,7 @@ function wp_transition_comment_status($new_status, $old_status, $comment) {
|
||||
/**
|
||||
* Fires when the status of a specific comment type is in transition.
|
||||
*
|
||||
* The dynamic portions of the hook name, $new_status, and $comment->comment_type,
|
||||
* The dynamic portions of the hook name, `$new_status`, and `$comment->comment_type`,
|
||||
* refer to the new comment status, and the type of comment, respectively.
|
||||
*
|
||||
* Typical comment types include an empty string (standard comment), 'pingback',
|
||||
|
||||
Reference in New Issue
Block a user