Make WordPress Core


Ignore:
Timestamp:
11/30/2014 12:09:56 PM (11 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/link-template.php

    r30628 r30656  
    15251525     * Filter the JOIN clause in the SQL for an adjacent post query.
    15261526     *
    1527      * The dynamic portion of the hook name, $adjacent, refers to the type
     1527     * The dynamic portion of the hook name, `$adjacent`, refers to the type
    15281528     * of adjacency, 'next' or 'previous'.
    15291529     *
     
    15391539     * Filter the WHERE clause in the SQL for an adjacent post query.
    15401540     *
    1541      * The dynamic portion of the hook name, $adjacent, refers to the type
     1541     * The dynamic portion of the hook name, `$adjacent`, refers to the type
    15421542     * of adjacency, 'next' or 'previous'.
    15431543     *
    15441544     * @since 2.5.0
    15451545     *
    1546      * @param string $where          The WHERE clause in the SQL.
     1546     * @param string $where          The `WHERE` clause in the SQL.
    15471547     * @param bool   $in_same_term   Whether post should be in a same taxonomy term.
    15481548     * @param array  $excluded_terms Array of excluded term IDs.
     
    15531553     * Filter the ORDER BY clause in the SQL for an adjacent post query.
    15541554     *
    1555      * The dynamic portion of the hook name, $adjacent, refers to the type
     1555     * The dynamic portion of the hook name, `$adjacent`, refers to the type
    15561556     * of adjacency, 'next' or 'previous'.
    15571557     *
    15581558     * @since 2.5.0
    15591559     *
    1560      * @param string $order_by The ORDER BY clause in the SQL.
     1560     * @param string $order_by The `ORDER BY` clause in the SQL.
    15611561     */
    15621562    $sort  = apply_filters( "get_{$adjacent}_post_sort", "ORDER BY p.post_date $order LIMIT 1" );
     
    16251625     * Filter the adjacent post relational link.
    16261626     *
    1627      * The dynamic portion of the hook name, $adjacent, refers to the type
     1627     * The dynamic portion of the hook name, `$adjacent`, refers to the type
    16281628     * of adjacency, 'next' or 'previous'.
    16291629     *
     
    18621862     * Filter the adjacent post link.
    18631863     *
    1864      * The dynamic portion of the hook name, $adjacent, refers to the type
     1864     * The dynamic portion of the hook name, `$adjacent`, refers to the type
    18651865     * of adjacency, 'next' or 'previous'.
    18661866     *
Note: See TracChangeset for help on using the changeset viewer.