diff --git a/src/bbpress.php b/src/bbpress.php index 9ff73dcb..46da4c22 100644 --- a/src/bbpress.php +++ b/src/bbpress.php @@ -623,6 +623,8 @@ public static function register_post_types() { * replies can be viewed from within the theme. * * @since 2.0.0 bbPress (r2727) + * + * @global WP_Post_Status[] $wp_post_statuses */ public static function register_post_statuses() { diff --git a/src/includes/admin/common.php b/src/includes/admin/common.php index 990011fc..13bed9ac 100644 --- a/src/includes/admin/common.php +++ b/src/includes/admin/common.php @@ -16,6 +16,8 @@ * Add a separator to the WordPress admin menus. * * @since 2.0.0 bbPress (r2957) + * + * @global menu $menu */ function bbp_admin_separator() { diff --git a/src/includes/core/cache.php b/src/includes/core/cache.php index 4d9af64c..b4878b04 100644 --- a/src/includes/core/cache.php +++ b/src/includes/core/cache.php @@ -85,6 +85,8 @@ public function pre_post_update( $post_id = 0 ) { * * @since 2.1.0 bbPress (r4011) * + * @global bool $_wp_suspend_cache_invalidation + * * @param int $post_id The post ID of the cache being invalidated. */ public function skip_related_posts( $post_id = 0 ) {