Benign wordpress Download

Breadcrumb Widget Pro 1.0.0

Emits data with a PHP echo statementWordPress JSON serialization
SHA-2563a880974ebc06ddb228b1b1a2dae2bbd0090a4fe31de3af6525ec2886a3c4617
MaleculeH₂(DbOs)

Evidence

WordPress plugin directory constants (ABSPATH) lines 1–8
1<?php
2if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4}
⋯4 lines
Gets and cleans output buffer lines 843–850
843:35… ( $settings['separator_icon']['value'] ) ) {
844 ob_start();
845 Icons_Manager::render_icon( $settings['separator_icon'], array( 'aria-hidden' => 'true' ) );
846 return ob_get_clean();
847 }
848
849 if ( 'svg' === $type && ! empty( $settings['separator_svg']['url'] ) ) {
850 return '< …
WordPress JSON serialization lines 871–884
⋯6 lines
877 );
878
879 echo '<script type="application/ld+json">' . wp_json_encode( $schema ) . '</script>';
880 }
881
882 /* =========================================================
883 * RENDER
884 * ============================================= …
Emits data with a PHP echo statement lines 897–926
897:35… separator( $settings );
898 $total = count( $items );
899
900 echo '<nav class="breadcrumb-widget-pro" aria-label="' . esc_attr__( 'Breadcrumb', 'breadcrumb-widget-pro' ) . '">';
901 echo '<ol class="breadcrumb-widget-pro-list">';
902
903 foreach ( $items as $i => $item ) {
904 $is_current = ! empty( $item['current'] ) || ( $i === $total - 1 );
905 $is_home = ! empty( $item['home'] );
906
907 echo '<li class="breadcrumb-widget-pro-item' . ( $is_current ? ' bwp-current' : '' ) . '">';
908
909 $label_html = '';
910 if ( $is_home && 'yes' === $settings['show_home_icon'] && ! empty( $settings['home_icon']['value'] ) ) {
911 ob_start();
912 echo '<span class="breadcrumb-widget-pro-home-icon">';
913 Icons_Manager::render_icon( $settings['home_icon'], array( 'aria-hidden' => 'true' ) );
914 echo '</span>';
915 if ( 'yes' !== $settings['hide_home_label'] ) {
916 echo esc_html( $item['label'] );
917 }
918 $label_html = ob_get_clean();
919 } else {
920 $label_html = esc_html( $item['label'] );
921 }
922
923 if ( ! $is_current && ! empty( $item['url'] ) ) {
924 echo '<a href="' . esc_url( $item['url'] ) . '">' . $label_html . '</a>'; // phpcs:ignore WordPress.Security.EscapeOutput
925 } else {
926 echo '<span aria-current="page">' . $label_html . '</span>'; // …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.