WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / allgauhupfer / wp-admin / includes / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/allgauhupfer/wp-admin/includes/class-wp-links-list-table.php (9.02 KB)
<?php
/**
 * List Table API: WP_Links_List_Table class
 *
 * @package WordPress
 * @subpackage Administration
 * @since 3.1.0
 */

/**
 * Core class used to implement displaying links in a list table.
 *
 * @since 3.1.0
 *
 * @see WP_List_Table
 */
class WP_Links_List_Table extends WP_List_Table {

	/**
	 * Constructor.
	 *
	 * @since 3.1.0
	 *
	 * @see WP_List_Table::__construct() for more information on default arguments.
	 *
	 * @param array $args An associative array of arguments.
	 */
	public function __construct( $args = array() ) {
		parent::__construct(
			array(
				'plural' => 'bookmarks',
				'screen' => isset( $args['screen'] ) ? $args['screen'] : null,
			)
		);
	}

	/**
	 * @return bool
	 */
	public function ajax_user_can() {
		return current_user_can( 'manage_links' );
	}

	/**
	 * @global int    $cat_id
	 * @global string $s
	 * @global string $orderby
	 * @global string $order
	 */
	public function prepare_items() {
		global $cat_id, $s, $orderby, $order;

		$cat_id  = ! empty( $_REQUEST['cat_id'] ) ? absint( $_REQUEST['cat_id'] ) : 0;
		$orderby = ! empty( $_REQUEST['orderby'] ) ? sanitize_text_field( $_REQUEST['orderby'] ) : '';
		$order   = ! empty( $_REQUEST['order'] ) ? sanitize_text_field( $_REQUEST['order'] ) : '';
		$s       = ! empty( $_REQUEST['s'] ) ? sanitize_text_field( $_REQUEST['s'] ) : '';

		$args = array(
			'hide_invisible' => 0,
			'hide_empty'     => 0,
		);

		if ( 'all' !== $cat_id ) {
			$args['category'] = $cat_id;
		}
		if ( ! empty( $s ) ) {
			$args['search'] = $s;
		}
		if ( ! empty( $orderby ) ) {
			$args['orderby'] = $orderby;
		}
		if ( ! empty( $order ) ) {
			$args['order'] = $order;
		}

		$this->items = get_bookmarks( $args );
	}

	/**
	 */
	public function no_items() {
		_e( 'No links found.' );
	}

	/**
	 * @return array
	 */
	protected function get_bulk_actions() {
		$actions           = array();
		$actions['delete'] = __( 'Delete' );

		return $actions;
	}

	/**
	 * @global int $cat_id
	 * @param string $which
	 */
	protected function extra_tablenav( $which ) {
		global $cat_id;

		if ( 'top' !== $which ) {
			return;
		}
		?>
		<div class="alignleft actions">
			<?php
			$dropdown_options = array(
				'selected'        => $cat_id,
				'name'            => 'cat_id',
				'taxonomy'        => 'link_category',
				'show_option_all' => get_taxonomy( 'link_category' )->labels->all_items,
				'hide_empty'      => true,
				'hierarchical'    => 1,
				'show_count'      => 0,
				'orderby'         => 'name',
			);

			echo '<label class="screen-reader-text" for="cat_id">' . get_taxonomy( 'link_category' )->labels->filter_by_item . '</label>';

			wp_dropdown_categories( $dropdown_options );

			submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
			?>
		</div>
		<?php
	}

	/**
	 * @return string[] Array of column titles keyed by their column name.
	 */
	public function get_columns() {
		return array(
			'cb'         => '<input type="checkbox" />',
			'name'       => _x( 'Name', 'link name' ),
			'url'        => __( 'URL' ),
			'categories' => __( 'Categories' ),
			'rel'        => __( 'Relationship' ),
			'visible'    => __( 'Visible' ),
			'rating'     => __( 'Rating' ),
		);
	}

	/**
	 * @return array
	 */
	protected function get_sortable_columns() {
		return array(
			'name'    => array( 'name', false, _x( 'Name', 'link name' ), __( 'Table ordered by Name.' ), 'asc' ),
			'url'     => array( 'url', false, __( 'URL' ), __( 'Table ordered by URL.' ) ),
			'visible' => array( 'visible', false, __( 'Visible' ), __( 'Table ordered by Visibility.' ) ),
			'rating'  => array( 'rating', false, __( 'Rating' ), __( 'Table ordered by Rating.' ) ),
		);
	}

	/**
	 * Gets the name of the default primary column.
	 *
	 * @since 4.3.0
	 *
	 * @return string Name of the default primary column, in this case, 'name'.
	 */
	protected function get_default_primary_column_name() {
		return 'name';
	}

