Skip to content

Commit

Permalink
Add code comment with link to core changeset
Browse files Browse the repository at this point in the history
Preserve a little bit of history in the codebase, in case there are
questions later (or the core changeset is reverted).
  • Loading branch information
goldenapples committed Jan 21, 2016
1 parent 0cb0468 commit 357427f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fieldmanager.php
Expand Up @@ -355,7 +355,7 @@ function fm_calculate_context() {
break;
// Context = "term".
case 'edit-tags.php':
case 'term.php':
case 'term.php': // As of 4.5-alpha; see https://core.trac.wordpress.org/changeset/36308
if ( !empty( $_POST['taxonomy'] ) ) {
$calculated_context = array( 'term', sanitize_text_field( $_POST['taxonomy'] ) );
} elseif ( !empty( $_GET['taxonomy'] ) ) {
Expand Down

0 comments on commit 357427f

Please sign in to comment.