summaryrefslogtreecommitdiff
path: root/www/crm/wp-admin/includes/template.php
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2019-10-04 16:03:20 -0300
committerYaco <franco@reevo.org>2019-10-04 16:03:20 -0300
commitac6bedd68a70d744a927494351100e6bfabfe14e (patch)
tree7a9a7967a6244008edbc27055b205d936cb45b02 /www/crm/wp-admin/includes/template.php
parentb25b94b8b0aacab5a5a38bb107201c7f92c083ab (diff)
Actualiza WP a 5.2.3
Diffstat (limited to 'www/crm/wp-admin/includes/template.php')
-rw-r--r--www/crm/wp-admin/includes/template.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/crm/wp-admin/includes/template.php b/www/crm/wp-admin/includes/template.php
index a06f9228..d6a705ea 100644
--- a/www/crm/wp-admin/includes/template.php
+++ b/www/crm/wp-admin/includes/template.php
@@ -1122,7 +1122,13 @@ function do_block_editor_incompatible_meta_box( $object, $box ) {
echo '</p>';
}
} elseif ( $object instanceof WP_Post ) {
- $edit_url = add_query_arg( 'classic-editor', '', get_edit_post_link( $object ) );
+ $edit_url = add_query_arg(
+ array(
+ 'classic-editor' => '',
+ 'classic-editor__forget' => '',
+ ),
+ get_edit_post_link( $object )
+ );
echo '<p>';
/* translators: %s: A link to use the Classic Editor plugin. */
printf( __( 'Please open the <a href="%s">classic editor</a> to use this meta box.' ), esc_url( $edit_url ) );
@@ -1605,7 +1611,7 @@ function do_settings_sections( $page ) {
if ( ! isset( $wp_settings_fields ) || ! isset( $wp_settings_fields[ $page ] ) || ! isset( $wp_settings_fields[ $page ][ $section['id'] ] ) ) {
continue;
}
- echo '<table class="form-table">';
+ echo '<table class="form-table" role="presentation">';
do_settings_fields( $page, $section['id'] );
echo '</table>';
}