	/**
	 * Handles the checkbox column output.
	 *
	 * @since 4.3.0
	 * @since 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named parameter support.
	 *
	 * @param object $item The current link object.
	 */
	public function column_cb( $item ) {
		// Restores the more descriptive, specific name for use within this method.
		$link = $item;

		?>
		<input type="checkbox" name="linkcheck[]" id="cb-select-<?php echo $link->link_id; ?>" value="<?php echo esc_attr( $link->link_id ); ?>" />
		<label for="cb-select-<?php echo $link->link_id; ?>">
			<span class="screen-reader-text">
			<?php
			/* translators: Hidden accessibility text. %s: Link name. */
			printf( __( 'Select %s' ), $link->link_name );
			?>
			</span>
		</label>
		<?php
	}

	/**
	 * Handles the link name column output.
	 *
	 * @since 4.3.0
	 *
	 * @param object $link The current link object.
	 */
	public function column_name( $link ) {
		$edit_link = get_edit_bookmark_link( $link );
		printf(
			'<strong><a class="row-title" href="%s" aria-label="%s">%s</a></strong>',
			$edit_link,
			/* translators: %s: Link name. */
			esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $link->link_name ) ),
			$link->link_name
		);
	}

	/**
	 * Handles the link URL column output.
	 *
	 * @since 4.3.0
	 *
	 * @param object $link The current link object.
	 */
	public function column_url( $link ) {
		$short_url = url_shorten( $link->link_url );
		echo "<a href='$link->link_url'>$short_url</a>";
	}

	/**
	 * Handles the link categories column output.
	 *
	 * @since 4.3.0
	 *
	 * @global int $cat_id
	 *
	 * @param object $link The current link object.
	 */
	public function column_categories( $link ) {
		global $cat_id;

		$cat_names = array();
		foreach ( $link->link_category as $category ) {
			$cat = get_term( $category, 'link_category', OBJECT, 'display' );
			if ( is_wp_error( $cat ) ) {
				echo $cat->get_error_message();
			}
			$cat_name = $cat->name;
			if ( (int) $cat_id !== $category ) {
				$cat_name = "<a href='link-manager.php?cat_id=$category'>$cat_name</a>";
			}
			$cat_names[] = $cat_name;
		}
		echo implode( ', ', $cat_names );
	}

	/**
	 * Handles the link relation column output.
	 *
	 * @since 4.3.0
	 *
	 * @param object $link The current link object.
	 */
	public function column_rel( $link ) {
		echo empty( $link->link_rel ) ? '<br />' : $link->link_rel;
	}

	/**
	 * Handles the link visibility column output.
	 *
	 * @since 4.3.0
	 *
	 * @param object $link The current link object.
	 */
	public function column_visible( $link ) {
		if ( 'Y' === $link->link_visible ) {
			_e( 'Yes' );
		} else {
			_e( 'No' );
		}
	}

	/**
	 * Handles the link rating column output.
	 *
	 * @since 4.3.0
	 *
	 * @param object $link The current link object.
	 */
	public function column_rating( $link ) {
		echo $link->link_rating;
	}

	/**
	 * Handles the default column output.
	 *
	 * @since 4.3.0
	 * @since 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named parameter support.
	 *
	 * @param object $item        Link object.
	 * @param string $column_name Current column name.
	 */
	public function column_default( $item, $column_name ) {
		// Restores the more descriptive, specific name for use within this method.
		$link = $item;

		/**
		 * Fires for each registered custom link column.
		 *
		 * @since 2.1.0
		 *
		 * @param string $column_name Name of the custom column.
		 * @param int    $link_id     Link ID.
		 */
		do_action( 'manage_link_custom_column', $column_name, $link->link_id );
	}

	/**
	 * Generates the list table rows.
	 *
	 * @since 3.1.0
	 */
	public function display_rows() {
		foreach ( $this->items as $link ) {
			$link                = sanitize_bookmark( $link );
			$link->link_name     = esc_attr( $link->link_name );
			$link->link_category = wp_get_link_cats( $link->link_id );
			?>
		<tr id="link-<?php echo $link->link_id; ?>">
			<?php $this->single_row_columns( $link ); ?>
		</tr>
			<?php
		}
	}

	/**
	 * Generates and displays row action links.
	 *
	 * @since 4.3.0
	 * @since 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named parameter support.
	 *
	 * @param object $item        Link being acted upon.
	 * @param string $column_name Current column name.
	 * @param string $primary     Primary column name.
	 * @return string Row actions output for links, or an empty string
	 *                if the current column is not the primary column.
	 */
	protected function handle_row_actions( $item, $column_name, $primary ) {
		if ( $primary !== $column_name ) {
			return '';
		}

		// Restores the more descriptive, specific name for use within this method.
		$link = $item;

		$edit_link = get_edit_bookmark_link( $link );

		$actions           = array();
		$actions['edit']   = '<a href="' . $edit_link . '">' . __( 'Edit' ) . '</a>';
		$actions['delete'] = sprintf(
			'<a class="submitdelete" href="%s" onclick="return confirm( \'%s\' );">%s</a>',
			wp_nonce_url( "link.php?action=delete&amp;link_id=$link->link_id", 'delete-bookmark_' . $link->link_id ),
			/* translators: %s: Link name. */
			esc_js( sprintf( __( "You are about to delete this link '%s'\n  'Cancel' to stop, 'OK' to delete." ), $link->link_name ) ),
			__( 'Delete' )
		);

		return $this->row_actions( $actions );
	}
}
namawaktuukuranownerpermaksi
..
admin-filters.php 2026-02-23 19:417.85 KB 76129f60960:kunden-xw-x-----
edt
admin.php 2026-02-23 19:413.54 KB 76129f60960:kunden-xw-x-----
edt
ajax-actions.php 2026-02-23 19:41148.33 KB 76129f60960:kunden-xw-x-----
edt
bookmark.php 2026-02-23 19:4111.45 KB 76129f60960:kunden-xw-x-----
edt
class-automatic-upgrader-skin.php 2026-02-23 19:413.58 KB 76129f60960:kunden-xw-x-----
edt
class-bulk-plugin-upgrader-skin.php 2026-02-23 19:412.53 KB 76129f60960:kunden-xw-x-----
edt
class-bulk-theme-upgrader-skin.php 2026-02-23 19:412.6 KB 76129f60960:kunden-xw-x-----
edt
class-bulk-upgrader-skin.php 2026-02-23 19:416.59 KB 76129f60960:kunden-xw-x-----
edt
class-core-upgrader.php 2026-02-23 19:4114.83 KB 76129f60960:kunden-xw-x-----
edt
class-custom-background.php 2026-02-23 19:4121.18 KB 76129f60960:kunden-xw-x-----
edt
class-custom-image-header.php 2026-02-23 19:4148.13 KB 76129f60960:kunden-xw-x-----
edt
class-file-upload-upgrader.php 2026-02-23 19:414.07 KB 76129f60960:kunden-xw-x-----
edt
class-ftp-pure.php 2026-02-23 19:415.3 KB 76129f60960:kunden-xw-x-----
edt
class-ftp-sockets.php 2026-02-23 19:418.28 KB 76129f60960:kunden-xw-x-----
edt
class-ftp.php 2026-02-23 19:4126.73 KB 76129f60960:kunden-xw-x-----
edt
class-language-pack-upgrader-skin.php 2026-02-23 19:412.8 KB 76129f60960:kunden-xw-x-----
edt
class-language-pack-upgrader.php 2026-02-23 19:4115.2 KB 76129f60960:kunden-xw-x-----
edt
class-pclzip.php 2026-02-23 19:41192.08 KB 76129f60960:kunden-xw-x-----
edt
class-plugin-installer-skin.php 2026-02-23 19:4111.77 KB 76129f60960:kunden-xw-x-----
edt
class-plugin-upgrader-skin.php 2026-02-23 19:413.2 KB 76129f60960:kunden-xw-x-----
edt
class-plugin-upgrader.php 2026-02-23 19:4122.89 KB 76129f60960:kunden-xw-x-----
edt
class-theme-installer-skin.php 2026-02-23 19:4112.77 KB 76129f60960:kunden-xw-x-----
edt
class-theme-upgrader-skin.php 2026-02-23 19:414.08 KB 76129f60960:kunden-xw-x-----
edt
class-theme-upgrader.php 2026-02-23 19:4126.27 KB 76129f60960:kunden-xw-x-----
edt
class-walker-category-checklist.php 2026-02-23 19:414.97 KB 76129f60960:kunden-xw-x-----
edt
class-walker-nav-menu-checklist.php 2026-02-23 19:415.5 KB 76129f60960:kunden-xw-x-----
edt
class-walker-nav-menu-edit.php 2026-02-23 19:4113.85 KB 76129f60960:kunden-xw-x-----
edt
class-wp-ajax-upgrader-skin.php 2026-02-23 19:414.09 KB 76129f60960:kunden-xw-x-----
edt
class-wp-application-passwords-list-table.php 2026-02-23 19:416.79 KB 76129f60960:kunden-xw-x-----
edt
class-wp-automatic-updater.php 2026-02-23 19:4160.45 KB 76129f60960:kunden-xw-x-----
edt
class-wp-comments-list-table.php 2026-02-23 19:4132.4 KB 76129f60960:kunden-xw-x-----
edt
class-wp-community-events.php 2026-02-23 19:4118.24 KB 76129f60960:kunden-xw-x-----
edt
class-wp-debug-data.php 2026-02-23 19:4166.01 KB 76129f60960:kunden-xw-x-----
edt
class-wp-filesystem-base.php 2026-02-23 19:4123.84 KB 76129f60960:kunden-xw-x-----
edt
class-wp-filesystem-direct.php 2026-02-23 19:4117.72 KB 76129f60960:kunden-xw-x-----
edt
class-wp-filesystem-ftpext.php 2026-02-23 19:4122.71 KB 76129f60960:kunden-xw-x-----
edt
class-wp-filesystem-ftpsockets.php 2026-02-23 19:4118.05 KB 76129f60960:kunden-xw-x-----
edt
class-wp-filesystem-ssh2.php 2026-02-23 19:4122.76 KB 76129f60960:kunden-xw-x-----
edt
class-wp-importer.php 2026-02-23 19:417.34 KB 76129f60960:kunden-xw-x-----
edt
class-wp-internal-pointers.php 2026-02-23 19:414.51 KB 76129f60960:kunden-xw-x-----
edt
class-wp-links-list-table.php 2026-02-23 19:419.02 KB 76129f60960:kunden-xw-x-----
edt
class-wp-list-table-compat.php 2026-02-23 19:411.46 KB 76129f60960:kunden-xw-x-----
edt
class-wp-list-table.php 2026-02-23 19:4151.76 KB 76129f60960:kunden-xw-x-----
edt
class-wp-media-list-table.php 2026-02-23 19:4125.29 KB 76129f60960:kunden-xw-x-----
edt
class-wp-ms-sites-list-table.php 2026-02-23 19:4121.61 KB 76129f60960:kunden-xw-x-----
edt
class-wp-ms-themes-list-table.php 2026-02-23 19:4127.77 KB 76129f60960:kunden-xw-x-----
edt
class-wp-ms-users-list-table.php 2026-02-23 19:4115.35 KB 76129f60960:kunden-xw-x-----
edt
class-wp-plugin-install-list-table.php 2026-02-23 19:4124.54 KB 76129f60960:kunden-xw-x-----
edt
class-wp-plugins-list-table.php 2026-02-23 19:4156.44 KB 76129f60960:kunden-xw-x-----
edt
class-wp-post-comments-list-table.php 2026-02-23 19:411.42 KB 76129f60960:kunden-xw-x-----
edt
class-wp-posts-list-table.php 2026-02-23 19:4163.66 KB 76129f60960:kunden-xw-x-----
edt
class-wp-privacy-data-export-requests-list-table.php 2026-02-23 19:415.43 KB 76129f60960:kunden-xw-x-----
edt
class-wp-privacy-data-removal-requests-list-table.php 2026-02-23 19:415.58 KB 76129f60960:kunden-xw-x-----
edt
class-wp-privacy-policy-content.php 2026-02-23 19:4131.9 KB 76129f60960:kunden-xw-x-----
edt
class-wp-privacy-requests-table.php 2026-02-23 19:4114.44 KB 76129f60960:kunden-xw-x-----
edt
class-wp-screen.php 2026-02-23 19:4136.47 KB 76129f60960:kunden-xw-x-----
edt
class-wp-site-health-auto-updates.php 2026-02-23 19:4114 KB 76129f60960:kunden-xw-x-----
edt
class-wp-site-health.php 2026-02-23 19:41121.89 KB 76129f60960:kunden-xw-x-----
edt
class-wp-site-icon.php 2026-02-23 19:416.26 KB 76129f60960:kunden-xw-x-----
edt
class-wp-terms-list-table.php 2026-02-23 19:4120.73 KB 76129f60960:kunden-xw-x-----
edt
class-wp-theme-install-list-table.php 2026-02-23 19:4115.23 KB 76129f60960:kunden-xw-x-----
edt
class-wp-themes-list-table.php 2026-02-23 19:4110.14 KB 76129f60960:kunden-xw-x-----
edt
class-wp-upgrader-skin.php 2026-02-23 19:416.94 KB 76129f60960:kunden-xw-x-----
edt
class-wp-upgrader-skins.php 2026-02-23 19:411.44 KB 76129f60960:kunden-xw-x-----
edt
class-wp-upgrader.php 2026-02-23 19:4146.85 KB 76129f60960:kunden-xw-x-----
edt
class-wp-users-list-table.php 2026-02-23 19:4118.61 KB 76129f60960:kunden-xw-x-----
edt
comment.php 2026-02-23 19:416.08 KB 76129f60960:kunden-xw-x-----
edt
continents-cities.php 2026-02-23 19:4120.06 KB 76129f60960:kunden-xw-x-----
edt
credits.php 2026-02-23 19:415.73 KB 76129f60960:kunden-xw-x-----
edt
dashboard.php 2026-02-23 19:4168.18 KB 76129f60960:kunden-xw-x-----
edt
deprecated.php 2026-02-23 19:4140.8 KB 76129f60960:kunden-xw-x-----
edt
edit-tag-messages.php 2026-02-23 19:411.44 KB 76129f60960:kunden-xw-x-----
edt
export.php 2026-02-23 19:4125.26 KB 76129f60960:kunden-xw-x-----
edt
file.php 2026-02-23 19:4195.84 KB 76129f60960:kunden-xw-x-----
edt
image-edit.php 2026-02-23 19:4143.12 KB 76129f60960:kunden-xw-x-----
edt
image.php 2026-02-23 19:4141.73 KB 76129f60960:kunden-xw-x-----
edt
import.php 2026-02-23 19:416.46 KB 76129f60960:kunden-xw-x-----
edt
list-table.php 2026-02-23 19:413.71 KB 76129f60960:kunden-xw-x-----
edt
media.php 2026-02-23 19:41116.31 KB 76129f60960:kunden-xw-x-----
edt
menu.php 2026-02-23 19:419.39 KB 76129f60960:kunden-xw-x-----
edt
meta-boxes.php 2026-02-23 19:4164.34 KB 76129f60960:kunden-xw-x-----
edt
misc.php 2026-02-23 19:4144.73 KB 76129f60960:kunden-xw-x-----
edt
ms-admin-filters.php 2026-02-23 19:411.27 KB 76129f60960:kunden-xw-x-----
edt
ms-deprecated.php 2026-02-23 19:413.68 KB 76129f60960:kunden-xw-x-----
edt
ms.php 2026-02-23 19:4133.53 KB 76129f60960:kunden-xw-x-----
edt
nav-menu.php 2026-02-23 19:4148.84 KB 76129f60960:kunden-xw-x-----
edt
network.php 2026-02-23 19:4126.35 KB 76129f60960:kunden-xw-x-----
edt
noop.php 2026-02-23 19:411.12 KB 76129f60960:kunden-xw-x-----
edt
options.php 2026-02-23 19:414.19 KB 76129f60960:kunden-xw-x-----
edt
plugin-install.php 2026-02-23 19:4138.19 KB 76129f60960:kunden-xw-x-----
edt
plugin.php 2026-02-23 19:4191.33 KB 76129f60960:kunden-xw-x-----
edt
post.php 2026-02-23 19:4180.39 KB 76129f60960:kunden-xw-x-----
edt
privacy-tools.php 2026-02-23 19:4132.67 KB 76129f60960:kunden-xw-x-----
edt
revision.php 2026-02-23 19:4116.18 KB 76129f60960:kunden-xw-x-----
edt
schema.php 2026-02-23 19:4144.46 KB 76129f60960:kunden-xw-x-----
edt
screen.php 2026-02-23 19:416.23 KB 76129f60960:kunden-xw-x-----
edt
taxonomy.php 2026-02-23 19:418.23 KB 76129f60960:kunden-xw-x-----
edt
template.php 2026-02-23 19:4196.96 KB 76129f60960:kunden-xw-x-----
edt
theme-install.php 2026-02-23 19:416.83 KB 76129f60960:kunden-xw-x-----
edt
theme.php 2026-02-23 19:4146.62 KB 76129f60960:kunden-xw-x-----
edt
translation-install.php 2026-02-23 19:4110.82 KB 76129f60960:kunden-xw-x-----
edt
update-core.php 2026-02-23 19:4168.86 KB 76129f60960:kunden-xw-x-----
edt
update.php 2026-02-23 19:4133.63 KB 76129f60960:kunden-xw-x-----
edt
upgrade.php 2026-02-23 19:41113.3 KB 76129f60960:kunden-xw-x-----
edt
user.php 2026-02-23 19:4122.98 KB 76129f60960:kunden-xw-x-----
edt
widgets.php 2026-02-23 19:4110.66 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/allgauhupfer/wp-admin/includes
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK