Changeset 56177 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 07/09/2023 08:15:03 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r55276 r56177 608 608 $dropdown = str_replace( '<select', '<select ' . $this->get_link() . ' id="' . esc_attr( $input_id ) . '" ' . $describedby_attr, $dropdown ); 609 609 610 // Even more hacikly add auto-draft page stubs. 611 // @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>. 610 /* 611 * Even more hacikly add auto-draft page stubs. 612 * @todo Eventually this should be removed in favor of the pages being injected into the underlying get_pages() call. 613 * See <https://github.com/xwp/wp-customize-posts/pull/250>. 614 */ 612 615 $nav_menus_created_posts_setting = $this->manager->get_setting( 'nav_menus_created_posts' ); 613 616 if ( $nav_menus_created_posts_setting && current_user_can( 'publish_pages' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.