Make WordPress Core


Ignore:
Timestamp:
11/30/2014 12:09:56 PM (12 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-setting.php

    r30609 r30656  
    128128                                 * not handled as theme_mods or options.
    129129                                 *
    130                                  * The dynamic portion of the hook name, $this->id, refers to the setting ID.
     130                                 * The dynamic portion of the hook name, `$this->id`, refers to the setting ID.
    131131                                 *
    132132                                 * @since 3.4.0
    133133                                 *
    134                                  * @param WP_Customize_Setting $this WP_Customize_Setting instance.
     134                                 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance.
    135135                                 */
    136136                                do_action( "customize_preview_{$this->id}", $this );
    … …  
    180180                 * Fires when the WP_Customize_Setting::save() method is called.
    181181                 *
    182                  * The dynamic portion of the hook name, $this->id_data['base'] refers to
     182                 * The dynamic portion of the hook name, `$this->id_data['base']` refers to
    183183                 * the base slug of the setting name.
    184184                 *
    185185                 * @since 3.4.0
    186186                 *
    187                  * @param WP_Customize_Setting $this WP_Customize_Setting instance.
     187                 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance.
    188188                 */
    189189                do_action( 'customize_save_' . $this->id_data[ 'base' ], $this );
    … …  
    255255
    256256                                /**
    257                                  * Fires when the WP_Customize_Setting::update() method is called for settings
     257                                 * Fires when the {@see WP_Customize_Setting::update()} method is called for settings
    258258                                 * not handled as theme_mods or options.
    259259                                 *
    260                                  * The dynamic portion of the hook name, $this->type, refers to the type of setting.
     260                                 * The dynamic portion of the hook name, `$this->type`, refers to the type of setting.
    261261                                 *
    262262                                 * @since 3.4.0
    … …  
    330330                                 * Filter a Customize setting value not handled as a theme_mod or option.
    331331                                 *
    332                                  * The dynamic portion of the hook name, $this->id_date['base'], refers to
     332                                 * The dynamic portion of the hook name, `$this->id_date['base']`, refers to
    333333                                 * the base slug of the setting name.
    334334                                 *
    … …  
    364364                 * Filter a Customize setting value for use in JavaScript.
    365365                 *
    366                  * The dynamic portion of the hook name, $this->id, refers to the setting ID.
     366                 * The dynamic portion of the hook name, `$this->id`, refers to the setting ID.
    367367                 *
    368368                 * @since 3.4.0
    369369                 *
    370370                 * @param mixed                $value The setting value.
    371                  * @param WP_Customize_Setting $this  WP_Customize_Setting instance.
     371                 * @param WP_Customize_Setting $this  {@see WP_Customize_Setting} instance.
    372372                 */
    373373                $value = apply_filters( "customize_sanitize_js_{$this->id}", $this->value(), $this );
Note: See TracChangeset for help on using the changeset viewer.