Making WordPress.org


Ignore:
Timestamp:
08/01/2024 09:29:33 PM (2 years ago)
Author:
renyot
Message:

Learn: Sync with git WordPress/learn@59cde32

File:
1 edited

Legend:

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

    r12261 r13941  
    253253        $post_types[] = 'lesson-plan';
    254254        $post_types[] = 'wporg_workshop';
     255        // The "lesson" has been excluded in Sensei LMS, but it is needed in Learn.
     256        // See https://github.com/Automattic/sensei/blob/trunk/includes/class-sensei-posttypes.php#L25.
     257        $post_types[] = 'lesson';
    255258
    256259        return $post_types;
Note: See TracChangeset for help on using the changeset viewer.