diff --git a/wp-includes/bookmark.php b/wp-includes/bookmark.php index 1e178f436f..5d1eecdc78 100644 --- a/wp-includes/bookmark.php +++ b/wp-includes/bookmark.php @@ -378,7 +378,7 @@ function sanitize_bookmark_field($field, $value, $bookmark_id, $context) { return $value; if ( 'edit' == $context ) { - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ $value = apply_filters( "edit_$field", $value, $bookmark_id ); if ( 'link_notes' == $field ) { @@ -387,10 +387,10 @@ function sanitize_bookmark_field($field, $value, $bookmark_id, $context) { $value = esc_attr($value); } } elseif ( 'db' == $context ) { - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ $value = apply_filters( "pre_$field", $value ); } else { - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ $value = apply_filters( $field, $value, $bookmark_id, $context ); if ( 'attribute' == $context ) { diff --git a/wp-includes/class-snoopy.php b/wp-includes/class-snoopy.php index 2c59c48112..f9db055db4 100644 --- a/wp-includes/class-snoopy.php +++ b/wp-includes/class-snoopy.php @@ -1,7 +1,7 @@ comment_approved, $comment); @@ -1452,7 +1452,7 @@ function wp_filter_comment($commentdata) { */ $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_ID'] ); } elseif ( isset( $commentdata['user_id'] ) ) { - /** This filter is documented in wp-includes/comment.php */ + /** This filter is documented in wp-includes/comment-functions.php */ $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_id'] ); } @@ -1464,7 +1464,7 @@ function wp_filter_comment($commentdata) { * @param int $comment_agent The comment author's browser user agent. */ $commentdata['comment_agent'] = apply_filters( 'pre_comment_user_agent', ( isset( $commentdata['comment_agent'] ) ? $commentdata['comment_agent'] : '' ) ); - /** This filter is documented in wp-includes/comment.php */ + /** This filter is documented in wp-includes/comment-functions.php */ $commentdata['comment_author'] = apply_filters( 'pre_comment_author_name', $commentdata['comment_author'] ); /** * Filter the comment content before it is set. @@ -1482,9 +1482,9 @@ function wp_filter_comment($commentdata) { * @param int $comment_author_ip The comment author's IP. */ $commentdata['comment_author_IP'] = apply_filters( 'pre_comment_user_ip', $commentdata['comment_author_IP'] ); - /** This filter is documented in wp-includes/comment.php */ + /** This filter is documented in wp-includes/comment-functions.php */ $commentdata['comment_author_url'] = apply_filters( 'pre_comment_author_url', $commentdata['comment_author_url'] ); - /** This filter is documented in wp-includes/comment.php */ + /** This filter is documented in wp-includes/comment-functions.php */ $commentdata['comment_author_email'] = apply_filters( 'pre_comment_author_email', $commentdata['comment_author_email'] ); $commentdata['filtered'] = true; return $commentdata; @@ -1899,7 +1899,7 @@ function wp_update_comment_count_now($post_id) { * @param int $old The old comment count. */ do_action( 'wp_update_comment_count', $post_id, $new, $old ); - /** This action is documented in wp-includes/post.php */ + /** This action is documented in wp-includes/post-functions.php */ do_action( 'edit_post', $post_id, $post ); return true; @@ -2381,7 +2381,7 @@ function _close_comments_for_old_post( $open, $post_id ) { $post = get_post($post_id); - /** This filter is documented in wp-includes/comment.php */ + /** This filter is documented in wp-includes/comment-functions.php */ $post_types = apply_filters( 'close_comments_for_post_types', array( 'post' ) ); if ( ! in_array( $post->post_type, $post_types ) ) return $open; diff --git a/wp-includes/cron.php b/wp-includes/cron.php index 97460d8fbd..8eb8de1c0f 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -316,7 +316,7 @@ function spawn_cron( $gmt_time = 0 ) { 'args' => array( 'timeout' => 0.01, 'blocking' => false, - /** This filter is documented in wp-includes/class-http.php */ + /** This filter is documented in wp-includes/class-wp-http-streams.php */ 'sslverify' => apply_filters( 'https_local_ssl_verify', false ) ) ) ); diff --git a/wp-includes/media.php b/wp-includes/media.php index c958f4353a..7a58329c82 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -706,7 +706,7 @@ function wp_get_attachment_image_src( $attachment_id, $size = 'thumbnail', $icon $src = false; if ( $icon && $src = wp_mime_type_icon( $attachment_id ) ) { - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ $icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' ); $src_file = $icon_dir . '/' . wp_basename( $src ); diff --git a/wp-includes/meta-functions.php b/wp-includes/meta-functions.php index 19bb3e733f..1396908357 100644 --- a/wp-includes/meta-functions.php +++ b/wp-includes/meta-functions.php @@ -533,7 +533,7 @@ function metadata_exists( $meta_type, $object_id, $meta_key ) { return false; } - /** This filter is documented in wp-includes/meta.php */ + /** This filter is documented in wp-includes/meta-functions.php */ $check = apply_filters( "get_{$meta_type}_metadata", null, $object_id, $meta_key, true ); if ( null !== $check ) return (bool) $check; @@ -654,11 +654,11 @@ function update_metadata_by_mid( $meta_type, $meta_id, $meta_value, $meta_key = $where = array(); $where[$id_column] = $meta_id; - /** This action is documented in wp-includes/meta.php */ + /** This action is documented in wp-includes/meta-functions.php */ do_action( "update_{$meta_type}_meta", $meta_id, $object_id, $meta_key, $_meta_value ); if ( 'post' == $meta_type ) { - /** This action is documented in wp-includes/meta.php */ + /** This action is documented in wp-includes/meta-functions.php */ do_action( 'update_postmeta', $meta_id, $object_id, $meta_key, $meta_value ); } @@ -670,11 +670,11 @@ function update_metadata_by_mid( $meta_type, $meta_id, $meta_value, $meta_key = // Clear the caches. wp_cache_delete($object_id, $meta_type . '_meta'); - /** This action is documented in wp-includes/meta.php */ + /** This action is documented in wp-includes/meta-functions.php */ do_action( "updated_{$meta_type}_meta", $meta_id, $object_id, $meta_key, $_meta_value ); if ( 'post' == $meta_type ) { - /** This action is documented in wp-includes/meta.php */ + /** This action is documented in wp-includes/meta-functions.php */ do_action( 'updated_postmeta', $meta_id, $object_id, $meta_key, $meta_value ); } @@ -722,7 +722,7 @@ function delete_metadata_by_mid( $meta_type, $meta_id ) { if ( $meta = get_metadata_by_mid( $meta_type, $meta_id ) ) { $object_id = $meta->{$column}; - /** This action is documented in wp-includes/meta.php */ + /** This action is documented in wp-includes/meta-functions.php */ do_action( "delete_{$meta_type}_meta", (array) $meta_id, $object_id, $meta->meta_key, $meta->meta_value ); // Old-style action. @@ -746,7 +746,7 @@ function delete_metadata_by_mid( $meta_type, $meta_id ) { // Clear the caches. wp_cache_delete($object_id, $meta_type . '_meta'); - /** This action is documented in wp-includes/meta.php */ + /** This action is documented in wp-includes/meta-functions.php */ do_action( "deleted_{$meta_type}_meta", (array) $meta_id, $object_id, $meta->meta_key, $meta->meta_value ); // Old-style action. diff --git a/wp-includes/post-functions.php b/wp-includes/post-functions.php index 1b6af735e5..7f9a5460f3 100644 --- a/wp-includes/post-functions.php +++ b/wp-includes/post-functions.php @@ -2077,7 +2077,7 @@ function wp_count_posts( $type = 'post', $perm = '' ) { $counts = wp_cache_get( $cache_key, 'counts' ); if ( false !== $counts ) { - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ return apply_filters( 'wp_count_posts', $counts, $type, $perm ); } @@ -3391,16 +3391,16 @@ function wp_publish_post( $post ) { $post->post_status = 'publish'; wp_transition_post_status( 'publish', $old_status, $post ); - /** This action is documented in wp-includes/post.php */ + /** This action is documented in wp-includes/post-functions.php */ do_action( 'edit_post', $post->ID, $post ); - /** This action is documented in wp-includes/post.php */ + /** This action is documented in wp-includes/post-functions.php */ do_action( "save_post_{$post->post_type}", $post->ID, $post, true ); - /** This action is documented in wp-includes/post.php */ + /** This action is documented in wp-includes/post-functions.php */ do_action( 'save_post', $post->ID, $post, true ); - /** This action is documented in wp-includes/post.php */ + /** This action is documented in wp-includes/post-functions.php */ do_action( 'wp_insert_post', $post->ID, $post, true ); } @@ -4297,7 +4297,7 @@ function get_pages( $args = array() ) { if ( $cache = wp_cache_get( $cache_key, 'posts' ) ) { // Convert to WP_Post instances. $pages = array_map( 'get_post', $cache ); - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ $pages = apply_filters( 'get_pages', $pages, $r ); return $pages; } @@ -4439,7 +4439,7 @@ function get_pages( $args = array() ) { $pages = $wpdb->get_results($query); if ( empty($pages) ) { - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ $pages = apply_filters( 'get_pages', array(), $r ); return $pages; } @@ -4624,13 +4624,13 @@ function wp_delete_attachment( $post_id, $force_delete = false ) { foreach ( $post_meta_ids as $mid ) delete_metadata_by_mid( 'post', $mid ); - /** This action is documented in wp-includes/post.php */ + /** This action is documented in wp-includes/post-functions.php */ do_action( 'delete_post', $post_id ); $result = $wpdb->delete( $wpdb->posts, array( 'ID' => $post_id ) ); if ( ! $result ) { return false; } - /** This action is documented in wp-includes/post.php */ + /** This action is documented in wp-includes/post-functions.php */ do_action( 'deleted_post', $post_id ); $uploadpath = wp_upload_dir(); diff --git a/wp-includes/taxonomy-functions.php b/wp-includes/taxonomy-functions.php index 8188a2ef7e..4f6bbf98b8 100644 --- a/wp-includes/taxonomy-functions.php +++ b/wp-includes/taxonomy-functions.php @@ -814,10 +814,10 @@ function get_term_by($field, $value, $taxonomy, $output = OBJECT, $filter = 'raw wp_cache_add( $term->term_id, $term, $taxonomy ); - /** This filter is documented in wp-includes/taxonomy.php */ + /** This filter is documented in wp-includes/taxonomy-functions.php */ $term = apply_filters( 'get_term', $term, $taxonomy ); - /** This filter is documented in wp-includes/taxonomy.php */ + /** This filter is documented in wp-includes/taxonomy-functions.php */ $term = apply_filters( "get_$taxonomy", $term, $taxonomy ); $term = sanitize_term($term, $taxonomy, $filter); @@ -1366,7 +1366,7 @@ function get_terms( $taxonomies, $args = '' ) { if ( empty($terms) ) { wp_cache_add( $cache_key, array(), 'terms', DAY_IN_SECONDS ); - /** This filter is documented in wp-includes/taxonomy.php */ + /** This filter is documented in wp-includes/taxonomy-functions.php */ return apply_filters( 'get_terms', array(), $taxonomies, $args ); } @@ -2336,11 +2336,11 @@ function wp_insert_term( $term, $taxonomy, $args = array() ) { if ( empty($slug) ) { $slug = sanitize_title($slug, $term_id); - /** This action is documented in wp-includes/taxonomy.php */ + /** This action is documented in wp-includes/taxonomy-functions.php */ do_action( 'edit_terms', $term_id, $taxonomy ); $wpdb->update( $wpdb->terms, compact( 'slug' ), compact( 'term_id' ) ); - /** This action is documented in wp-includes/taxonomy.php */ + /** This action is documented in wp-includes/taxonomy-functions.php */ do_action( 'edited_terms', $term_id, $taxonomy ); } @@ -2976,7 +2976,7 @@ function wp_update_term( $term_id, $taxonomy, $args = array() ) { */ do_action( "edit_$taxonomy", $term_id, $tt_id ); - /** This filter is documented in wp-includes/taxonomy.php */ + /** This filter is documented in wp-includes/taxonomy-functions.php */ $term_id = apply_filters( 'term_id_filter', $term_id, $tt_id ); clean_term_cache($term_id, $taxonomy); @@ -3528,11 +3528,11 @@ function _update_post_term_count( $terms, $taxonomy ) { if ( $object_types ) $count += (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->term_relationships, $wpdb->posts WHERE $wpdb->posts.ID = $wpdb->term_relationships.object_id AND post_status = 'publish' AND post_type IN ('" . implode("', '", $object_types ) . "') AND term_taxonomy_id = %d", $term ) ); - /** This action is documented in wp-includes/taxonomy.php */ + /** This action is documented in wp-includes/taxonomy-functions.php */ do_action( 'edit_term_taxonomy', $term, $taxonomy->name ); $wpdb->update( $wpdb->term_taxonomy, compact( 'count' ), array( 'term_taxonomy_id' => $term ) ); - /** This action is documented in wp-includes/taxonomy.php */ + /** This action is documented in wp-includes/taxonomy-functions.php */ do_action( 'edited_term_taxonomy', $term, $taxonomy->name ); } } @@ -3555,11 +3555,11 @@ function _update_generic_term_count( $terms, $taxonomy ) { foreach ( (array) $terms as $term ) { $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->term_relationships WHERE term_taxonomy_id = %d", $term ) ); - /** This action is documented in wp-includes/taxonomy.php */ + /** This action is documented in wp-includes/taxonomy-functions.php */ do_action( 'edit_term_taxonomy', $term, $taxonomy->name ); $wpdb->update( $wpdb->term_taxonomy, compact( 'count' ), array( 'term_taxonomy_id' => $term ) ); - /** This action is documented in wp-includes/taxonomy.php */ + /** This action is documented in wp-includes/taxonomy-functions.php */ do_action( 'edited_term_taxonomy', $term, $taxonomy->name ); } } @@ -4230,7 +4230,7 @@ function get_ancestors( $object_id = 0, $object_type = '', $resource_type = '' ) if ( empty( $object_id ) ) { - /** This filter is documented in wp-includes/taxonomy.php */ + /** This filter is documented in wp-includes/taxonomy-functions.php */ return apply_filters( 'get_ancestors', $ancestors, $object_id, $object_type, $resource_type ); } diff --git a/wp-includes/user-functions.php b/wp-includes/user-functions.php index 8f0405dac9..762e54e6d9 100644 --- a/wp-includes/user-functions.php +++ b/wp-includes/user-functions.php @@ -997,7 +997,7 @@ function sanitize_user_field($field, $value, $user_id, $context) { if ( 'edit' == $context ) { if ( $prefixed ) { - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ $value = apply_filters( "edit_{$field}", $value, $user_id ); } else { @@ -1021,7 +1021,7 @@ function sanitize_user_field($field, $value, $user_id, $context) { $value = esc_attr($value); } elseif ( 'db' == $context ) { if ( $prefixed ) { - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ $value = apply_filters( "pre_{$field}", $value ); } else { @@ -1041,7 +1041,7 @@ function sanitize_user_field($field, $value, $user_id, $context) { // Use display filters by default. if ( $prefixed ) { - /** This filter is documented in wp-includes/post.php */ + /** This filter is documented in wp-includes/post-functions.php */ $value = apply_filters( $field, $value, $user_id, $context ); } else { diff --git a/wp-includes/version.php b/wp-includes/version.php index 885e668e5d..3d6357bf15 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33952'; +$wp_version = '4.4-alpha-33954'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widget-functions.php b/wp-includes/widget-functions.php index 729b73b5c6..37180333b1 100644 --- a/wp-includes/widget-functions.php +++ b/wp-includes/widget-functions.php @@ -518,11 +518,11 @@ function dynamic_sidebar($index = 1) { $sidebars_widgets = wp_get_sidebars_widgets(); if ( empty( $wp_registered_sidebars[ $index ] ) || empty( $sidebars_widgets[ $index ] ) || ! is_array( $sidebars_widgets[ $index ] ) ) { - /** This action is documented in wp-includes/widgets.php */ + /** This action is documented in wp-includes/widget-functions.php */ do_action( 'dynamic_sidebar_before', $index, false ); - /** This action is documented in wp-includes/widgets.php */ + /** This action is documented in wp-includes/widget-functions.php */ do_action( 'dynamic_sidebar_after', $index, false ); - /** This filter is documented in wp-includes/widgets.php */ + /** This filter is documented in wp-includes/widget-functions.php */ return apply_filters( 'dynamic_sidebar_has_widgets', false, $index ); } @@ -909,7 +909,7 @@ function wp_convert_widget_settings($base_name, $option_name, $settings) { * * @global WP_Widget_Factory $wp_widget_factory * - * @param string $widget The widget's PHP class name (see default-widgets.php). + * @param string $widget The widget's PHP class name (see class-wp-widget.php). * @param array $instance Optional. The widget's instance settings. Default empty array. * @param array $args { * Optional. Array of arguments to configure the display of the widget. diff --git a/wp-includes/widgets/class-wp-nav-menu-widget.php b/wp-includes/widgets/class-wp-nav-menu-widget.php index ecca53e74c..6d908d1d80 100644 --- a/wp-includes/widgets/class-wp-nav-menu-widget.php +++ b/wp-includes/widgets/class-wp-nav-menu-widget.php @@ -24,7 +24,7 @@ if ( !$nav_menu ) return; - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $instance['title'] = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); echo $args['before_widget']; diff --git a/wp-includes/widgets/class-wp-widget-archives.php b/wp-includes/widgets/class-wp-widget-archives.php index 944fa0513a..27b9c12c1c 100644 --- a/wp-includes/widgets/class-wp-widget-archives.php +++ b/wp-includes/widgets/class-wp-widget-archives.php @@ -21,7 +21,7 @@ class WP_Widget_Archives extends WP_Widget { $c = ! empty( $instance['count'] ) ? '1' : '0'; $d = ! empty( $instance['dropdown'] ) ? '1' : '0'; - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Archives' ) : $instance['title'], $instance, $this->id_base ); echo $args['before_widget']; diff --git a/wp-includes/widgets/class-wp-widget-calendar.php b/wp-includes/widgets/class-wp-widget-calendar.php index 3d89f91e8b..8fd7aebed0 100644 --- a/wp-includes/widgets/class-wp-widget-calendar.php +++ b/wp-includes/widgets/class-wp-widget-calendar.php @@ -18,7 +18,7 @@ class WP_Widget_Calendar extends WP_Widget { * @param array $instance */ public function widget( $args, $instance ) { - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); echo $args['before_widget']; diff --git a/wp-includes/widgets/class-wp-widget-categories.php b/wp-includes/widgets/class-wp-widget-categories.php index 0d0e7ebd3c..313041a332 100644 --- a/wp-includes/widgets/class-wp-widget-categories.php +++ b/wp-includes/widgets/class-wp-widget-categories.php @@ -22,7 +22,7 @@ class WP_Widget_Categories extends WP_Widget { public function widget( $args, $instance ) { static $first_dropdown = true; - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Categories' ) : $instance['title'], $instance, $this->id_base ); $c = ! empty( $instance['count'] ) ? '1' : '0'; diff --git a/wp-includes/widgets/class-wp-widget-meta.php b/wp-includes/widgets/class-wp-widget-meta.php index 0c8f36d094..70c30420ff 100644 --- a/wp-includes/widgets/class-wp-widget-meta.php +++ b/wp-includes/widgets/class-wp-widget-meta.php @@ -20,7 +20,7 @@ class WP_Widget_Meta extends WP_Widget { * @param array $instance */ public function widget( $args, $instance ) { - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', empty($instance['title']) ? __( 'Meta' ) : $instance['title'], $instance, $this->id_base ); echo $args['before_widget']; diff --git a/wp-includes/widgets/class-wp-widget-recent-comments.php b/wp-includes/widgets/class-wp-widget-recent-comments.php index b24b44e2e5..0760516efa 100644 --- a/wp-includes/widgets/class-wp-widget-recent-comments.php +++ b/wp-includes/widgets/class-wp-widget-recent-comments.php @@ -73,7 +73,7 @@ class WP_Widget_Recent_Comments extends WP_Widget { $title = ( ! empty( $instance['title'] ) ) ? $instance['title'] : __( 'Recent Comments' ); - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); $number = ( ! empty( $instance['number'] ) ) ? absint( $instance['number'] ) : 5; diff --git a/wp-includes/widgets/class-wp-widget-recent-posts.php b/wp-includes/widgets/class-wp-widget-recent-posts.php index f315b5013a..cfd9be7fa7 100644 --- a/wp-includes/widgets/class-wp-widget-recent-posts.php +++ b/wp-includes/widgets/class-wp-widget-recent-posts.php @@ -45,7 +45,7 @@ class WP_Widget_Recent_Posts extends WP_Widget { $title = ( ! empty( $instance['title'] ) ) ? $instance['title'] : __( 'Recent Posts' ); - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); $number = ( ! empty( $instance['number'] ) ) ? absint( $instance['number'] ) : 5; diff --git a/wp-includes/widgets/class-wp-widget-rss.php b/wp-includes/widgets/class-wp-widget-rss.php index 6a8e202c86..57442d678c 100644 --- a/wp-includes/widgets/class-wp-widget-rss.php +++ b/wp-includes/widgets/class-wp-widget-rss.php @@ -50,7 +50,7 @@ class WP_Widget_RSS extends WP_Widget { if ( empty($title) ) $title = empty($desc) ? __('Unknown Feed') : $desc; - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); $url = strip_tags( $url ); diff --git a/wp-includes/widgets/class-wp-widget-search.php b/wp-includes/widgets/class-wp-widget-search.php index 6fdf2b53e2..b417807d22 100644 --- a/wp-includes/widgets/class-wp-widget-search.php +++ b/wp-includes/widgets/class-wp-widget-search.php @@ -18,7 +18,7 @@ class WP_Widget_Search extends WP_Widget { * @param array $instance */ public function widget( $args, $instance ) { - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); echo $args['before_widget']; diff --git a/wp-includes/widgets/class-wp-widget-tag-cloud.php b/wp-includes/widgets/class-wp-widget-tag-cloud.php index 042d567134..6390ace0f5 100644 --- a/wp-includes/widgets/class-wp-widget-tag-cloud.php +++ b/wp-includes/widgets/class-wp-widget-tag-cloud.php @@ -30,7 +30,7 @@ class WP_Widget_Tag_Cloud extends WP_Widget { } } - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); echo $args['before_widget']; diff --git a/wp-includes/widgets/class-wp-widget-text.php b/wp-includes/widgets/class-wp-widget-text.php index a6d9fcf33b..2f36fea6e6 100644 --- a/wp-includes/widgets/class-wp-widget-text.php +++ b/wp-includes/widgets/class-wp-widget-text.php @@ -19,7 +19,7 @@ class WP_Widget_Text extends WP_Widget { * @param array $instance */ public function widget( $args, $instance ) { - /** This filter is documented in wp-includes/default-widgets.php */ + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); /**