Make WordPress Core


Ignore:
Timestamp:
07/14/2014 01:01:22 AM (12 years ago)
Author:
DrewAPicture
Message:

Inline documentation cleanup for 4.0 audit.

Various improvements:

  • Adds @see reference for wp_list_comments() in 'wp_list_comments_args' filter docs, added in [28285]
  • Various phpDoc tweaks for the 'run_wptexturize' filter docs, added in [28715]
  • Sentence and wrapping changes for is_https_url(), added in [28894]
  • Documents the $args parameter for wp_dropdown_languages(), added in [29007]
  • Adds a period to the parameter description for _update_posts_count_on_delete(), added in [28835]
  • Documents a global in is_customize_preview(), added in [28999]
  • phpDoc tweaks, adds an access modifier for wpdb::esc_like(), added in [28711]

See #28885.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r29008 r29163  
    4141        if ( $reset || ! isset( $static_characters ) ) {
    4242                /**
    43                  * Filter whether to skip running `wptexturize()`.
     43                 * Filter whether to skip running wptexturize().
    4444                 *
    45                  * Passing false to the filter will effectively short-circuit `wptexturize()`.
     45                 * Passing false to the filter will effectively short-circuit wptexturize().
    4646                 * returning the original text passed to the function instead.
    4747                 *
    48                  * The filter runs only once, the first time `wptexturize()` is called.
     48                 * The filter runs only once, the first time wptexturize() is called.
    4949                 *
    5050                 * @since 4.0.0
    5151                 *
    52                  * @param bool $run_texturize Whether to short-circuit `wptexturize()`.
     52                 * @see wptexturize()
     53                 *
     54                 * @param bool $run_texturize Whether to short-circuit wptexturize().
    5355                 */
    5456                $run_texturize = apply_filters( 'run_wptexturize', $run_texturize );
Note: See TracChangeset for help on using the changeset viewer.