Changeset 28083
- Timestamp:
- 04/12/2014 12:00:32 AM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r27677 r28083 54 54 * @since 2.7.0 55 55 * 56 * @param bool|object The result object. Default isfalse.56 * @param bool|object $result The result object. Default false. 57 57 * @param string $action The type of information being requested from the Plugin Install API. 58 58 * @param object $args Plugin API arguments. -
trunk/src/wp-admin/network/admin.php
r27725 r28083 23 23 * @since 3.2.0 24 24 * 25 * @param bool $redirect_ user_admin_request Whether the request should be redirected.25 * @param bool $redirect_network_admin_request Whether the request should be redirected. 26 26 */ 27 27 $redirect_network_admin_request = apply_filters( 'redirect_network_admin_request', $redirect_network_admin_request ); -
trunk/src/wp-admin/options-discussion.php
r27469 r28083 81 81 * @since 2.7.0. 82 82 * 83 * @param int $ 10The maximum depth of threaded comments. Default 10.83 * @param int $max_depth The maximum depth of threaded comments. Default 10. 84 84 */ 85 85 $maxdeep = (int) apply_filters( 'thread_comments_depth_max', 10 ); -
trunk/src/wp-admin/options-writing.php
r27469 r28083 38 38 } 39 39 40 /** 41 * Toggle site update services configuration functionality. 42 * 43 * @since 3.0.0 44 * 45 * @param bool True or false, based on whether update services configuration is enabled or not. 46 */ 40 /** This filter is documented in wp-admin/options-writing.php */ 47 41 if ( apply_filters( 'enable_update_services_configuration', true ) ) { 48 42 get_current_screen()->add_help_tab( array( … … 168 162 169 163 <?php 170 /** This filter is documented in wp-admin/options-writing.php */ 164 /** 165 * Filter whether to enable the Update Services section in the Writing settings screen. 166 * 167 * @since 3.0.0 168 * 169 * @param bool $enable Whether to enable the Update Services settings area. Default true. 170 */ 171 171 if ( apply_filters( 'enable_update_services_configuration', true ) ) { 172 172 ?> -
trunk/src/wp-admin/options.php
r26518 r28083 109 109 110 110 /** 111 * Toggle post-by-email functionality.111 * Filter whether the post-by-email functionality is enabled. 112 112 * 113 113 * @since 3.0.0 114 114 * 115 * @param bool True or false, based on whether post-by-email configuration is enabled or not.115 * @param bool $enabled Whether post-by-email configuration is enabled. Default true. 116 116 */ 117 117 if ( apply_filters( 'enable_post_by_email_configuration', true ) ) -
trunk/src/wp-admin/user/admin.php
r26344 r28083 19 19 $redirect_user_admin_request = ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ); 20 20 /** 21 * Filter whether a user should be redirected to the Global Dashboard in Multisite. 22 * 23 * Users not assigned to any sites in the network will be redirected to the Global 24 * Dashboard after logging in. 21 * Filter whether to redirect the request to the User Admin in Multisite. 25 22 * 26 23 * @since 3.2.0 -
trunk/src/wp-includes/class-wp-embed.php
r26915 r28083 210 210 * Filter whether to inspect the given URL for discoverable <link> tags. 211 211 * 212 * @since 2.9.0 213 * 212 214 * @see WP_oEmbed::discover() 213 215 * -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r28065 r28083 5776 5776 5777 5777 $remote_ip = preg_replace( '/[^0-9a-fA-F:., ]/', '', $_SERVER['REMOTE_ADDR'] ); 5778 5779 /** This filter is documented in wp-includes/class-http.php */ 5778 5780 $user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . $GLOBALS['wp_version'] . '; ' . get_bloginfo( 'url' ) ); 5779 5781 -
trunk/src/wp-includes/comment-template.php
r27943 r28083 519 519 } 520 520 $excerpt .= ($use_dotdotdot) ? '…' : ''; 521 return apply_filters('get_comment_excerpt', $excerpt); 521 522 /** 523 * Filter the retrieved comment excerpt. 524 * 525 * @since 1.5.0 526 * 527 * @param string $excerpt The comment excerpt text. 528 */ 529 return apply_filters( 'get_comment_excerpt', $excerpt ); 522 530 } 523 531 … … 642 650 * Filter the returned post comments permalink. 643 651 * 644 * @since 652 * @since 3.6.0 645 653 * 646 654 * @param string $comments_link Post comments permalink with '#comments' appended. … … 977 985 * Filter whether the current post is open for comments. 978 986 * 979 * @since 987 * @since 2.5.0 980 988 * 981 989 * @param bool $open Whether the current post is open for comments. … … 998 1006 999 1007 $open = ( 'open' == $_post->ping_status ); 1008 1009 /** 1010 * Filter whether the current post is open for pings. 1011 * 1012 * @since 2.5.0 1013 * 1014 * @param bool $open Whether the current post is open for pings. 1015 * @param int|WP_Post $post_id The post ID or WP_Post object. 1016 */ 1000 1017 return apply_filters( 'pings_open', $open, $post_id ); 1001 1018 } … … 2056 2073 'fields' => $fields, 2057 2074 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label> <textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>', 2075 /** This filter is documented in wp-includes/link-template.php */ 2058 2076 'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 2077 /** This filter is documented in wp-includes/link-template.php */ 2059 2078 'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 2060 2079 'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>', -
trunk/src/wp-includes/l10n.php
r25991 r28083 54 54 $locale = 'en_US'; 55 55 56 / / duplicate_hook56 /** This filter is documented in wp-includes/l10n.php */ 57 57 return apply_filters( 'locale', $locale ); 58 58 } … … 425 425 * @since 2.9.0 426 426 * 427 * @param bool eanWhether to override the text domain. Default false.428 * @param string $domain Text domain. Unique identifier for retrieving translated strings.429 * @param string $mofile Path to the MO file.427 * @param bool $override Whether to override the text domain. Default false. 428 * @param string $domain Text domain. Unique identifier for retrieving translated strings. 429 * @param string $mofile Path to the MO file. 430 430 */ 431 431 $plugin_override = apply_filters( 'override_load_textdomain', false, $domain, $mofile ); … … 480 480 481 481 /** 482 * Filter t exttext domain for loading translation.482 * Filter the text domain for loading translation. 483 483 * 484 484 * @since 3.0.0 485 485 * 486 * @param bool eanWhether to override unloading the text domain. Default false.487 * @param string $domain Text domain. Unique identifier for retrieving translated strings.486 * @param bool $override Whether to override unloading the text domain. Default false. 487 * @param string $domain Text domain. Unique identifier for retrieving translated strings. 488 488 */ 489 489 $plugin_override = apply_filters( 'override_unload_textdomain', false, $domain ); … … 592 592 */ 593 593 function load_muplugin_textdomain( $domain, $mu_plugin_rel_path = '' ) { 594 / / duplicate_hook594 /** This filter is documented in wp-includes/l10n.php */ 595 595 $locale = apply_filters( 'plugin_locale', get_locale(), $domain ); 596 596 $path = trailingslashit( WPMU_PLUGIN_DIR . '/' . ltrim( $mu_plugin_rel_path, '/' ) );
Note: See TracChangeset
for help on using the changeset viewer.