} } $queue = array_pop( $queues ); } $this->all_queued_deps = $all_deps; return isset( $this->all_queued_deps[ $handle ] ); } /** * Query the list for an item. * * @since 2.1.0 * @since 2.6.0 Moved from `WP_Scripts`. * * @param string $handle Name of the item. Should be unique. * @param string $status Optional. Status of the item to query. Default 'registered'. * @return bool|_WP_Dependency Found, or object Item data. */ public function query( $handle, $status = 'registered' ) { switch ( $status ) { case 'registered': case 'scripts': // Back compat. if ( isset( $this->registered[ $handle ] ) ) { return $this->registered[ $handle ]; } return false; case 'enqueued': case 'queue': // Back compat. if ( in_array( $handle, $this->queue, true ) ) { return true; } return $this->recurse_deps( $this->queue, $handle ); case 'to_do': case 'to_print': // Back compat. return in_array( $handle, $this->to_do, true ); case 'done': case 'printed': // Back compat. return in_array( $handle, $this->done, true ); } return false; } /** * Set item group, unless already in a lower group. * * @since 2.8.0 * * @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 Group level: level (int), no group (false). * @return bool Not already in the group or a lower group. */ public function set_group( $handle, $recursion, $group ) { $group = (int) $group; if ( isset( $this->groups[ $handle ] ) && $this->groups[ $handle ] <= $group ) { return false; } $this->groups[ $handle ] = $group; return true; } }
Fatal error: Uncaught Error: Class 'WP_Dependencies' not found in /home/tourismg/public_html/wp-includes/class-wp-scripts.php:18 Stack trace: #0 /home/tourismg/public_html/wp-includes/script-loader.php(26): require() #1 /home/tourismg/public_html/wp-settings.php(236): require('/home/tourismg/...') #2 /home/tourismg/public_html/wp-config.php(96): require_once('/home/tourismg/...') #3 /home/tourismg/public_html/wp-load.php(50): require_once('/home/tourismg/...') #4 /home/tourismg/public_html/wp-blog-header.php(13): require_once('/home/tourismg/...') #5 /home/tourismg/public_html/index.php(17): require('/home/tourismg/...') #6 {main} thrown in /home/tourismg/public_html/wp-includes/class-wp-scripts.php on line 18

Fatal error: Uncaught Error: Call to a member function set() on null in /home/tourismg/public_html/wp-includes/l10n.php:850 Stack trace: #0 /home/tourismg/public_html/wp-includes/l10n.php(953): load_textdomain() #1 /home/tourismg/public_html/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /home/tourismg/public_html/wp-includes/l10n.php on line 850