• Resolved dmccan

    (@dmccan)


    I have seen plugins that include core and admin in a PHP popup. For example, when the PHP file does not otherwise have access to WP functionality, such as when included in a tinyMCE popup:

    require_once(‘../../../wp-load.php’);
    require_once( ‘../../../wp-admin/admin.php’);

    Path issues aside, is it acceptable to include wp-load.php and wp-admin.php this way?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Is loading wp-load.php and admin.php in your popup acceptable?’ is closed to new replies.