WordPress.org

Making WordPress.org


Ignore:
Timestamp:
04/01/2019 02:31:50 PM (12 months ago)
Author:
vedjain
Message:

WordCamp Block: Add excerpt support to Sponsor block for consistency

We already support excerpt in Speakers, Sessions and (WIP) Organizer block. This patch also adds support to show excerpt in Sponsor Block, thereby ensuring consistency among all blocks.

Fixes https://github.com/WordPress/wordcamp.org/issues/38

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/wc-post-types.php

    r8537 r8559  
    22952295                    'with_front' => false,
    22962296                ),
    2297                 'supports'        => array( 'title', 'editor', 'revisions', 'thumbnail', 'custom-fields' ),
     2297                'supports'        => array( 'title', 'editor', 'excerpt', 'revisions', 'thumbnail', 'custom-fields' ),
    22982298                'menu_position'   => 21,
    22992299                'public'          => true,
Note: See TracChangeset for help on using the changeset viewer.