Making WordPress.org


Ignore:
Timestamp:
10/07/2021 07:32:58 PM (3 years ago)
Author:
coreymckrill
Message:

WordPress.org Learn: Sync with GitHub

Props coreymckrill, iandunn

https://github.com/WordPress/learn/compare/01d376977b40af2d2e1d50e7d4eb2efbd07811d1...1b62e06cdd98e1e4b7d386a453f3021412fad3d5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-type.php

    r11241 r11269  
    7575        'exclude_from_search' => false,
    7676        'publicly_queryable'  => true,
    77         'capability_type'     => 'page',
     77        'capability_type'     => array( 'lesson_plan', 'lesson_plans' ),
     78        'map_meta_cap'        => true,
    7879        'show_in_rest'        => true,
    7980    );
     
    145146        'exclude_from_search' => false,
    146147        'publicly_queryable'  => true,
    147         'capability_type'     => 'page',
     148        'capability_type'     => array( 'workshop', 'workshops' ),
     149        'map_meta_cap'        => true,
    148150        'show_in_rest'        => true,
    149151        'rewrite'             => array( 'slug' => 'workshop' ),
Note: See TracChangeset for help on using the changeset viewer.