<!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>[50505] trunk/src: Docs: Add examples of possible names for various hooks whose name contains a dynamic portion.</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 { white-space: pre-line; 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" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/50505">50505</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/50505","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>johnbillion</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2021-03-07 12:30:38 +0000 (Sun, 07 Mar 2021)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Docs: Add examples of possible names for various hooks whose name contains a dynamic portion.
This provides greater discoverability of such hooks in search results on the Code Reference site as well as increased clarity when reading the source.
See <a href="https://core.trac.wordpress.org/ticket/50734">#50734</a>, <a href="https://core.trac.wordpress.org/ticket/52628">#52628</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadminasyncuploadphp">trunk/src/wp-admin/async-upload.php</a></li>
<li><a href="#trunksrcwpadminedittagformphp">trunk/src/wp-admin/edit-tag-form.php</a></li>
<li><a href="#trunksrcwpadminedittagsphp">trunk/src/wp-admin/edit-tags.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpautomaticupdaterphp">trunk/src/wp-admin/includes/class-wp-automatic-updater.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpplugininstalllisttablephp">trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswppostslisttablephp">trunk/src/wp-admin/includes/class-wp-posts-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswptermslisttablephp">trunk/src/wp-admin/includes/class-wp-terms-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpthemeinstalllisttablephp">trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesfilephp">trunk/src/wp-admin/includes/file.php</a></li>
<li><a href="#trunksrcwpadminincludesmediaphp">trunk/src/wp-admin/includes/media.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="#trunksrcwpadminmediauploadphp">trunk/src/wp-admin/media-upload.php</a></li>
<li><a href="#trunksrcwpadminthemeinstallphp">trunk/src/wp-admin/theme-install.php</a></li>
<li><a href="#trunksrcwpincludesclasswpthemephp">trunk/src/wp-includes/class-wp-theme.php</a></li>
<li><a href="#trunksrcwpincludesfunctionsphp">trunk/src/wp-includes/functions.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="#trunksrcwpincludesmediaphp">trunk/src/wp-includes/media.php</a></li>
<li><a href="#trunksrcwpincludespostphp">trunk/src/wp-includes/post.php</a></li>
<li><a href="#trunksrcwpincludesrestapiendpointsclasswprestpostscontrollerphp">trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php</a></li>
<li><a href="#trunksrcwpincludesrestapiendpointsclasswpresttermscontrollerphp">trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php</a></li>
<li><a href="#trunksrcwpincludestaxonomyphp">trunk/src/wp-includes/taxonomy.php</a></li>
<li><a href="#trunksrcwpincludestemplatephp">trunk/src/wp-includes/template.php</a></li>
<li><a href="#trunksrcwploginphp">trunk/src/wp-login.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadminasyncuploadphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/async-upload.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/async-upload.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/async-upload.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -119,9 +119,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters the returned ID of an uploaded attachment.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The dynamic portion of the hook name, `$type`, refers to the attachment type,
- * such as 'image', 'audio', 'video', 'file', etc.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The dynamic portion of the hook name, `$type`, refers to the attachment type.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `async_upload_audio`
+ * - `async_upload_file`
+ * - `async_upload_image`
+ * - `async_upload_video`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $id Uploaded attachment ID.
</span></span></pre></div>
<a id="trunksrcwpadminedittagformphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/edit-tag-form.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit-tag-form.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/edit-tag-form.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -60,6 +60,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to
</span><span class="cx" style="display: block; padding: 0 10px"> * the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_pre_edit_form`
+ * - `post_tag_pre_edit_form`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Term $tag Current taxonomy term object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -96,6 +101,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_term_edit_form_tag`
+ * - `post_tag_term_edit_form_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( "{$taxonomy}_term_edit_form_tag" );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -115,6 +125,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_term_edit_form_top`
+ * - `post_tag_term_edit_form_top`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Term $tag Current taxonomy term object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -229,6 +244,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to
</span><span class="cx" style="display: block; padding: 0 10px"> * the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_edit_form_fields`
+ * - `post_tag_edit_form_fields`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Term $tag Current taxonomy term object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -261,6 +281,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_edit_form`
+ * - `post_tag_edit_form`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Term $tag Current taxonomy term object.
</span></span></pre></div>
<a id="trunksrcwpadminedittagsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/edit-tags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit-tags.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/edit-tags.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -414,6 +414,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_pre_add_form`
+ * - `post_tag_pre_add_form`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy The taxonomy slug.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -430,6 +435,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_term_new_form_tag`
+ * - `post_tag_term_new_form_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( "{$taxonomy}_term_new_form_tag" );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -522,6 +532,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_add_form_fields`
+ * - `post_tag_add_form_fields`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy The taxonomy slug.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -570,6 +585,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_add_form`
+ * - `post_tag_add_form`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy The taxonomy slug.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -638,6 +658,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `after-category-table`
+ * - `after-post_tag-table`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy The taxonomy name.
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpautomaticupdaterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-automatic-updater.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-automatic-updater.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/class-wp-automatic-updater.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -182,8 +182,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters whether to automatically update core, a plugin, a theme, or a language.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$type`, refers to the type of update
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * being checked. Potential hook names include:
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * being checked.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * - `auto_update_core`
</span><span class="cx" style="display: block; padding: 0 10px"> * - `auto_update_plugin`
</span><span class="cx" style="display: block; padding: 0 10px"> * - `auto_update_theme`
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpplugininstalllisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -213,8 +213,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters API request arguments for each Add Plugins screen tab.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$tab`, refers to the plugin install tabs.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Default tabs include 'featured', 'popular', 'recommended', 'favorites', and 'upload'.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `install_plugins_table_api_args_favorites`
+ * - `install_plugins_table_api_args_featured`
+ * - `install_plugins_table_api_args_popular`
+ * - `install_plugins_table_api_args_recommended`
+ * - `install_plugins_table_api_args_upload`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array|false $args Plugin install API arguments.
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswppostslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-posts-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-posts-list-table.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/class-wp-posts-list-table.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -632,6 +632,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$post_type`, refers to the post
</span><span class="cx" style="display: block; padding: 0 10px"> * type slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `manage_taxonomies_for_post_columns`
+ * - `manage_taxonomies_for_page_columns`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string[] $taxonomies Array of taxonomy names to show columns for.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -687,6 +692,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$post_type`, refers to the post type slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `manage_post_posts_columns`
+ * - `manage_page_posts_columns`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string[] $post_columns An associative array of column headings.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1274,6 +1284,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$post->post_type`, refers to the post type.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `manage_post_posts_custom_column`
+ * - `manage_page_posts_custom_column`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $column_name The name of the column to display.
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswptermslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-terms-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-terms-list-table.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/class-wp-terms-list-table.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -526,6 +526,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `category_row_actions`
+ * - `post_tag_row_actions`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string[] $actions An array of action links to be displayed. Default
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -616,6 +621,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->screen->taxonomy`,
</span><span class="cx" style="display: block; padding: 0 10px"> * refers to the slug of the current taxonomy.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `manage_category_custom_column`
+ * - `manage_post_tag_custom_column`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $string Blank string.
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpthemeinstalllisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -132,9 +132,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters API request arguments for each Install Themes screen tab.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$tab`, refers to the theme install
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * tabs. Default tabs are 'dashboard', 'search', 'upload', 'featured',
- * 'new', and 'updated'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * tab.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `install_themes_table_api_args_dashboard`
+ * - `install_themes_table_api_args_featured`
+ * - `install_themes_table_api_args_new`
+ * - `install_themes_table_api_args_search`
+ * - `install_themes_table_api_args_updated`
+ * - `install_themes_table_api_args_upload`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array|false $args Theme install API arguments.
</span></span></pre></div>
<a id="trunksrcwpadminincludesfilephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/file.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/file.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/file.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -757,8 +757,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters the data for a file before it is uploaded to WordPress.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$action`, refers to the post action.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Possible filter names include:
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * - `wp_handle_sideload_prefilter`
</span><span class="cx" style="display: block; padding: 0 10px"> * - `wp_handle_upload_prefilter`
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -773,8 +774,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters the override parameters for a file before it is uploaded to WordPress.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$action`, refers to the post action.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Possible filter names include:
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * - `wp_handle_sideload_overrides`
</span><span class="cx" style="display: block; padding: 0 10px"> * - `wp_handle_upload_overrides`
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpadminincludesmediaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/media.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/media.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -696,9 +696,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$type`, refers to the type
</span><span class="cx" style="display: block; padding: 0 10px"> * of media uploaded.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `image_upload_iframe_src`
+ * - `media_upload_iframe_src`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $upload_iframe_src The upload iframe source URL by type.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $upload_iframe_src The upload iframe source URL.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $upload_iframe_src = apply_filters( "{$type}_upload_iframe_src", $upload_iframe_src );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -893,6 +898,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$type`, refers to the type
</span><span class="cx" style="display: block; padding: 0 10px"> * of media being sent.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `audio_send_to_editor_url`
+ * - `file_send_to_editor_url`
+ * - `video_send_to_editor_url`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $html HTML markup sent to the editor.
</span></span></pre></div>
<a id="trunksrcwpadminincludesnavmenuphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/nav-menu.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/nav-menu.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/nav-menu.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -545,6 +545,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$post_type_name`, refers to the post type name.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `nav_menu_items_post_recent`
+ * - `nav_menu_items_page_recent`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.0 Added the `$recent_args` parameter.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -633,6 +638,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$post_type_name`, refers
</span><span class="cx" style="display: block; padding: 0 10px"> * to the slug of the current post type.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `nav_menu_items_post`
+ * - `nav_menu_items_page`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpadminincludespostphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/post.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/post.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/post.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1168,9 +1168,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$post_type`, refers to the post type.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Some examples of filter hooks generated here include: 'edit_attachment_per_page',
- * 'edit_post_per_page', 'edit_page_per_page', etc.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * - `edit_post_per_page`
+ * - `edit_page_per_page`
+ * - `edit_attachment_per_page`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $posts_per_page Number of posts to display per page for the given post
</span></span></pre></div>
<a id="trunksrcwpadminincludesrevisionphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/revision.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/revision.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/includes/revision.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -68,9 +68,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Contextually filter a post revision field.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The dynamic portion of the hook name, `$field`, corresponds to each of the post
- * fields of the revision object being iterated over in a foreach statement.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The dynamic portion of the hook name, `$field`, corresponds to a name of a
+ * field of the revision object.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `_wp_post_revision_field_post_title`
+ * - `_wp_post_revision_field_post_content`
+ * - `_wp_post_revision_field_post_excerpt`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $revision_field The current revision field to compare to or from.
</span></span></pre></div>
<a id="trunksrcwpadminmediauploadphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/media-upload.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/media-upload.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/media-upload.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -87,13 +87,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * media popup based on the current tab.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$type`, refers to the specific
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * media upload type. Possible values include 'image', 'audio', 'video',
- * 'file', etc.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * media upload type.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The hook only fires if the current `$tab` is 'type' (From Computer),
</span><span class="cx" style="display: block; padding: 0 10px"> * 'type_url' (From URL), or, if the tab does not exist (i.e., has not
</span><span class="cx" style="display: block; padding: 0 10px"> * been registered via the {@see 'media_upload_tabs'} filter.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `media_upload_audio`
+ * - `media_upload_file`
+ * - `media_upload_image`
+ * - `media_upload_video`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( "media_upload_{$type}" );
</span></span></pre></div>
<a id="trunksrcwpadminthemeinstallphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/theme-install.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/theme-install.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-admin/theme-install.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -84,9 +84,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Fires before each of the tabs are rendered on the Install Themes page.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$tab`, refers to the current
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * theme installation tab. Possible values are 'dashboard', 'search', 'upload',
- * 'featured', 'new', or 'updated'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * theme installation tab.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `install_themes_pre_dashboard`
+ * - `install_themes_pre_featured`
+ * - `install_themes_pre_new`
+ * - `install_themes_pre_search`
+ * - `install_themes_pre_updated`
+ * - `install_themes_pre_upload`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( "install_themes_pre_{$tab}" );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -251,9 +259,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Fires at the top of each of the tabs on the Install Themes page.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$tab`, refers to the current
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * theme installation tab. Possible values are 'dashboard', 'search', 'upload',
- * 'featured', 'new', or 'updated'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * theme installation tab.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `install_themes_dashboard`
+ * - `install_themes_featured`
+ * - `install_themes_new`
+ * - `install_themes_search`
+ * - `install_themes_updated`
+ * - `install_themes_upload`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $paged Number of the current page of results being viewed.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpthemephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-theme.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-theme.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/class-wp-theme.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1269,6 +1269,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$post_type`, refers to the post type.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `theme_post_templates`
+ * - `theme_page_templates`
+ * - `theme_attachment_templates`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.9.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0 Converted to allow complete control over the `$page_templates` array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0 Added the `$post_type` parameter.
</span></span></pre></div>
<a id="trunksrcwpincludesfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/functions.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/functions.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1568,8 +1568,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Fires once the given feed is loaded.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$feed`, refers to the feed template name.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Possible values include: 'rdf', 'rss', 'rss2', and 'atom'.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `do_feed_atom`
+ * - `do_feed_rdf`
+ * - `do_feed_rss`
+ * - `do_feed_rss2`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0 The `$feed` parameter was added.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpincludesgeneraltemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/general-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/general-template.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/general-template.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4719,6 +4719,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$type`, refers to the generator type.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `get_the_generator_atom`
+ * - `get_the_generator_comment`
+ * - `get_the_generator_export`
+ * - `get_the_generator_html`
+ * - `get_the_generator_rdf`
+ * - `get_the_generator_rss2`
+ * - `get_the_generator_xhtml`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $gen The HTML markup output to wp_head().
</span></span></pre></div>
<a id="trunksrcwpincludeslinktemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/link-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/link-template.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/link-template.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1811,6 +1811,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$adjacent`, refers to the type
</span><span class="cx" style="display: block; padding: 0 10px"> * of adjacency, 'next' or 'previous'.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `get_next_post_excluded_terms`
+ * - `get_previous_post_excluded_terms`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array|string $excluded_terms Array of excluded term IDs. Empty string if none were provided.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1882,6 +1887,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$adjacent`, refers to the type
</span><span class="cx" style="display: block; padding: 0 10px"> * of adjacency, 'next' or 'previous'.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `get_next_post_join`
+ * - `get_previous_post_join`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0 Added the `$taxonomy` and `$post` parameters.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1899,6 +1909,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$adjacent`, refers to the type
</span><span class="cx" style="display: block; padding: 0 10px"> * of adjacency, 'next' or 'previous'.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `get_next_post_where`
+ * - `get_previous_post_where`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0 Added the `$taxonomy` and `$post` parameters.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1916,6 +1931,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$adjacent`, refers to the type
</span><span class="cx" style="display: block; padding: 0 10px"> * of adjacency, 'next' or 'previous'.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `get_next_post_sort`
+ * - `get_previous_post_sort`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0 Added the `$post` parameter.
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.0 Added the `$order` parameter.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2004,6 +2024,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$adjacent`, refers to the type
</span><span class="cx" style="display: block; padding: 0 10px"> * of adjacency, 'next' or 'previous'.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `next_post_rel_link`
+ * - `previous_post_rel_link`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $link The relational link.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2261,6 +2286,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$adjacent`, refers to the type
</span><span class="cx" style="display: block; padding: 0 10px"> * of adjacency, 'next' or 'previous'.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `next_post_link`
+ * - `previous_post_link`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.0 Added the `$adjacent` parameter.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpincludesmediaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/media.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/media.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3454,6 +3454,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$adjacent`, refers to the type of adjacency,
</span><span class="cx" style="display: block; padding: 0 10px"> * either 'next', or 'previous'.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `next_image_link`
+ * - `previous_image_link`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $output Adjacent image HTML markup.
</span></span></pre></div>
<a id="trunksrcwpincludespostphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/post.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/post.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/post.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1772,6 +1772,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$post_type`, refers to
</span><span class="cx" style="display: block; padding: 0 10px"> * the post type slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `post_type_labels_post`
+ * - `post_type_labels_page`
+ * - `post_type_labels_attachment`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see get_post_type_labels() for the full list of labels.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5031,6 +5037,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portions of the hook name, `$new_status` and `$post->post_type`,
</span><span class="cx" style="display: block; padding: 0 10px"> * refer to the new post status and post type, respectively.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `draft_post`
+ * - `future_post`
+ * - `pending_post`
+ * - `private_post`
+ * - `publish_post`
+ * - `trash_post`
+ * - `draft_page`
+ * - `future_page`
+ * - `pending_page`
+ * - `private_page`
+ * - `publish_page`
+ * - `trash_page`
+ * - `publish_attachment`
+ * - `trash_attachment`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * Please note: When this action is hooked using a particular post status (like
</span><span class="cx" style="display: block; padding: 0 10px"> * 'publish', as `publish_{$post->post_type}`), it will fire both when a post is
</span><span class="cx" style="display: block; padding: 0 10px"> * first transitioned to that status from something else, as well as upon
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiendpointsclasswprestpostscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -290,7 +290,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Possible filter names include:
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * - `rest_post_query`
</span><span class="cx" style="display: block; padding: 0 10px"> * - `rest_page_query`
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -610,6 +610,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `rest_insert_post`
+ * - `rest_insert_page`
+ * - `rest_insert_attachment`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Post $post Inserted or updated post object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -668,6 +674,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `rest_after_insert_post`
+ * - `rest_after_insert_page`
+ * - `rest_after_insert_attachment`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 5.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Post $post Inserted or updated post object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -890,6 +902,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `rest_post_trashable`
+ * - `rest_page_trashable`
+ * - `rest_attachment_trashable`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * Pass false to disable Trash support for the post.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1251,6 +1269,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `rest_pre_insert_post`
+ * - `rest_pre_insert_page`
+ * - `rest_pre_insert_attachment`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param stdClass $prepared_post An object representing a single post prepared
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1854,7 +1878,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Possible filter names include:
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * - `rest_prepare_post`
</span><span class="cx" style="display: block; padding: 0 10px"> * - `rest_prepare_page`
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiendpointsclasswpresttermscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -237,6 +237,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `rest_category_query`
+ * - `rest_post_tag_query`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * Enables adding extra arguments or setting defaults for a terms
</span><span class="cx" style="display: block; padding: 0 10px"> * collection request.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -475,6 +480,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `rest_insert_category`
+ * - `rest_insert_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Term $term Inserted or updated term object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -505,6 +515,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `rest_after_insert_category`
+ * - `rest_after_insert_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 5.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Term $term Inserted or updated term object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -702,6 +717,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `rest_delete_category`
+ * - `rest_delete_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Term $term The deleted term.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -761,6 +781,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `rest_pre_insert_category`
+ * - `rest_pre_insert_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param object $prepared_term Term object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -832,7 +857,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$this->taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Possible filter names include:
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * - `rest_prepare_category`
</span><span class="cx" style="display: block; padding: 0 10px"> * - `rest_prepare_post_tag`
</span></span></pre></div>
<a id="trunksrcwpincludestaxonomyphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/taxonomy.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/taxonomy.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/taxonomy.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -627,6 +627,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `taxonomy_labels_category`
+ * - `taxonomy_labels_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see get_taxonomy_labels() for the full list of taxonomy labels.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2031,6 +2036,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the specific
</span><span class="cx" style="display: block; padding: 0 10px"> * taxonomy the term belonged to.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `delete_category`
+ * - `delete_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.5.0 Introduced the `$object_ids` argument.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2474,6 +2484,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers
</span><span class="cx" style="display: block; padding: 0 10px"> * to the slug of the taxonomy the term was created for.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `create_category`
+ * - `create_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $term_id Term ID.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2513,6 +2528,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `created_category`
+ * - `created_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $term_id Term ID.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2541,6 +2561,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `saved_category`
+ * - `saved_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 5.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $term_id Term ID.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3186,6 +3211,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `edit_category`
+ * - `edit_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $term_id Term ID.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3218,6 +3248,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - `edited_category`
+ * - `edited_post_tag`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $term_id Term ID.
</span></span></pre></div>
<a id="trunksrcwpincludestemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/template.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-includes/template.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,8 +16,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $type Filename without extension.
- * @param array $templates An optional list of template candidates
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $type Filename without extension.
+ * @param string[] $templates An optional list of template candidates.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string Full path to template file.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_query_template( $type, $templates = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,14 +30,34 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters the list of template filenames that are searched for when retrieving a template to use.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The dynamic portion of the hook name, `$type`, refers to the filename -- minus the file
+ * extension and any non-alphanumeric characters delimiting words -- of the file to load.
</ins><span class="cx" style="display: block; padding: 0 10px"> * The last element in the array should always be the fallback template for this query type.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date',
- * 'embed', 'home', 'frontpage', 'privacypolicy', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * - `404_template_hierarchy`
+ * - `archive_template_hierarchy`
+ * - `attachment_template_hierarchy`
+ * - `author_template_hierarchy`
+ * - `category_template_hierarchy`
+ * - `date_template_hierarchy`
+ * - `embed_template_hierarchy`
+ * - `frontpage_template_hierarchy`
+ * - `home_template_hierarchy`
+ * - `index_template_hierarchy`
+ * - `page_template_hierarchy`
+ * - `paged_template_hierarchy`
+ * - `privacypolicy_template_hierarchy`
+ * - `search_template_hierarchy`
+ * - `single_template_hierarchy`
+ * - `singular_template_hierarchy`
+ * - `tag_template_hierarchy`
+ * - `taxonomy_template_hierarchy`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $templates A list of template candidates, in descending order of priority.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string[] $templates A list of template candidates, in descending order of priority.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $templates = apply_filters( "{$type}_template_hierarchy", $templates );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -50,15 +70,33 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * extension and any non-alphanumeric characters delimiting words -- of the file to load.
</span><span class="cx" style="display: block; padding: 0 10px"> * This hook also applies to various types of files loaded as part of the Template Hierarchy.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date',
- * 'embed', 'home', 'frontpage', 'privacypolicy', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * - `404_template`
+ * - `archive_template`
+ * - `attachment_template`
+ * - `author_template`
+ * - `category_template`
+ * - `date_template`
+ * - `embed_template`
+ * - `frontpage_template`
+ * - `home_template`
+ * - `index_template`
+ * - `page_template`
+ * - `paged_template`
+ * - `privacypolicy_template`
+ * - `search_template`
+ * - `single_template`
+ * - `singular_template`
+ * - `tag_template`
+ * - `taxonomy_template`
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 1.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.8.0 The `$type` and `$templates` parameters were added.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $template Path to the template. See locate_template().
- * @param string $type Sanitized filename without extension.
- * @param array $templates A list of template candidates, in descending order of priority.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $template Path to the template. See locate_template().
+ * @param string $type Sanitized filename without extension.
+ * @param string[] $templates A list of template candidates, in descending order of priority.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> return apply_filters( "{$type}_template", $template, $type, $templates );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwploginphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-login.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-login.php 2021-03-07 11:54:53 UTC (rev 50504)
+++ trunk/src/wp-login.php 2021-03-07 12:30:38 UTC (rev 50505)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -430,9 +430,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Fires before a specified login form action.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$action`, refers to the action
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * that brought the visitor to the login form. Actions include 'postpass',
- * 'logout', 'lostpassword', etc.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * that brought the visitor to the login form.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Possible hook names include:
+ *
+ * - 'login_form_checkemail'
+ * - 'login_form_confirm_admin_email'
+ * - 'login_form_confirmaction'
+ * - 'login_form_entered_recovery_mode'
+ * - 'login_form_login'
+ * - 'login_form_logout'
+ * - 'login_form_lostpassword'
+ * - 'login_form_postpass'
+ * - 'login_form_register'
+ * - 'login_form_resetpass'
+ * - 'login_form_retrievepassword'
+ * - 'login_form_rp'
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( "login_form_{$action}" );
</span></span></pre>
</div>
</div>
</body>
</html>