'items_list_navigation' => array( __( 'Posts list navigation' ), __( 'Pages list navigation' ) ),
'items_list' => array( __( 'Posts list' ), __( 'Pages list' ) ),
'item_published' => array( __( 'Post published.' ), __( 'Page published.' ) ),
'item_published_privately' => array( __( 'Post published privately.' ), __( 'Page published privately.' ) ),
'item_reverted_to_draft' => array( __( 'Post reverted to draft.' ), __( 'Page reverted to draft.' ) ),
'item_trashed' => array( __( 'Post trashed.' ), __( 'Page trashed.' ) ),
'item_scheduled' => array( __( 'Post scheduled.' ), __( 'Page scheduled.' ) ),
'item_updated' => array( __( 'Post updated.' ), __( 'Page updated.' ) ),
'item_link' => array(
_x( 'Post Link', 'navigation link block title' ),
_x( 'Page Link', 'navigation link block title' ),
),
'item_link_description' => array(
_x( 'A link to a post.', 'navigation link block description' ),
_x( 'A link to a page.', 'navigation link block description' ),
),
);
return self::$default_labels;
}
/**
* Resets the cache for the default labels.
*
* @since 6.0.0
*/
public static function reset_default_labels() {
self::$default_labels = array();
}
}
Fatal error: Uncaught Error: Class 'WP_Post_Type' not found in /home/islamicf/public_html/wp-includes/post.php:21
Stack trace:
#0 /home/islamicf/public_html/wp-settings.php(500): create_initial_post_types()
#1 /home/islamicf/public_html/wp-config.php(99): require_once('/home/islamicf/...')
#2 /home/islamicf/public_html/wp-load.php(50): require_once('/home/islamicf/...')
#3 /home/islamicf/public_html/wp-blog-header.php(13): require_once('/home/islamicf/...')
#4 /home/islamicf/public_html/index.php(17): require('/home/islamicf/...')
#5 {main}
thrown in /home/islamicf/public_html/wp-includes/post.php on line 21