Index: /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
===================================================================
--- /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php (revision 8685)
+++ /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php (revision 8686)
@@ -72,4 +72,7 @@
// Docs Importer base class.
require __DIR__ . '/inc/import-docs.php';
+
+ // Coding Standards handbook.
+ require __DIR__ . '/inc/import-coding-standards.php';
}
Index: /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-coding-standards.php
===================================================================
--- /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-coding-standards.php (revision 8686)
+++ /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-coding-standards.php (revision 8686)
@@ -0,0 +1,35 @@
+get_post_type() === $post_type ) {
+ $label = __( 'Coding Standards Handbook', 'wporg' );
+ }
+
+ return $label;
+ }
+}
+
+DevHub_Coding_Standards_Importer::instance()->init();
Index: /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
===================================================================
--- /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php (revision 8685)
+++ /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php (revision 8686)
@@ -653,4 +653,6 @@
case 'cli':
return __( 'WP-CLI Commands', 'wporg' );
+ case 'coding-standards':
+ return __( 'Coding Standards Handbook', 'wporg' );
case 'rest-api':
return __( 'REST API Handbook', 'wporg' );
Index: /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-wpcs-handbook.php
===================================================================
--- /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-wpcs-handbook.php (revision 8686)
+++ /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-wpcs-handbook.php (revision 8686)
@@ -0,0 +1,26 @@
+
+
+
+
+ role="main">
+
+
+
+
+
+
+
+
+
+
+
+
+
+