Make WordPress Core

Ticket #45955: 45955.diff

File 45955.diff, 610 bytes (added by mukesh27, 6 years ago)

Patch to change theme filter priority

  • wp-content/themes/twentynineteen/inc/template-functions.php

    diff --git a/wp-content/themes/twentynineteen/inc/template-functions.php b/wp-content/themes/twentynineteen/inc/template-functions.php
    index 2dbd0c5..461ff7b 100644
    a b function twentynineteen_get_the_archive_title() { 
    9393        }
    9494        return $title;
    9595}
    96 add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' );
     96add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title', 1 );
    9797
    9898/**
    9999 * Determines if post thumbnail can be displayed.