Docs: Replace multiple single line comments with multi-line comments.
This changeset updates various comments as per WordPress PHP Inline Documentation Standards. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments. Follow-up to [56174], [56175], [56176]. Props costdev, audrasjb. See #58459. Built from https://develop.svn.wordpress.org/trunk@56177 git-svn-id: http://core.svn.wordpress.org/trunk@55689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -607,8 +607,11 @@ class WP_Customize_Control {
|
||||
// Hackily add in the data link parameter.
|
||||
$dropdown = str_replace( '<select', '<select ' . $this->get_link() . ' id="' . esc_attr( $input_id ) . '" ' . $describedby_attr, $dropdown );
|
||||
|
||||
// Even more hacikly add auto-draft page stubs.
|
||||
// @todo Eventually this should be removed in favor of the pages being injected into the underlying get_pages() call. See <https://github.com/xwp/wp-customize-posts/pull/250>.
|
||||
/*
|
||||
* Even more hacikly add auto-draft page stubs.
|
||||
* @todo Eventually this should be removed in favor of the pages being injected into the underlying get_pages() call.
|
||||
* See <https://github.com/xwp/wp-customize-posts/pull/250>.
|
||||
*/
|
||||
$nav_menus_created_posts_setting = $this->manager->get_setting( 'nav_menus_created_posts' );
|
||||
if ( $nav_menus_created_posts_setting && current_user_can( 'publish_pages' ) ) {
|
||||
$auto_draft_page_options = '';
|
||||
|
||||
Reference in New Issue
Block a user