~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-admin/load-styles.php

  • Committer: Barry Price
  • Date: 2016-08-17 04:50:12 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: barry.price@canonical.com-20160817045012-qfui81zhqnqv2ba9
Merge WP4.6 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
error_reporting(0);
9
9
 
10
10
/** Set ABSPATH for execution */
11
 
define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' );
 
11
if ( ! defined( 'ABSPATH' ) ) {
 
12
        define( 'ABSPATH', dirname( dirname( __FILE__ ) ) . '/' );
 
13
}
 
14
 
12
15
define( 'WPINC', 'wp-includes' );
13
16
 
14
17
require( ABSPATH . 'wp-admin/includes/noop.php' );