[wp-trac] [WordPress Trac] #31374: Twenty Fourteen: twentyfourteen_post_thumbnail() should be pluggable

WordPress Trac noreply at wordpress.org
Fri Feb 20 10:56:40 UTC 2015


#31374: Twenty Fourteen: twentyfourteen_post_thumbnail() should be pluggable
----------------------------------+---------------------------
 Reporter:  WordPressor.ru        |       Owner:  lancewillett
     Type:  defect (bug)          |      Status:  closed
 Priority:  normal                |   Milestone:  4.2
Component:  Bundled Theme         |     Version:  4.1
 Severity:  normal                |  Resolution:  fixed
 Keywords:  has-patch needs-docs  |     Focuses:  template
----------------------------------+---------------------------

Comment (by SergeyBiryukov):

 Let's create a new ticket for `twentyfourteen_categorized_blog()` then.

 A workaround:
 {{{
 function wp31374_override_twentyfourteen_categorized_blog() {
         return 1;
 }
 add_filter( 'pre_transient_twentyfourteen_category_count',
 'wp31374_override_twentyfourteen_categorized_blog' );
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31374#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list