Linux biogene 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64
Apache
: 46.101.124.208 | : 3.21.122.130
Cant Read [ /etc/named.conf ]
5.6.40-0+deb8u12
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
biogenelab.eu /
public_html /
wp-includes /
[ HOME SHELL ]
Name
Size
Permission
Action
ID3
[ DIR ]
drwxrwsr-x
IXR
[ DIR ]
drwxrwsr-x
Requests
[ DIR ]
drwxrwsr-x
SimplePie
[ DIR ]
drwxrwsr-x
Text
[ DIR ]
drwxrwsr-x
certificates
[ DIR ]
drwxrwsr-x
css
[ DIR ]
drwxrwsr-x
customize
[ DIR ]
drwxrwsr-x
fonts
[ DIR ]
drwxrwsr-x
images
[ DIR ]
drwxrwsr-x
js
[ DIR ]
drwxrwsr-x
pomo
[ DIR ]
drwxrwsr-x
random_compat
[ DIR ]
drwxrwsr-x
rest-api
[ DIR ]
drwxrwsr-x
theme-compat
[ DIR ]
drwxrwsr-x
widgets
[ DIR ]
drwxrwsr-x
admin-bar.php
27.09
KB
-rwxrwxr-x
atomlib.php
11.56
KB
-rwxrwxr-x
author-template.php
15.2
KB
-rwxrwxr-x
bookmark-template.php
11.42
KB
-rwxrwxr-x
bookmark.php
13.35
KB
-rwxrwxr-x
cache.php
21.54
KB
-rwxrwxr-x
canonical.php
26.27
KB
-rwxrwxr-x
capabilities.php
23.48
KB
-rwxrwxr-x
category-template.php
50.76
KB
-rwxrwxr-x
category.php
11.7
KB
-rwxrwxr-x
class-IXR.php
2.51
KB
-rwxrwxr-x
class-feed.php
522
B
-rwxrwxr-x
class-http.php
35.52
KB
-rwxrwxr-x
class-json.php
39.52
KB
-rwxrwxr-x
class-oembed.php
29.19
KB
-rwxrwxr-x
class-phpass.php
7.15
KB
-rwxrwxr-x
class-phpmailer.php
143.34
KB
-rwxrwxr-x
class-pop3.php
20.43
KB
-rwxrwxr-x
class-requests.php
29.09
KB
-rwxrwxr-x
class-simplepie.php
87.17
KB
-rwxrwxr-x
class-smtp.php
38.55
KB
-rwxrwxr-x
class-snoopy.php
36.9
KB
-rwxrwxr-x
class-walker-category-dropdown...
2.11
KB
-rwxrwxr-x
class-walker-category.php
6.59
KB
-rwxrwxr-x
class-walker-comment.php
11.1
KB
-rwxrwxr-x
class-walker-nav-menu.php
8.23
KB
-rwxrwxr-x
class-walker-page-dropdown.php
2.28
KB
-rwxrwxr-x
class-walker-page.php
6.67
KB
-rwxrwxr-x
class-wp-admin-bar.php
16.43
KB
-rwxrwxr-x
class-wp-ajax-response.php
4.92
KB
-rwxrwxr-x
class-wp-comment-query.php
40.64
KB
-rwxrwxr-x
class-wp-comment.php
9.22
KB
-rwxrwxr-x
class-wp-customize-control.php
22.28
KB
-rwxrwxr-x
class-wp-customize-manager.php
145.64
KB
-rwxrwxr-x
class-wp-customize-nav-menus.p...
48.36
KB
-rwxrwxr-x
class-wp-customize-panel.php
9.65
KB
-rwxrwxr-x
class-wp-customize-section.php
9.93
KB
-rwxrwxr-x
class-wp-customize-setting.php
27.81
KB
-rwxrwxr-x
class-wp-customize-widgets.php
65.88
KB
-rwxrwxr-x
class-wp-dependency.php
1.64
KB
-rwxrwxr-x
class-wp-editor.php
58.52
KB
-rwxrwxr-x
class-wp-embed.php
11.8
KB
-rwxrwxr-x
class-wp-error.php
4.55
KB
-rwxrwxr-x
class-wp-feed-cache-transient....
2.64
KB
-rwxrwxr-x
class-wp-feed-cache.php
764
B
-rwxrwxr-x
class-wp-hook.php
14.12
KB
-rwxrwxr-x
class-wp-http-cookie.php
6.4
KB
-rwxrwxr-x
class-wp-http-curl.php
11.46
KB
-rwxrwxr-x
class-wp-http-encoding.php
6.29
KB
-rwxrwxr-x
class-wp-http-ixr-client.php
3.17
KB
-rwxrwxr-x
class-wp-http-proxy.php
5.82
KB
-rwxrwxr-x
class-wp-http-requests-hooks.p...
1.84
KB
-rwxrwxr-x
class-wp-http-requests-respons...
4.42
KB
-rwxrwxr-x
class-wp-http-response.php
3.02
KB
-rwxrwxr-x
class-wp-http-streams.php
14.6
KB
-rwxrwxr-x
class-wp-image-editor-gd.php
12.87
KB
-rwxrwxr-x
class-wp-image-editor-imagick....
21.47
KB
-rwxrwxr-x
class-wp-image-editor.php
11.74
KB
-rwxrwxr-x
class-wp-list-util.php
6.33
KB
-rwxrwxr-x
class-wp-locale-switcher.php
5.02
KB
-rwxrwxr-x
class-wp-locale.php
14.39
KB
-rwxrwxr-x
class-wp-matchesmapregex.php
1.87
KB
-rwxrwxr-x
class-wp-meta-query.php
22.16
KB
-rwxrwxr-x
class-wp-metadata-lazyloader.p...
5.36
KB
-rwxrwxr-x
class-wp-network-query.php
16.6
KB
-rwxrwxr-x
class-wp-network.php
10.05
KB
-rwxrwxr-x
class-wp-oembed-controller.php
5.25
KB
-rwxrwxr-x
class-wp-post-type.php
18.59
KB
-rwxrwxr-x
class-wp-post.php
5.71
KB
-rwxrwxr-x
class-wp-query.php
119.83
KB
-rwxrwxr-x
class-wp-rewrite.php
58.72
KB
-rwxrwxr-x
class-wp-role.php
2.66
KB
-rwxrwxr-x
class-wp-roles.php
6.42
KB
-rwxrwxr-x
class-wp-session-tokens.php
7.41
KB
-rwxrwxr-x
class-wp-simplepie-file.php
2.24
KB
-rwxrwxr-x
class-wp-simplepie-sanitize-ks...
1.75
KB
-rwxrwxr-x
class-wp-site-query.php
22.65
KB
-rwxrwxr-x
class-wp-site.php
7.5
KB
-rwxrwxr-x
class-wp-tax-query.php
19.34
KB
-rwxrwxr-x
class-wp-taxonomy.php
10.3
KB
-rwxrwxr-x
class-wp-term-query.php
32.49
KB
-rwxrwxr-x
class-wp-term.php
5.29
KB
-rwxrwxr-x
class-wp-text-diff-renderer-in...
712
B
-rwxrwxr-x
class-wp-text-diff-renderer-ta...
13.74
KB
-rwxrwxr-x
class-wp-theme.php
46.73
KB
-rwxrwxr-x
class-wp-user-meta-session-tok...
3
KB
-rwxrwxr-x
class-wp-user-query.php
29.17
KB
-rwxrwxr-x
class-wp-user.php
19.19
KB
-rwxrwxr-x
class-wp-walker.php
12.1
KB
-rwxrwxr-x
class-wp-widget-factory.php
3.81
KB
-rwxrwxr-x
class-wp-widget.php
17.76
KB
-rwxrwxr-x
class-wp-xmlrpc-server.php
195
KB
-rwxrwxr-x
class-wp.php
23.57
KB
-rwxrwxr-x
class.wp-dependencies.php
11.28
KB
-rwxrwxr-x
class.wp-scripts.php
14.34
KB
-rwxrwxr-x
class.wp-styles.php
9.94
KB
-rwxrwxr-x
comment-template.php
85.21
KB
-rwxrwxr-x
comment.php
99.8
KB
-rwxrwxr-x
compat.php
16.79
KB
-rwxrwxr-x
cron.php
15.57
KB
-rwxrwxr-x
date.php
34.55
KB
-rwxrwxr-x
default-constants.php
9.25
KB
-rwxrwxr-x
default-filters.php
25.16
KB
-rwxrwxr-x
default-widgets.php
2
KB
-rwxrwxr-x
deprecated.php
108.92
KB
-rwxrwxr-x
embed-template.php
344
B
-rwxrwxr-x
embed.php
42.64
KB
-rwxrwxr-x
feed-atom-comments.php
5.23
KB
-rwxrwxr-x
feed-atom.php
3.02
KB
-rwxrwxr-x
feed-rdf.php
2.61
KB
-rwxrwxr-x
feed-rss.php
1.22
KB
-rwxrwxr-x
feed-rss2-comments.php
3.97
KB
-rwxrwxr-x
feed-rss2.php
3.68
KB
-rwxrwxr-x
feed.php
19.07
KB
-rwxrwxr-x
formatting.php
185.8
KB
-rwxrwxr-x
functions.php
170.7
KB
-rwxrwxr-x
functions.wp-scripts.php
11.21
KB
-rwxrwxr-x
functions.wp-styles.php
7.89
KB
-rwxrwxr-x
general-template.php
123.12
KB
-rwxrwxr-x
http.php
21.69
KB
-rwxrwxr-x
kses.php
49.08
KB
-rwxrwxr-x
l10n.php
42.1
KB
-rwxrwxr-x
link-template.php
131.91
KB
-rwxrwxr-x
load.php
31.68
KB
-rwxrwxr-x
locale.php
141
B
-rwxrwxr-x
media-template.php
45.03
KB
-rwxrwxr-x
media.php
134.68
KB
-rwxrwxr-x
meta.php
36.55
KB
-rwxrwxr-x
ms-blogs.php
37.35
KB
-rwxrwxr-x
ms-default-constants.php
4.64
KB
-rwxrwxr-x
ms-default-filters.php
4.47
KB
-rwxrwxr-x
ms-deprecated.php
14.43
KB
-rwxrwxr-x
ms-files.php
2.56
KB
-rwxrwxr-x
ms-functions.php
80.63
KB
-rwxrwxr-x
ms-load.php
19.38
KB
-rwxrwxr-x
ms-settings.php
3.34
KB
-rwxrwxr-x
nav-menu-template.php
20.09
KB
-rwxrwxr-x
nav-menu.php
32.42
KB
-rwxrwxr-x
option.php
63
KB
-rwxrwxr-x
pluggable-deprecated.php
6.12
KB
-rwxrwxr-x
pluggable.php
85.84
KB
-rwxrwxr-x
plugin.php
30.55
KB
-rwxrwxr-x
post-formats.php
6.79
KB
-rwxrwxr-x
post-template.php
57.17
KB
-rwxrwxr-x
post-thumbnail-template.php
7.91
KB
-rwxrwxr-x
post.php
206.94
KB
-rwxrwxr-x
query.php
22.94
KB
-rwxrwxr-x
registration-functions.php
178
B
-rwxrwxr-x
registration.php
178
B
-rwxrwxr-x
rest-api.php
35.15
KB
-rwxrwxr-x
revision.php
20.81
KB
-rwxrwxr-x
rewrite.php
16.81
KB
-rwxrwxr-x
rss-functions.php
191
B
-rwxrwxr-x
rss.php
22.66
KB
-rwxrwxr-x
script-loader.php
67.87
KB
-rwxrwxr-x
session.php
242
B
-rwxrwxr-x
shortcodes.php
20.27
KB
-rwxrwxr-x
taxonomy.php
141.9
KB
-rwxrwxr-x
template-loader.php
2.83
KB
-rwxrwxr-x
template.php
19.14
KB
-rwxrwxr-x
theme.php
95.92
KB
-rw-r--r--
update.php
22.96
KB
-rwxrwxr-x
user.php
83.58
KB
-rwxrwxr-x
vars.php
5.22
KB
-rwxrwxr-x
version.php
617
B
-rwxrwxr-x
widgets.php
47.16
KB
-rwxrwxr-x
wlwmanifest.xml
1.02
KB
-rwxrwxr-x
wp-db.php
93.27
KB
-rwxrwxr-x
wp-diff-restful.php
4.18
KB
-rw-r--r--
wp-diff.php
661
B
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class.wp-scripts.php
<?php /** * Dependencies API: WP_Scripts class * * @since 2.6.0 * * @package WordPress * @subpackage Dependencies */ /** * Core class used to register scripts. * * @package WordPress * @uses WP_Dependencies * @since 2.1.0 */ class WP_Scripts extends WP_Dependencies { /** * Base URL for scripts. * * Full URL with trailing slash. * * @since 2.6.0 * @access public * @var string */ public $base_url; /** * URL of the content directory. * * @since 2.8.0 * @access public * @var string */ public $content_url; /** * Default version string for stylesheets. * * @since 2.6.0 * @access public * @var string */ public $default_version; /** * Holds handles of scripts which are enqueued in footer. * * @since 2.8.0 * @access public * @var array */ public $in_footer = array(); /** * Holds a list of script handles which will be concatenated. * * @since 2.8.0 * @access public * @var string */ public $concat = ''; /** * Holds a string which contains script handles and their version. * * @since 2.8.0 * @deprecated 3.4.0 * @access public * @var string */ public $concat_version = ''; /** * Whether to perform concatenation. * * @since 2.8.0 * @access public * @var bool */ public $do_concat = false; /** * Holds HTML markup of scripts and additional data if concatenation * is enabled. * * @since 2.8.0 * @access public * @var string */ public $print_html = ''; /** * Holds inline code if concatenation is enabled. * * @since 2.8.0 * @access public * @var string */ public $print_code = ''; /** * Holds a list of script handles which are not in the default directory * if concatenation is enabled. * * Unused in core. * * @since 2.8.0 * @access public * @var string */ public $ext_handles = ''; /** * Holds a string which contains handles and versions of scripts which * are not in the default directory if concatenation is enabled. * * Unused in core. * * @since 2.8.0 * @access public * @var string */ public $ext_version = ''; /** * List of default directories. * * @since 2.8.0 * @access public * @var array */ public $default_dirs; /** * Constructor. * * @since 2.6.0 * @access public */ public function __construct() { $this->init(); add_action( 'init', array( $this, 'init' ), 0 ); } /** * Initialize the class. * * @since 3.4.0 * @access public */ public function init() { /** * Fires when the WP_Scripts instance is initialized. * * @since 2.6.0 * * @param WP_Scripts &$this WP_Scripts instance, passed by reference. */ do_action_ref_array( 'wp_default_scripts', array(&$this) ); } /** * Prints scripts. * * Prints the scripts passed to it or the print queue. Also prints all necessary dependencies. * * @since 2.1.0 * @since 2.8.0 Added the `$group` parameter. * @access public * * @param mixed $handles Optional. Scripts to be printed. (void) prints queue, (string) prints * that script, (array of strings) prints those scripts. Default false. * @param int $group Optional. If scripts were queued in groups prints this group number. * Default false. * @return array Scripts that have been printed. */ public function print_scripts( $handles = false, $group = false ) { return $this->do_items( $handles, $group ); } /** * Prints extra scripts of a registered script. * * @since 2.1.0 * @since 2.8.0 Added the `$echo` parameter. * @deprecated 3.3.0 * @access public * * @see print_extra_script() * * @param string $handle The script's registered handle. * @param bool $echo Optional. Whether to echo the extra script instead of just returning it. * Default true. * @return bool|string|void Void if no data exists, extra scripts if `$echo` is true, true otherwise. */ public function print_scripts_l10n( $handle, $echo = true ) { _deprecated_function( __FUNCTION__, '3.3.0', 'print_extra_script()' ); return $this->print_extra_script( $handle, $echo ); } /** * Prints extra scripts of a registered script. * * @since 3.3.0 * @access public * * @param string $handle The script's registered handle. * @param bool $echo Optional. Whether to echo the extra script instead of just returning it. * Default true. * @return bool|string|void Void if no data exists, extra scripts if `$echo` is true, true otherwise. */ public function print_extra_script( $handle, $echo = true ) { if ( !$output = $this->get_data( $handle, 'data' ) ) return; if ( !$echo ) return $output; echo "<script type='text/javascript'>\n"; // CDATA and type='text/javascript' is not needed for HTML 5 echo "/* <![CDATA[ */\n"; echo "$output\n"; echo "/* ]]> */\n"; echo "</script>\n"; return true; } /** * Processes a script dependency. * * @since 2.6.0 * @since 2.8.0 Added the `$group` parameter. * @access public * * @see WP_Dependencies::do_item() * * @param string $handle The script's registered handle. * @param int|false $group Optional. Group level: (int) level, (false) no groups. Default false. * @return bool True on success, false on failure. */ public function do_item( $handle, $group = false ) { if ( !parent::do_item($handle) ) return false; if ( 0 === $group && $this->groups[$handle] > 0 ) { $this->in_footer[] = $handle; return false; } if ( false === $group && in_array($handle, $this->in_footer, true) ) $this->in_footer = array_diff( $this->in_footer, (array) $handle ); $obj = $this->registered[$handle]; if ( null === $obj->ver ) { $ver = ''; } else { $ver = $obj->ver ? $obj->ver : $this->default_version; } if ( isset($this->args[$handle]) ) $ver = $ver ? $ver . '&' . $this->args[$handle] : $this->args[$handle]; $src = $obj->src; $cond_before = $cond_after = ''; $conditional = isset( $obj->extra['conditional'] ) ? $obj->extra['conditional'] : ''; if ( $conditional ) { $cond_before = "<!--[if {$conditional}]>\n"; $cond_after = "<![endif]-->\n"; } $before_handle = $this->print_inline_script( $handle, 'before', false ); $after_handle = $this->print_inline_script( $handle, 'after', false ); if ( $before_handle ) { $before_handle = sprintf( "<script type='text/javascript'>\n%s\n</script>\n", $before_handle ); } if ( $after_handle ) { $after_handle = sprintf( "<script type='text/javascript'>\n%s\n</script>\n", $after_handle ); } if ( $this->do_concat ) { /** * Filters the script loader source. * * @since 2.2.0 * * @param string $src Script loader source path. * @param string $handle Script handle. */ $srce = apply_filters( 'script_loader_src', $src, $handle ); if ( $this->in_default_dir( $srce ) && ( $before_handle || $after_handle ) ) { $this->do_concat = false; // Have to print the so-far concatenated scripts right away to maintain the right order. _print_scripts(); $this->reset(); } elseif ( $this->in_default_dir( $srce ) && ! $conditional ) { $this->print_code .= $this->print_extra_script( $handle, false ); $this->concat .= "$handle,"; $this->concat_version .= "$handle$ver"; return true; } else { $this->ext_handles .= "$handle,"; $this->ext_version .= "$handle$ver"; } } $has_conditional_data = $conditional && $this->get_data( $handle, 'data' ); if ( $has_conditional_data ) { echo $cond_before; } $this->print_extra_script( $handle ); if ( $has_conditional_data ) { echo $cond_after; } // A single item may alias a set of items, by having dependencies, but no source. if ( ! $obj->src ) { return true; } if ( ! preg_match( '|^(https?:)?//|', $src ) && ! ( $this->content_url && 0 === strpos( $src, $this->content_url ) ) ) { $src = $this->base_url . $src; } if ( ! empty( $ver ) ) $src = add_query_arg( 'ver', $ver, $src ); /** This filter is documented in wp-includes/class.wp-scripts.php */ $src = esc_url( apply_filters( 'script_loader_src', $src, $handle ) ); if ( ! $src ) return true; $tag = "{$cond_before}{$before_handle}<script type='text/javascript' src='$src'></script>\n{$after_handle}{$cond_after}"; /** * Filters the HTML script tag of an enqueued script. * * @since 4.1.0 * * @param string $tag The `<script>` tag for the enqueued script. * @param string $handle The script's registered handle. * @param string $src The script's source URL. */ $tag = apply_filters( 'script_loader_tag', $tag, $handle, $src ); if ( $this->do_concat ) { $this->print_html .= $tag; } else { echo $tag; } return true; } /** * Adds extra code to a registered script. * * @since 4.5.0 * @access public * * @param string $handle Name of the script to add the inline script to. Must be lowercase. * @param string $data String containing the javascript to be added. * @param string $position Optional. Whether to add the inline script before the handle * or after. Default 'after'. * @return bool True on success, false on failure. */ public function add_inline_script( $handle, $data, $position = 'after' ) { if ( ! $data ) { return false; } if ( 'after' !== $position ) { $position = 'before'; } $script = (array) $this->get_data( $handle, $position ); $script[] = $data; return $this->add_data( $handle, $position, $script ); } /** * Prints inline scripts registered for a specific handle. * * @since 4.5.0 * @access public * * @param string $handle Name of the script to add the inline script to. Must be lowercase. * @param string $position Optional. Whether to add the inline script before the handle * or after. Default 'after'. * @param bool $echo Optional. Whether to echo the script instead of just returning it. * Default true. * @return string|false Script on success, false otherwise. */ public function print_inline_script( $handle, $position = 'after', $echo = true ) { $output = $this->get_data( $handle, $position ); if ( empty( $output ) ) { return false; } $output = trim( implode( "\n", $output ), "\n" ); if ( $echo ) { printf( "<script type='text/javascript'>\n%s\n</script>\n", $output ); } return $output; } /** * Localizes a script, only if the script has already been added. * * @since 2.1.0 * @access public * * @param string $handle * @param string $object_name * @param array $l10n * @return bool */ public function localize( $handle, $object_name, $l10n ) { if ( $handle === 'jquery' ) $handle = 'jquery-core'; if ( is_array($l10n) && isset($l10n['l10n_print_after']) ) { // back compat, preserve the code in 'l10n_print_after' if present $after = $l10n['l10n_print_after']; unset($l10n['l10n_print_after']); } foreach ( (array) $l10n as $key => $value ) { if ( !is_scalar($value) ) continue; $l10n[$key] = html_entity_decode( (string) $value, ENT_QUOTES, 'UTF-8'); } $script = "var $object_name = " . wp_json_encode( $l10n ) . ';'; if ( !empty($after) ) $script .= "\n$after;"; $data = $this->get_data( $handle, 'data' ); if ( !empty( $data ) ) $script = "$data\n$script"; return $this->add_data( $handle, 'data', $script ); } /** * Sets handle group. * * @since 2.8.0 * @access public * * @see WP_Dependencies::set_group() * * @param string $handle Name of the item. Should be unique. * @param bool $recursion Internal flag that calling function was called recursively. * @param int|false $group Optional. Group level: (int) level, (false) no groups. Default false. * @return bool Not already in the group or a lower group */ public function set_group( $handle, $recursion, $group = false ) { if ( isset( $this->registered[$handle]->args ) && $this->registered[$handle]->args === 1 ) $grp = 1; else $grp = (int) $this->get_data( $handle, 'group' ); if ( false !== $group && $grp > $group ) $grp = $group; return parent::set_group( $handle, $recursion, $grp ); } /** * Determines script dependencies. * * @since 2.1.0 * @access public * * @see WP_Dependencies::all_deps() * * @param mixed $handles Item handle and argument (string) or item handles and arguments (array of strings). * @param bool $recursion Internal flag that function is calling itself. * @param int|false $group Optional. Group level: (int) level, (false) no groups. Default false. * @return bool True on success, false on failure. */ public function all_deps( $handles, $recursion = false, $group = false ) { $r = parent::all_deps( $handles, $recursion, $group ); if ( ! $recursion ) { /** * Filters the list of script dependencies left to print. * * @since 2.3.0 * * @param array $to_do An array of script dependencies. */ $this->to_do = apply_filters( 'print_scripts_array', $this->to_do ); } return $r; } /** * Processes items and dependencies for the head group. * * @since 2.8.0 * @access public * * @see WP_Dependencies::do_items() * * @return array Handles of items that have been processed. */ public function do_head_items() { $this->do_items(false, 0); return $this->done; } /** * Processes items and dependencies for the footer group. * * @since 2.8.0 * @access public * * @see WP_Dependencies::do_items() * * @return array Handles of items that have been processed. */ public function do_footer_items() { $this->do_items(false, 1); return $this->done; } /** * Whether a handle's source is in a default directory. * * @since 2.8.0 * @access public * * @param string $src The source of the enqueued script. * @return bool True if found, false if not. */ public function in_default_dir( $src ) { if ( ! $this->default_dirs ) { return true; } if ( 0 === strpos( $src, '/' . WPINC . '/js/l10n' ) ) { return false; } foreach ( (array) $this->default_dirs as $test ) { if ( 0 === strpos( $src, $test ) ) { return true; } } return false; } /** * Resets class properties. * * @since 2.8.0 * @access public */ public function reset() { $this->do_concat = false; $this->print_code = ''; $this->concat = ''; $this->concat_version = ''; $this->print_html = ''; $this->ext_version = ''; $this->ext_handles = ''; } }
Close