PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.8.9
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.8.9
4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 All 202 releases
← All changes | includes/Editors/Elementor/DocsArchive.php +2 -4 4.8.2 → 3.8.9 View file →
@@ -43,11 +43,9 @@
43 43 $post_type = 'docs';
44 44
45 45 $post_type_object = get_post_type_object( $post_type );
46 46
47 - if ( $post_type_object ) {
48 - $post_type_archives[ 'post_type_archive/' . $post_type ] = $post_type_object->label . ' ' . __( 'Archive', 'betterdocs' );
49 - }
47 + $post_type_archives[ 'post_type_archive/' . $post_type ] = $post_type_object->label . ' ' . __( 'Archive', 'betterdocs' );
50 48
51 49 $post_type_taxonomies = get_object_taxonomies( $post_type, 'objects' );
52 50
53 51 $post_type_taxonomies = wp_filter_object_list(
@@ -108,8 +106,8 @@
108 106 protected function get_remote_library_config() {
109 107 $config = parent::get_remote_library_config();
110 108
111 109 $config['category'] = 'Docs Archive';
112 - $config['urls']['thumbnail'] = plugins_url( '/assets/static/admin/images/customizer/customizer-preview.png', __FILE__ );
110 + $config['urls']['thumbnail'] = plugins_url( '/assets/admin/images/customizer/customizer-preview.png', __FILE__ );
113 111 return $config;
114 112 }
115 113 }