• Resolved wpuser000

    (@wpuser000)


    Merry Christmas!

    Minor bug that may be specific to my configuration (PHP 7.4.21):

    If the rich text editor is enabled in USP settings, when editing a post/page that contains the USP shortcode the dashboard icons disappear (the dashicons css doesn’t load at all for some reason – ‘dashicons’ is missing in the load-styles.php URL query, and with CONCATENATE_SCRIPTS disabled in wp-config.php the dashicons.min.css tag is missing in the page header).

    Other settings or disabling other plugins didn’t make a difference, so I’m 99% sure the rich text editor setting is the cause.

    Anyway not a big deal just wanted to let you know about it, I’m just glad it wasn’t malware that caused it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hey thanks for sharing this information, @wpuser000. I will investigate this for the next plugin update and try to resolve any issue. Please let me know if any related infos, feedback, etc. Thank you and likewise Merry Christmas!

    Thread Starter wpuser000

    (@wpuser000)

    I used the Query Monitor plugin which showed these PHP warnings when editing a post containing the USP shortcode:

    is_file(): open_basedir restriction in effect. File(/en.js) is not within the allowed path(s): (<path-above-my-wordpress-install>) (Component - Plugin: user-submitted-posts)
    is_file()
    	wp-includes/class-wp-editor.php:515
    _WP_Editors::editor_settings()
    	wp-includes/class-wp-editor.php:307
    _WP_Editors::editor()
    	wp-includes/general-template.php:3520
    wp_editor()
    	wp-content/plugins/user-submitted-posts/views/submission-form.php:112
    usp_display_form()
    	wp-includes/shortcodes.php:356
    do_shortcode_tag()
    	Unknown location
    preg_replace_callback()
    	wp-includes/shortcodes.php:228
    do_shortcode()
    	wp-includes/class-wp-hook.php:303
    apply_filters('the_content')
    	wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1792
    WP_REST_Posts_Controller->prepare_item_for_response()
    	wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:550
    WP_REST_Posts_Controller->get_item()
    	wp-includes/rest-api/class-wp-rest-server.php:1140
    WP_REST_Server->respond_to_request()
    	wp-includes/rest-api/class-wp-rest-server.php:987
    WP_REST_Server->dispatch()
    	wp-includes/rest-api.php:495
    rest_do_request()
    	wp-includes/rest-api.php:2832
    rest_preload_api_request()
    	Unknown location
    array_reduce()
    	wp-includes/block-editor.php:444
    block_editor_rest_api_preload()
    	wp-admin/edit-form-blocks.php:68
    
    is_file(): open_basedir restriction in effect. File(/en_dlg.js) is not within the allowed path(s): (<path-above-my-wordpress-install>) (Component - Plugin: user-submitted-posts)
    	<same as above>

    I hope this is helpful!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dashboard icons disappear in post editor when USP rich text editor enabled’ is closed to new replies.