<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[25868] trunk/src: Spell out duplicate hook locations.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/25868">25868</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2013-10-22 17:21:32 +0000 (Tue, 22 Oct 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Spell out duplicate hook locations.

props DrewAPicture.
fixes <a href="http://core.trac.wordpress.org/ticket/25658">#25658</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadminadminajaxphp">trunk/src/wp-admin/admin-ajax.php</a></li>
<li><a href="#trunksrcwpadminadminpostphp">trunk/src/wp-admin/admin-post.php</a></li>
<li><a href="#trunksrcwpadmincustombackgroundphp">trunk/src/wp-admin/custom-background.php</a></li>
<li><a href="#trunksrcwpadmincustomheaderphp">trunk/src/wp-admin/custom-header.php</a></li>
<li><a href="#trunksrcwpadmineditformadvancedphp">trunk/src/wp-admin/edit-form-advanced.php</a></li>
<li><a href="#trunksrcwpadmineditlinkformphp">trunk/src/wp-admin/edit-link-form.php</a></li>
<li><a href="#trunksrcwpadminincludesajaxactionsphp">trunk/src/wp-admin/includes/ajax-actions.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswppostslisttablephp">trunk/src/wp-admin/includes/class-wp-posts-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesdashboardphp">trunk/src/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunksrcwpadminincludesexportphp">trunk/src/wp-admin/includes/export.php</a></li>
<li><a href="#trunksrcwpadminincludesimageeditphp">trunk/src/wp-admin/includes/image-edit.php</a></li>
<li><a href="#trunksrcwpadminincludesmsphp">trunk/src/wp-admin/includes/ms.php</a></li>
<li><a href="#trunksrcwpadminincludesnavmenuphp">trunk/src/wp-admin/includes/nav-menu.php</a></li>
<li><a href="#trunksrcwpadminincludespostphp">trunk/src/wp-admin/includes/post.php</a></li>
<li><a href="#trunksrcwpadminincludesrevisionphp">trunk/src/wp-admin/includes/revision.php</a></li>
<li><a href="#trunksrcwpadminoptionswritingphp">trunk/src/wp-admin/options-writing.php</a></li>
<li><a href="#trunksrcwpadminusernewphp">trunk/src/wp-admin/user-new.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyelevencontentsinglephp">trunk/src/wp-content/themes/twentyeleven/content-single.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyelevenfunctionsphp">trunk/src/wp-content/themes/twentyeleven/functions.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyelevenincwidgetsphp">trunk/src/wp-content/themes/twentyeleven/inc/widgets.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytenloopsinglephp">trunk/src/wp-content/themes/twentyten/loop-single.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwelveauthorphp">trunk/src/wp-content/themes/twentytwelve/author.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwelvecontentphp">trunk/src/wp-content/themes/twentytwelve/content.php</a></li>
<li><a href="#trunksrcwpincludescanonicalphp">trunk/src/wp-includes/canonical.php</a></li>
<li><a href="#trunksrcwpincludesclasswpembedphp">trunk/src/wp-includes/class-wp-embed.php</a></li>
<li><a href="#trunksrcwpincludescommentphp">trunk/src/wp-includes/comment.php</a></li>
<li><a href="#trunksrcwpincludesfeedatomcommentsphp">trunk/src/wp-includes/feed-atom-comments.php</a></li>
<li><a href="#trunksrcwpincludesfeedrdfphp">trunk/src/wp-includes/feed-rdf.php</a></li>
<li><a href="#trunksrcwpincludesfeedrss2commentsphp">trunk/src/wp-includes/feed-rss2-comments.php</a></li>
<li><a href="#trunksrcwpincludesgeneraltemplatephp">trunk/src/wp-includes/general-template.php</a></li>
<li><a href="#trunksrcwpincludeslinktemplatephp">trunk/src/wp-includes/link-template.php</a></li>
<li><a href="#trunksrcwpincludesmediatemplatephp">trunk/src/wp-includes/media-template.php</a></li>
<li><a href="#trunksrcwpincludesmediaphp">trunk/src/wp-includes/media.php</a></li>
<li><a href="#trunksrcwpincludesnavmenutemplatephp">trunk/src/wp-includes/nav-menu-template.php</a></li>
<li><a href="#trunksrcwpincludesposttemplatephp">trunk/src/wp-includes/post-template.php</a></li>
<li><a href="#trunksrcwpincludespostphp">trunk/src/wp-includes/post.php</a></li>
<li><a href="#trunksrcwploginphp">trunk/src/wp-login.php</a></li>
<li><a href="#trunksrcwpmailphp">trunk/src/wp-mail.php</a></li>
<li><a href="#trunksrcwpsignupphp">trunk/src/wp-signup.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadminadminajaxphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/admin-ajax.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/admin-ajax.php        2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/admin-ajax.php   2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> send_nosniff_header();
</span><span class="cx"> nocache_headers();
</span><span class="cx"> 
</span><del>-//duplicate_hook
</del><ins>+/** This action is documented in wp-admin/admin.php */
</ins><span class="cx"> do_action( 'admin_init' );
</span><span class="cx"> 
</span><span class="cx"> $core_actions_get = array(
</span></span></pre></div>
<a id="trunksrcwpadminadminpostphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/admin-post.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/admin-post.php        2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/admin-post.php   2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> 
</span><span class="cx"> nocache_headers();
</span><span class="cx"> 
</span><del>-//duplicate_hook
</del><ins>+/** This action is documented in wp-admin/admin.php */
</ins><span class="cx"> do_action( 'admin_init' );
</span><span class="cx"> 
</span><span class="cx"> $action = 'admin_post';
</span></span></pre></div>
<a id="trunksrcwpadmincustombackgroundphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/custom-background.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/custom-background.php 2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/custom-background.php    2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -386,7 +386,7 @@
</span><span class="cx">          $thumbnail = wp_get_attachment_image_src( $id, 'thumbnail' );
</span><span class="cx">          set_theme_mod('background_image_thumb', esc_url_raw( $thumbnail[0] ) );
</span><span class="cx"> 
</span><del>-               //duplicate_hook
</del><ins>+                /** This action is documented in wp-admin/custom-header.php */
</ins><span class="cx">           do_action( 'wp_create_file_in_uploads', $file, $id ); // For replication
</span><span class="cx">          $this->updated = true;
</span><span class="cx">  }
</span><span class="lines">@@ -412,7 +412,7 @@
</span><span class="cx">  public function wp_set_background_image() {
</span><span class="cx">          if ( ! current_user_can('edit_theme_options') || ! isset( $_POST['attachment_id'] ) ) exit;
</span><span class="cx">          $attachment_id = absint($_POST['attachment_id']);
</span><del>-               //duplicate_hook
</del><ins>+                /** This filter is documented in wp-admin/includes/media.php */
</ins><span class="cx">           $sizes = array_keys(apply_filters( 'image_size_names_choose', array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full Size')) ));
</span><span class="cx">          $size = 'thumbnail';
</span><span class="cx">          if ( in_array( $_POST['size'], $sizes ) )
</span></span></pre></div>
<a id="trunksrcwpadmincustomheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/custom-header.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/custom-header.php     2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/custom-header.php        2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -712,7 +712,7 @@
</span><span class="cx">                  if ( ! $image || is_wp_error( $image ) )
</span><span class="cx">                          wp_die( __( 'Image could not be processed. Please go back and try again.' ), __( 'Image Processing Error' ) );
</span><span class="cx"> 
</span><del>-                       //duplicate_hook
</del><ins>+                        /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">                   $image = apply_filters( 'wp_create_file_in_uploads', $image, $attachment_id ); // For replication
</span><span class="cx"> 
</span><span class="cx">                  $url = str_replace(basename($url), basename($image), $url);
</span><span class="lines">@@ -854,7 +854,7 @@
</span><span class="cx">          if ( ! $cropped || is_wp_error( $cropped ) )
</span><span class="cx">                  wp_die( __( 'Image could not be processed. Please go back and try again.' ), __( 'Image Processing Error' ) );
</span><span class="cx"> 
</span><del>-               //duplicate_hook
</del><ins>+                /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">           $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication
</span><span class="cx"> 
</span><span class="cx">          $parent = get_post($attachment_id);
</span><span class="lines">@@ -887,12 +887,18 @@
</span><span class="cx">          // cleanup
</span><span class="cx">          $medium = str_replace( basename( $original ), 'midsize-' . basename( $original ), $original );
</span><span class="cx">          if ( file_exists( $medium ) ) {
</span><del>-                       //duplicate_hook
</del><ins>+                        /**
+                        * Filter the path of the file to delete.
+                        *
+                        * @since 2.1.0
+                        *
+                        * @param string $medium Path to the file to delete.
+                        */
</ins><span class="cx">                   @unlink( apply_filters( 'wp_delete_file', $medium ) );
</span><span class="cx">          }
</span><span class="cx"> 
</span><span class="cx">          if ( empty( $_POST['create-new-attachment'] ) && empty( $_POST['skip-cropping'] ) ) {
</span><del>-                       //duplicate_hook
</del><ins>+                        /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">                   @unlink( apply_filters( 'wp_delete_file', $original ) );
</span><span class="cx">          }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunksrcwpadmineditformadvancedphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/edit-form-advanced.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/edit-form-advanced.php        2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/edit-form-advanced.php   2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -239,9 +239,9 @@
</span><span class="cx">  * @param WP_Post $post      Post object.
</span><span class="cx">  */
</span><span class="cx"> do_action( 'do_meta_boxes', $post_type, 'normal', $post );
</span><del>-//duplicate_hook
</del><ins>+/** This action is documented in wp-admin/edit-form-advanced.php */
</ins><span class="cx"> do_action( 'do_meta_boxes', $post_type, 'advanced', $post );
</span><del>-//duplicate_hook
</del><ins>+/** This action is documented in wp-admin/edit-form-advanced.php */
</ins><span class="cx"> do_action( 'do_meta_boxes', $post_type, 'side', $post );
</span><span class="cx"> 
</span><span class="cx"> add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
</span></span></pre></div>
<a id="trunksrcwpadmineditlinkformphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/edit-link-form.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/edit-link-form.php    2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/edit-link-form.php       2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -33,8 +33,11 @@
</span><span class="cx"> do_action('add_meta_boxes', 'link', $link);
</span><span class="cx"> do_action('add_meta_boxes_link', $link);
</span><span class="cx"> 
</span><ins>+/** This action is documented in wp-admin/edit-form-advanced.php */
</ins><span class="cx"> do_action('do_meta_boxes', 'link', 'normal', $link);
</span><ins>+/** This action is documented in wp-admin/edit-form-advanced.php */
</ins><span class="cx"> do_action('do_meta_boxes', 'link', 'advanced', $link);
</span><ins>+/** This action is documented in wp-admin/edit-form-advanced.php */
</ins><span class="cx"> do_action('do_meta_boxes', 'link', 'side', $link);
</span><span class="cx"> 
</span><span class="cx"> add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
</span></span></pre></div>
<a id="trunksrcwpadminincludesajaxactionsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/includes/ajax-actions.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/includes/ajax-actions.php     2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/includes/ajax-actions.php        2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -190,7 +190,7 @@
</span><span class="cx">  if ( ! is_multisite() || ! current_user_can( 'promote_users' ) || wp_is_large_network( 'users' ) )
</span><span class="cx">          wp_die( -1 );
</span><span class="cx"> 
</span><del>-       //duplicate_hook
</del><ins>+        /** This filter is documented in wp-admin/user-new.php */
</ins><span class="cx">   if ( ! is_super_admin() && ! apply_filters( 'autocomplete_users_for_site_admins', false ) )
</span><span class="cx">          wp_die( -1 );
</span><span class="cx"> 
</span><span class="lines">@@ -2002,7 +2002,7 @@
</span><span class="cx">  if ( 'attachment' != $post['post_type'] )
</span><span class="cx">          wp_send_json_error();
</span><span class="cx"> 
</span><del>-       //duplicate_hook
</del><ins>+        /** This filter is documented in wp-admin/includes/media.php */
</ins><span class="cx">   $post = apply_filters( 'attachment_fields_to_save', $post, $attachment_data );
</span><span class="cx"> 
</span><span class="cx">  if ( isset( $post['errors'] ) ) {
</span><span class="lines">@@ -2105,7 +2105,7 @@
</span><span class="cx">          $html = stripslashes_deep( $_POST['html'] );
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       //duplicate_hook
</del><ins>+        /** This filter is documented in wp-admin/includes/media.php */
</ins><span class="cx">   $html = apply_filters( 'media_send_to_editor', $html, $id, $attachment );
</span><span class="cx"> 
</span><span class="cx">  wp_send_json_success( $html );
</span><span class="lines">@@ -2146,7 +2146,7 @@
</span><span class="cx">          && ( 'audio' == $ext_type || 'video' == $ext_type ) )
</span><span class="cx">                  $type = $ext_type;
</span><span class="cx"> 
</span><del>-       //duplicate_hook
</del><ins>+        /** This filter is documented in wp-admin/includes/media.php */
</ins><span class="cx">   $html = apply_filters( $type . '_send_to_editor_url', $html, $src, $title );
</span><span class="cx"> 
</span><span class="cx">  wp_send_json_success( $html );
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswppostslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/includes/class-wp-posts-list-table.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/includes/class-wp-posts-list-table.php        2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/includes/class-wp-posts-list-table.php   2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -540,8 +540,10 @@
</span><span class="cx">                                                  $level++;
</span><span class="cx">                                                  $find_main_page = (int) $parent->post_parent;
</span><span class="cx"> 
</span><del>-                                                       if ( !isset( $parent_name ) )
</del><ins>+                                                        if ( !isset( $parent_name ) ) {
+                                                               /** This filter is documented in wp-includes/post-template.php */
</ins><span class="cx">                                                           $parent_name = apply_filters( 'the_title', $parent->post_title, $parent->ID );
</span><ins>+                                                       }
</ins><span class="cx">                                           }
</span><span class="cx">                                  }
</span><span class="cx">                          }
</span></span></pre></div>
<a id="trunksrcwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/includes/dashboard.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/includes/dashboard.php        2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/includes/dashboard.php   2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -142,7 +142,9 @@
</span><span class="cx">  if ( $update )
</span><span class="cx">          update_option( 'dashboard_widget_options', $widget_options );
</span><span class="cx"> 
</span><ins>+       /** This action is documented in wp-admin/edit-form-advanced.php */
</ins><span class="cx">   do_action('do_meta_boxes', $screen->id, 'normal', '');
</span><ins>+       /** This action is documented in wp-admin/edit-form-advanced.php */
</ins><span class="cx">   do_action('do_meta_boxes', $screen->id, 'side', '');
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunksrcwpadminincludesexportphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/includes/export.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/includes/export.php   2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/includes/export.php      2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -367,6 +367,7 @@
</span><span class="cx">          $is_sticky = is_sticky( $post->ID ) ? 1 : 0;
</span><span class="cx"> ?>
</span><span class="cx">  <item>
</span><ins>+               <?php /** This filter is documented in wp-includes/feed.php */ ?>
</ins><span class="cx">           <title><?php echo apply_filters( 'the_title_rss', $post->post_title ); ?></title>
</span><span class="cx">          <link><?php the_permalink_rss() ?></link>
</span><span class="cx">          <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate>
</span></span></pre></div>
<a id="trunksrcwpadminincludesimageeditphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/includes/image-edit.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/includes/image-edit.php       2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/includes/image-edit.php  2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -499,6 +499,7 @@
</span><span class="cx">                  if ( defined('IMAGE_EDIT_OVERWRITE') && IMAGE_EDIT_OVERWRITE ) {
</span><span class="cx">                          // delete only if it's edited image
</span><span class="cx">                          if ( preg_match('/-e[0-9]{13}\./', $parts['basename']) ) {
</span><ins>+                                       /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">                                   $delpath = apply_filters('wp_delete_file', $file);
</span><span class="cx">                                  @unlink($delpath);
</span><span class="cx">                          }
</span><span class="lines">@@ -522,6 +523,7 @@
</span><span class="cx">                          if ( defined('IMAGE_EDIT_OVERWRITE') && IMAGE_EDIT_OVERWRITE ) {
</span><span class="cx">                                  // delete only if it's edited image
</span><span class="cx">                                  if ( preg_match('/-e[0-9]{13}-/', $meta['sizes'][$default_size]['file']) ) {
</span><ins>+                                               /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">                                           $delpath = apply_filters( 'wp_delete_file', path_join($parts['dirname'], $meta['sizes'][$default_size]['file']) );
</span><span class="cx">                                          @unlink($delpath);
</span><span class="cx">                                  }
</span><span class="lines">@@ -722,6 +724,7 @@
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="cx">  if ( $delete ) {
</span><ins>+               /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">           $delpath = apply_filters('wp_delete_file', $new_path);
</span><span class="cx">          @unlink( $delpath );
</span><span class="cx">  }
</span></span></pre></div>
<a id="trunksrcwpadminincludesmsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/includes/ms.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/includes/ms.php       2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/includes/ms.php  2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -677,13 +677,7 @@
</span><span class="cx">                  <th scope="row" colspan="2" class="th-full">
</span><span class="cx">                          <?php
</span><span class="cx">                          $signup_url = network_site_url( 'wp-signup.php' );
</span><del>-                               /**
-                                * Filter the site signup URL.
-                                *
-                                * @since MU
-                                *
-                                * @param string $signup_url The site signup URL.
-                                */
</del><ins>+                                /** This filter is documented in wp-login.php */
</ins><span class="cx">                           ?>
</span><span class="cx">                          <a href="<?php echo apply_filters( 'wp_signup_location', $signup_url ); ?>"><?php _e( 'Create a New Site' ); ?></a>
</span><span class="cx">                  </th>
</span></span></pre></div>
<a id="trunksrcwpadminincludesnavmenuphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/includes/nav-menu.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/includes/nav-menu.php 2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/includes/nav-menu.php    2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -308,7 +308,7 @@
</span><span class="cx">          if ( ! empty( $item->label ) ) {
</span><span class="cx">                  $title = $item->label;
</span><span class="cx">          } elseif ( isset( $item->post_type ) ) {
</span><del>-                       //duplicate_hook
</del><ins>+                        /** This filter is documented in wp-includes/post-template.php */
</ins><span class="cx">                   $title = apply_filters( 'the_title', $item->post_title, $item->ID );
</span><span class="cx">                  if ( ! empty( $item->front_or_home ) && _x( 'Home', 'nav menu home label' ) !== $title )
</span><span class="cx">                          $title = sprintf( _x( 'Home: %s', 'nav menu front page title' ), $title );
</span></span></pre></div>
<a id="trunksrcwpadminincludespostphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/includes/post.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/includes/post.php     2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/includes/post.php        2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -270,6 +270,7 @@
</span><span class="cx">          }
</span><span class="cx"> 
</span><span class="cx">          $attachment_data = isset( $post_data['attachments'][ $post_ID ] ) ? $post_data['attachments'][ $post_ID ] : array();
</span><ins>+               /** This filter is documented in wp-admin/includes/media.php */
</ins><span class="cx">           $post_data = apply_filters( 'attachment_fields_to_save', $post_data, $attachment_data );
</span><span class="cx">  }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunksrcwpadminincludesrevisionphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/includes/revision.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/includes/revision.php 2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/includes/revision.php    2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx">           */
</span><span class="cx">          $content_from = $compare_from ? apply_filters( "_wp_post_revision_field_$field", $compare_from->$field, $field, $compare_from, 'from' ) : '';
</span><span class="cx"> 
</span><del>-               //duplicate_hook
</del><ins>+                /** This filter is documented in wp-admin/includes/revision.php */
</ins><span class="cx">           $content_to = apply_filters( "_wp_post_revision_field_$field", $compare_to->$field, $field, $compare_to, 'to' );
</span><span class="cx"> 
</span><span class="cx">          $diff = wp_text_diff( $content_from, $content_to, array( 'show_split_view' => true ) );
</span></span></pre></div>
<a id="trunksrcwpadminoptionswritingphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/options-writing.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/options-writing.php   2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/options-writing.php      2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -28,7 +28,7 @@
</span><span class="cx">  'content' => '<p>' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you&#8217;ll be on your way to easier content creation. Clicking on it while on another website opens a popup window with all these options.') . '</p>',
</span><span class="cx"> ) );
</span><span class="cx"> 
</span><del>-//duplicate_hook
</del><ins>+/** This filter is documented in wp-admin/options.php */
</ins><span class="cx"> if ( apply_filters( 'enable_post_by_email_configuration', true ) ) {
</span><span class="cx">  get_current_screen()->add_help_tab( array(
</span><span class="cx">          'id'      => 'options-postemail',
</span><span class="lines">@@ -131,7 +131,7 @@
</span><span class="cx"> </div>
</span><span class="cx"> 
</span><span class="cx"> <?php
</span><del>-//duplicate_hook
</del><ins>+/** This filter is documented in wp-admin/options.php */
</ins><span class="cx"> if ( apply_filters( 'enable_post_by_email_configuration', true ) ) {
</span><span class="cx"> ?>
</span><span class="cx"> <h3 class="title"><?php _e('Post via e-mail') ?></h3>
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> <?php } ?>
</span><span class="cx"> 
</span><span class="cx"> <?php
</span><del>-//duplicate_hook
</del><ins>+/** This filter is documented in wp-admin/options-writing.php */
</ins><span class="cx"> if ( apply_filters( 'enable_update_services_configuration', true ) ) {
</span><span class="cx"> ?>
</span><span class="cx"> <h3 class="title"><?php _e('Update Services') ?></h3>
</span></span></pre></div>
<a id="trunksrcwpadminusernewphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/user-new.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/user-new.php  2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-admin/user-new.php     2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -335,7 +335,7 @@
</span><span class="cx"> ?>
</span><span class="cx"> <p><?php _e('Create a brand new user and add them to this site.'); ?></p>
</span><span class="cx"> <?php
</span><del>-//duplicate_hook
</del><ins>+/** This action is documented in wp-admin/user-new.php */
</ins><span class="cx"> ?>
</span><span class="cx"> <form action="" method="post" name="createuser" id="createuser" class="validate"<?php do_action('user_new_form_tag');?>>
</span><span class="cx"> <input name="action" type="hidden" value="createuser" />
</span><span class="lines">@@ -427,7 +427,7 @@
</span><span class="cx"> </table>
</span><span class="cx"> 
</span><span class="cx"> <?php
</span><del>-//duplicate_hook
</del><ins>+/** This action is documented in wp-admin/user-new.php */
</ins><span class="cx"> do_action( 'user_new_form', 'add-new-user' );
</span><span class="cx"> ?>
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyelevencontentsinglephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyeleven/content-single.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyeleven/content-single.php      2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-content/themes/twentyeleven/content-single.php 2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">          <div id="author-info">
</span><span class="cx">                  <div id="author-avatar">
</span><span class="cx">                          <?php
</span><del>-                               //duplicate_hook
</del><ins>+                                /** This filter is documented in author.php */
</ins><span class="cx">                           echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 68 ) );
</span><span class="cx">                          ?>
</span><span class="cx">                  </div><!-- #author-avatar -->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyelevenfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyeleven/functions.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyeleven/functions.php   2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-content/themes/twentyeleven/functions.php      2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -528,7 +528,7 @@
</span><span class="cx">  if ( ! $has_url )
</span><span class="cx">          $has_url = twentyeleven_url_grabber();
</span><span class="cx"> 
</span><del>-       //duplicate_hook
</del><ins>+        /** This filter is documented in wp-includes/link-template.php */
</ins><span class="cx">   return ( $has_url ) ? $has_url : apply_filters( 'the_permalink', get_permalink() );
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyelevenincwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyeleven/inc/widgets.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyeleven/inc/widgets.php 2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-content/themes/twentyeleven/inc/widgets.php    2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">          ob_start();
</span><span class="cx">          extract( $args, EXTR_SKIP );
</span><span class="cx"> 
</span><del>-               //duplicate_hook
</del><ins>+                /** This filter is documented in wp-includes/default-widgets.php */
</ins><span class="cx">           $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Ephemera', 'twentyeleven' ) : $instance['title'], $instance, $this->id_base);
</span><span class="cx"> 
</span><span class="cx">          if ( ! isset( $instance['number'] ) )
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytenloopsinglephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyten/loop-single.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyten/loop-single.php    2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-content/themes/twentyten/loop-single.php       2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx">                                  <div id="entry-author-info">
</span><span class="cx">                                          <div id="author-avatar">
</span><span class="cx">                                                  <?php
</span><del>-                                                       //duplicate_hook
</del><ins>+                                                        /** This filter is documented in author.php */
</ins><span class="cx">                                                   echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) );
</span><span class="cx">                                                  ?>
</span><span class="cx">                                          </div><!-- #author-avatar -->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwelveauthorphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentytwelve/author.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentytwelve/author.php      2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-content/themes/twentytwelve/author.php 2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -48,7 +48,13 @@
</span><span class="cx">                  <div class="author-info">
</span><span class="cx">                          <div class="author-avatar">
</span><span class="cx">                                  <?php
</span><del>-                                       //duplicate_hook
</del><ins>+                                        /**
+                                        * Filter the author bio avatar size.
+                                        *
+                                        * @since Twenty Twelve 1.0
+                                        *
+                                        * @param int $size The height and width of the avatar in pixels.
+                                        */
</ins><span class="cx">                                   $author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
</span><span class="cx">                                  echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
</span><span class="cx">                                  ?>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwelvecontentphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentytwelve/content.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentytwelve/content.php     2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-content/themes/twentytwelve/content.php        2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -50,13 +50,7 @@
</span><span class="cx">                          <div class="author-info">
</span><span class="cx">                                  <div class="author-avatar">
</span><span class="cx">                                          <?php
</span><del>-                                               /**
-                                                * Filter the author bio avatar size.
-                                                *
-                                                * @since Twenty Twelve 1.0
-                                                *
-                                                * @param int $size The height and width of the avatar in pixels.
-                                                */
</del><ins>+                                                /** This filter is documented in author.php */
</ins><span class="cx">                                           $author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
</span><span class="cx">                                          echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
</span><span class="cx">                                          ?>
</span></span></pre></div>
<a id="trunksrcwpincludescanonicalphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/canonical.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/canonical.php      2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/canonical.php 2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -296,7 +296,7 @@
</span><span class="cx"> 
</span><span class="cx">          if ( 'wp-register.php' == basename( $redirect['path'] ) ) {
</span><span class="cx">                  if ( is_multisite() )
</span><del>-                               //duplicate_hook
</del><ins>+                                /** This filter is documented in wp-login.php */
</ins><span class="cx">                           $redirect_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
</span><span class="cx">                  else
</span><span class="cx">                          $redirect_url = site_url( 'wp-login.php?action=register' );
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpembedphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/class-wp-embed.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/class-wp-embed.php 2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/class-wp-embed.php    2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -215,7 +215,7 @@
</span><span class="cx"> 
</span><span class="cx">                  // If there was a result, return it
</span><span class="cx">                  if ( $html ) {
</span><del>-                               //duplicate_hook
</del><ins>+                                /** This filter is documented in wp-includes/class-wp-embed.php */
</ins><span class="cx">                           return apply_filters( 'embed_oembed_html', $html, $url, $attr, $post_ID );
</span><span class="cx">                  }
</span><span class="cx">          }
</span></span></pre></div>
<a id="trunksrcwpincludescommentphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/comment.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/comment.php        2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/comment.php   2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -1772,6 +1772,7 @@
</span><span class="cx">  $excerpt = str_replace(']]>', ']]&gt;', $excerpt);
</span><span class="cx">  $excerpt = wp_html_excerpt($excerpt, 252, '&#8230;');
</span><span class="cx"> 
</span><ins>+       /** This filter is documented in wp-includes/post-template.php */
</ins><span class="cx">   $post_title = apply_filters('the_title', $post->post_title, $post->ID);
</span><span class="cx">  $post_title = strip_tags($post_title);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunksrcwpincludesfeedatomcommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/feed-atom-comments.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/feed-atom-comments.php     2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/feed-atom-comments.php        2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -48,7 +48,8 @@
</span><span class="cx">          <title><?php
</span><span class="cx">                  if ( !is_singular() ) {
</span><span class="cx">                          $title = get_the_title($comment_post->ID);
</span><del>-                               $title = apply_filters('the_title_rss', $title);
</del><ins>+                                /** This filter is documented in wp-includes/feed.php */
+                               $title = apply_filters( 'the_title_rss', $title );
</ins><span class="cx">                           printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss());
</span><span class="cx">                  } else {
</span><span class="cx">                          printf(ent2ncr(__('By: %s')), get_comment_author_rss());
</span></span></pre></div>
<a id="trunksrcwpincludesfeedrdfphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/feed-rdf.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/feed-rdf.php       2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/feed-rdf.php  2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -30,8 +30,9 @@
</span><span class="cx">  <link><?php bloginfo_rss('url') ?></link>
</span><span class="cx">  <description><?php bloginfo_rss('description') ?></description>
</span><span class="cx">  <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
</span><ins>+       <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
</ins><span class="cx">   <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
</span><del>-       <?php //duplicate_hook ?>
</del><ins>+        <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
</ins><span class="cx">   <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
</span><span class="cx">  <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
</span><span class="cx">  <?php 
</span></span></pre></div>
<a id="trunksrcwpincludesfeedrss2commentsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/feed-rss2-comments.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/feed-rss2-comments.php     2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/feed-rss2-comments.php        2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx">  xmlns:atom="http://www.w3.org/2005/Atom"
</span><span class="cx">  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
</span><span class="cx">  <?php 
</span><del>-       //duplicate_hook 
</del><ins>+        /** This action is documented in wp-includes/feed-rss2.php */
</ins><span class="cx">   do_action( 'rss2_ns' );
</span><span class="cx">  ?>
</span><span class="cx"> 
</span><span class="lines">@@ -41,9 +41,9 @@
</span><span class="cx">  <link><?php (is_single()) ? the_permalink_rss() : bloginfo_rss("url") ?></link>
</span><span class="cx">  <description><?php bloginfo_rss("description") ?></description>
</span><span class="cx">  <lastBuildDate><?php echo mysql2date('r', get_lastcommentmodified('GMT')); ?></lastBuildDate>
</span><del>-       <?php //duplicate_hook ?>
</del><ins>+        <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
</ins><span class="cx">   <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
</span><del>-       <?php //duplicate_hook ?>
</del><ins>+        <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
</ins><span class="cx">   <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
</span><span class="cx">  <?php 
</span><span class="cx">  /**
</span><span class="lines">@@ -60,8 +60,8 @@
</span><span class="cx">          <title><?php
</span><span class="cx">                  if ( !is_singular() ) {
</span><span class="cx">                          $title = get_the_title($comment_post->ID);
</span><del>-                               //duplicate_hook
-                               $title = apply_filters('the_title_rss', $title);
</del><ins>+                                /** This filter is documented in wp-includes/feed.php */
+                               $title = apply_filters( 'the_title_rss', $title );
</ins><span class="cx">                           printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss());
</span><span class="cx">                  } else {
</span><span class="cx">                          printf(ent2ncr(__('By: %s')), get_comment_author_rss());
</span></span></pre></div>
<a id="trunksrcwpincludesgeneraltemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/general-template.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/general-template.php       2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/general-template.php  2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -1078,10 +1078,12 @@
</span><span class="cx">                  foreach ( (array) $results as $result ) {
</span><span class="cx">                          if ( $result->post_date != '0000-00-00 00:00:00' ) {
</span><span class="cx">                                  $url  = get_permalink( $result );
</span><del>-                                       if ( $result->post_title )
</del><ins>+                                        if ( $result->post_title ) {
+                                               /** This filter is documented in wp-includes/post-template.php */
</ins><span class="cx">                                           $text = strip_tags( apply_filters( 'the_title', $result->post_title, $result->ID ) );
</span><del>-                                       else
</del><ins>+                                        } else {
</ins><span class="cx">                                           $text = $result->ID;
</span><ins>+                                       }
</ins><span class="cx">                                   $output .= get_archives_link($url, $text, $format, $before, $after);
</span><span class="cx">                          }
</span><span class="cx">                  }
</span><span class="lines">@@ -1266,6 +1268,7 @@
</span><span class="cx">  if ( $ak_post_titles ) {
</span><span class="cx">          foreach ( (array) $ak_post_titles as $ak_post_title ) {
</span><span class="cx"> 
</span><ins>+                               /** This filter is documented in wp-includes/post-template.php */
</ins><span class="cx">                           $post_title = esc_attr( apply_filters( 'the_title', $ak_post_title->post_title, $ak_post_title->ID ) );
</span><span class="cx"> 
</span><span class="cx">                          if ( empty($ak_titles_for_day['day_'.$ak_post_title->dom]) )
</span></span></pre></div>
<a id="trunksrcwpincludeslinktemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/link-template.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/link-template.php  2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/link-template.php     2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -1425,6 +1425,7 @@
</span><span class="cx">          if ( empty( $post->post_title ) )
</span><span class="cx">                  $title = $previous ? __( 'Previous Post' ) : __( 'Next Post' );
</span><span class="cx"> 
</span><ins>+               /** This filter is documented in wp-includes/post-template.php */
</ins><span class="cx">           $title = apply_filters( 'the_title', $title, $post->ID );
</span><span class="cx">          $date = mysql2date( get_option( 'date_format' ), $post->post_date );
</span><span class="cx">          $rel = $previous ? 'prev' : 'next';
</span></span></pre></div>
<a id="trunksrcwpincludesmediatemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/media-template.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/media-template.php 2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/media-template.php    2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -341,6 +341,7 @@
</span><span class="cx">                                  <# } #>>
</span><span class="cx">                                  <?php
</span><span class="cx"> 
</span><ins>+                                       /** This filter is documented in wp-admin/includes/media.php */
</ins><span class="cx">                                   $sizes = apply_filters( 'image_size_names_choose', array(
</span><span class="cx">                                          'thumbnail' => __('Thumbnail'),
</span><span class="cx">                                          'medium'    => __('Medium'),
</span></span></pre></div>
<a id="trunksrcwpincludesmediaphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/media.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/media.php  2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/media.php     2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -1744,6 +1744,7 @@
</span><span class="cx"> 
</span><span class="cx">  if ( $meta && 'image' === $type ) {
</span><span class="cx">          $sizes = array();
</span><ins>+               /** This filter is documented in wp-admin/includes/media.php */
</ins><span class="cx">           $possible_sizes = apply_filters( 'image_size_names_choose', array(
</span><span class="cx">                  'thumbnail' => __('Thumbnail'),
</span><span class="cx">                  'medium'    => __('Medium'),
</span></span></pre></div>
<a id="trunksrcwpincludesnavmenutemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/nav-menu-template.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/nav-menu-template.php      2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/nav-menu-template.php 2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -147,7 +147,7 @@
</span><span class="cx"> 
</span><span class="cx">          $item_output = $args->before;
</span><span class="cx">          $item_output .= '<a'. $attributes .'>';
</span><del>-               //duplicate_hook
</del><ins>+                /** This filter is documented in wp-includes/post-template.php */
</ins><span class="cx">           $item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after;
</span><span class="cx">          $item_output .= '</a>';
</span><span class="cx">          $item_output .= $args->after;
</span></span></pre></div>
<a id="trunksrcwpincludesposttemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/post-template.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/post-template.php  2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/post-template.php     2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -1071,6 +1071,7 @@
</span><span class="cx">          if ( '' === $page->post_title )
</span><span class="cx">                  $page->post_title = sprintf( __( '#%d (no title)' ), $page->ID );
</span><span class="cx"> 
</span><ins>+               /** This filter is documented in wp-includes/post-template.php */
</ins><span class="cx">           $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_permalink($page->ID) . '">' . $link_before . apply_filters( 'the_title', $page->post_title, $page->ID ) . $link_after . '</a>';
</span><span class="cx"> 
</span><span class="cx">          if ( !empty($show_date) ) {
</span></span></pre></div>
<a id="trunksrcwpincludespostphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/post.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/post.php   2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-includes/post.php      2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -4190,6 +4190,7 @@
</span><span class="cx">          // Don't delete the thumb if another attachment uses it
</span><span class="cx">          if (! $wpdb->get_row( $wpdb->prepare( "SELECT meta_id FROM $wpdb->postmeta WHERE meta_key = '_wp_attachment_metadata' AND meta_value LIKE %s AND post_id <> %d", '%' . $meta['thumb'] . '%', $post_id)) ) {
</span><span class="cx">                  $thumbfile = str_replace(basename($file), $meta['thumb'], $file);
</span><ins>+                       /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">                   $thumbfile = apply_filters('wp_delete_file', $thumbfile);
</span><span class="cx">                  @ unlink( path_join($uploadpath['basedir'], $thumbfile) );
</span><span class="cx">          }
</span><span class="lines">@@ -4197,6 +4198,7 @@
</span><span class="cx"> 
</span><span class="cx">  // remove intermediate and backup images if there are any
</span><span class="cx">  foreach ( $intermediate_sizes as $intermediate ) {
</span><ins>+               /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">           $intermediate_file = apply_filters( 'wp_delete_file', $intermediate['path'] );
</span><span class="cx">          @ unlink( path_join($uploadpath['basedir'], $intermediate_file) );
</span><span class="cx">  }
</span><span class="lines">@@ -4204,11 +4206,13 @@
</span><span class="cx">  if ( is_array($backup_sizes) ) {
</span><span class="cx">          foreach ( $backup_sizes as $size ) {
</span><span class="cx">                  $del_file = path_join( dirname($meta['file']), $size['file'] );
</span><ins>+                       /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">                   $del_file = apply_filters('wp_delete_file', $del_file);
</span><span class="cx">                  @ unlink( path_join($uploadpath['basedir'], $del_file) );
</span><span class="cx">          }
</span><span class="cx">  }
</span><span class="cx"> 
</span><ins>+       /** This filter is documented in wp-admin/custom-header.php */
</ins><span class="cx">   $file = apply_filters('wp_delete_file', $file);
</span><span class="cx"> 
</span><span class="cx">  if ( ! empty($file) )
</span></span></pre></div>
<a id="trunksrcwploginphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-login.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-login.php   2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-login.php      2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -619,7 +619,7 @@
</span><span class="cx"> <?php
</span><span class="cx"> if ( get_option( 'users_can_register' ) ) :
</span><span class="cx">  $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
</span><del>-       //duplicate_hook
</del><ins>+        /** This filter is documented in wp-login.php */
</ins><span class="cx">   echo ' | ' . apply_filters( 'register', $registration_url );
</span><span class="cx"> endif;
</span><span class="cx"> ?>
</span><span class="lines">@@ -765,7 +765,7 @@
</span><span class="cx">                  login_header( '', $message ); ?>
</span><span class="cx">                  </div>
</span><span class="cx">                  <?php
</span><del>-                       //duplicate_hook
</del><ins>+                        /** This action is documented in wp-login.php */
</ins><span class="cx">                   do_action( 'login_footer' ); ?>
</span><span class="cx">                  <?php if ( $customize_login ) : ?>
</span><span class="cx">                          <script type="text/javascript">setTimeout( function(){ new wp.customize.Messenger({ url: '<?php echo wp_customize_url(); ?>', channel: 'login' }).send('login') }, 1000 );</script>
</span><span class="lines">@@ -869,7 +869,7 @@
</span><span class="cx"> <?php if ( ! isset( $_GET['checkemail'] ) || ! in_array( $_GET['checkemail'], array( 'confirm', 'newpass' ) ) ) :
</span><span class="cx">  if ( get_option( 'users_can_register' ) ) :
</span><span class="cx">          $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
</span><del>-               //duplicate_hook
</del><ins>+                /** This filter is documented in wp-login.php */
</ins><span class="cx">           echo apply_filters( 'register', $registration_url ) . ' | ';
</span><span class="cx">  endif;
</span><span class="cx">  ?>
</span></span></pre></div>
<a id="trunksrcwpmailphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-mail.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-mail.php    2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-mail.php       2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -10,6 +10,7 @@
</span><span class="cx"> /** Make sure that the WordPress bootstrap has run before continuing. */
</span><span class="cx"> require(dirname(__FILE__) . '/wp-load.php');
</span><span class="cx"> 
</span><ins>+/** This filter is documented in wp-admin/options.php */
</ins><span class="cx"> if ( ! apply_filters( 'enable_post_by_email_configuration', true ) )
</span><span class="cx">  wp_die( __( 'This action has been disabled by the administrator.' ) );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunksrcwpsignupphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-signup.php (25867 => 25868)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-signup.php  2013-10-22 17:20:17 UTC (rev 25867)
+++ trunk/src/wp-signup.php     2013-10-22 17:21:32 UTC (rev 25868)
</span><span class="lines">@@ -433,7 +433,7 @@
</span><span class="cx">  <form id="setupform" method="post" action="wp-signup.php">
</span><span class="cx">          <input type="hidden" name="stage" value="validate-user-signup" />
</span><span class="cx">          <?php
</span><del>-               //duplicate_hook
</del><ins>+                /** This action is documented in wp-signup.php */
</ins><span class="cx">           do_action( 'signup_hidden_fields', 'validate-user' );
</span><span class="cx">          ?>
</span><span class="cx">          <?php show_user_form($user_name, $user_email, $errors); ?>
</span><span class="lines">@@ -481,7 +481,7 @@
</span><span class="cx">          return false;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       //duplicate_hook
</del><ins>+        /** This filter is documented in wp-signup.php */
</ins><span class="cx">   wpmu_signup_user( $user_name, $user_email, apply_filters( 'add_signup_meta', array() ) );
</span><span class="cx"> 
</span><span class="cx">  confirm_user_signup($user_name, $user_email);
</span><span class="lines">@@ -503,7 +503,7 @@
</span><span class="cx">  <p><?php printf( __( 'Check your inbox at <strong>%s</strong> and click the link given.' ), $user_email ); ?></p>
</span><span class="cx">  <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p>
</span><span class="cx">  <?php
</span><del>-       //duplicate_hook
</del><ins>+        /** This action is documented in wp-signup.php */
</ins><span class="cx">   do_action( 'signup_finished' );
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -563,7 +563,7 @@
</span><span class="cx">          <input type="hidden" name="user_name" value="<?php echo esc_attr($user_name) ?>" />
</span><span class="cx">          <input type="hidden" name="user_email" value="<?php echo esc_attr($user_email) ?>" />
</span><span class="cx">          <?php
</span><del>-               //duplicate_hook
</del><ins>+                /** This action is documented in wp-signup.php */
</ins><span class="cx">           do_action( 'signup_hidden_fields', 'validate-site' );
</span><span class="cx">          ?>
</span><span class="cx">          <?php show_blog_form($blogname, $blog_title, $errors); ?>
</span><span class="lines">@@ -605,7 +605,7 @@
</span><span class="cx">  $public = (int) $_POST['blog_public'];
</span><span class="cx">  $meta = array ('lang_id' => 1, 'public' => $public);
</span><span class="cx"> 
</span><del>-       //duplicate_hook
</del><ins>+        /** This filter is documented in wp-signup.php */
</ins><span class="cx">   $meta = apply_filters( 'add_signup_meta', $meta );
</span><span class="cx"> 
</span><span class="cx">  wpmu_signup_blog($domain, $path, $blog_title, $user_name, $user_email, $meta);
</span><span class="lines">@@ -642,7 +642,7 @@
</span><span class="cx">          </ul>
</span><span class="cx">  </p>
</span><span class="cx">  <?php
</span><del>-       //duplicate_hook
</del><ins>+        /** This action is documented in wp-signup.php */
</ins><span class="cx">   do_action( 'signup_finished' );
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>