Skip to content

Instantly share code, notes, and snippets.

[06-Jul-2025 01:16:34 UTC] RFC 9421: 500
[06-Jul-2025 01:16:34 UTC] https://oisaur.com/inbox
[06-Jul-2025 01:16:34 UTC] Array
(
[method] => POST
[timeout] => 100
[redirection] => 3
[httpversion] => 1.0
[user-agent] => WordPress/6.8; https://obietester.blog; ActivityPub
[reject_unsafe_urls] => 1
# Signature Base Example
[30-Jun-2025 20:40:59 UTC] "@method": POST
"@target-uri": https://wizard.casa/users/obietester/inbox
"@authority": wizard.casa
"created": 1751316059
"content-digest": SHA-256=:yCgSeoGiFo0lOX3rHxqYEfwAgMQneRWvRjBE0Dwoxes=:
"@signature-params": ("@method" "@target-uri" "@authority" "created" "content-digest");created=1751316059;keyid="https://obietester.blog/?author=12082291#main-key";alg="rsa-v1_5-sha256"
# WordPress request args
[30-Jun-2025 20:33:09 UTC] Array
<?php
function render_block( $attributes ) {
do_shortcode( '[playlist type="podcast"]');
}
function podcast_playlist( $output, $attributes, $instance ) {
if ( 'podcast' !== $attributes['type'] ) {
return $output;
}
diff --git a/packages/block-editor/src/components/block-styles/index.js b/packages/block-editor/src/components/block-styles/index.js
index 2485c73e9..ad77a6965 100644
--- a/packages/block-editor/src/components/block-styles/index.js
+++ b/packages/block-editor/src/components/block-styles/index.js
@@ -72,6 +72,7 @@ function BlockStyles( {
block,
onSwitch = noop,
onHoverClassName = noop,
+ allBlocks,
} ) {
var fetchGifs = _.debounce( function fetchGifs( search ) {
if ( attributes.fetching ) {
return;
}
props.setAttributes( {
fetching: true,
} );
$.getJSON( 'https://api.giphy.com/v1/gifs/search?api_key=Fswo3IBHt0TViFMN6zYgbYzSEb3sLx7I&limit=10&offset=0&rating=G&lang=en&q=' + encodeURI( search ) )
<?php
// Can be called whenever.
function add_admin_notice( $code, $message, $type = 'error' ) {
global $wp_admin_notices;
if ( ! isset( $wp_admin_notices ) )
$wp_admin_notices = array();
$wp_admin_notices[] = array(