Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
garrying committed Apr 30, 2024
1 parent 918c2f5 commit df78f0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocadu-illustration.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,9 @@ function wp_maintenance_mode() {
*/
function set_default_term_for_new_post( $post_id, $post ) {
if ( 'illustrator' === $post->post_type ) {
$taxonomy = 'gradyear';
$term_args = array(
'taxonomy' => 'gradyear',
'taxonomy' => $taxonomy,
'order' => 'DESC',
'parent' => 0,
'number' => 1,
Expand Down

0 comments on commit df78f0e

Please sign in to comment.