WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18951, comment 17


Ignore:
Timestamp:
10/27/2014 10:13:05 AM (5 years ago)
Author:
F J Kaiser
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18951, comment 17

    initial v1  
    1 A theme that uses post thumbnails would force the user to always have a post thumbnail - or break layout. The proposed function would make that much easier for theme authors. The only other way currently is to add a pretty complicated callback to the [https://github.com/WordPress/WordPress/blob/4.0/wp-includes/meta.php#L466 get_{$meta_type}_metadata] filter.
     1A theme that uses post thumbnails would force the user to always have a post thumbnail - or break layout. The proposed function would make that much easier for theme authors. The other way currently is to add a pretty complicated callback to the [https://github.com/WordPress/WordPress/blob/4.0/wp-includes/meta.php#L466 get_{$meta_type}_metadata] filter (explanation or example on demand).
    22
    33Use case/Example: