at path:
ROOT
/
wp-content
/
plugins
/
jetpack
/
3rd-party
/
bitly.php
run:
R
W
Run
debug-bar
DIR
2026-04-17 06:07:54
R
W
Run
3rd-party.php
2.9 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
amp.php
792 By
2026-04-17 06:07:54
R
W
Run
Delete
Rename
atomic.php
1.04 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
bbpress.php
2.08 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
beaverbuilder.php
524 By
2026-04-17 06:07:54
R
W
Run
Delete
Rename
bitly.php
1 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
buddypress.php
550 By
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class-domain-mapping.php
4.17 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class-jetpack-bbpress-rest-api.php
4.39 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-amp-support.php
16 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
creative-mail.php
3.26 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
debug-bar.php
780 By
2026-04-17 06:07:54
R
W
Run
Delete
Rename
jetpack-backup.php
2.75 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
jetpack-boost.php
2.8 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
qtranslate-x.php
681 By
2026-04-17 06:07:54
R
W
Run
Delete
Rename
vaultpress.php
2.15 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
web-stories.php
979 By
2026-04-17 06:07:54
R
W
Run
Delete
Rename
woocommerce-services.php
3.45 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
woocommerce.php
3.82 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
wpcom-reader.php
1.79 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
wpml.php
1.64 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
error_log
up
📄
bitly.php
Save
<?php /** * Fixes issues with the Official Bitly for WordPress * https://wordpress.org/plugins/bitly/ * * @package automattic/jetpack */ if ( ! defined( 'ABSPATH' ) ) { exit( 0 ); } 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 ); } /** * Adds bitly OG tags. */ 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 && method_exists( $GLOBALS['bitly'], 'get_bitly_link_for_post_id' ) ) { printf( "<meta property=\"bitly:url\" content=\"%s\" /> \n", esc_attr( $GLOBALS['bitly']->get_bitly_link_for_post_id( $GLOBALS['posts'][0]->ID ) ) ); } }