View standalone-form-shortcode.php
<?php
/**
* Plugin Name: JS Widgets: Standalone Form Shortcode
*/
add_action( 'wp_enqueue_scripts', function() {
wp_enqueue_style( 'js-widget-form' );
} );
add_shortcode( 'js-widget-standalone-form', function( $atts ) {
View return-value-5.2.php
<?php
function __return_value( $value ) {
return create_function( '', sprintf( 'return %s;', var_export( $value, true ) ) );
}
View functions.php
<?php
add_action( 'customize_register', function( WP_Customize_Manager $wp_customize ) {
$wp_customize->selective_refresh->add_partial( 'footer-title', array(
'selector' => '#footer-title',
'settings' => array( 'blogname' ),
'container_inclusive' => false,
) );
$wp_customize->selective_refresh->add_partial( 'footer-tagline', array(
'selector' => '#footer-tagline',
View team-props-list.php
<?php
# Generate props list for usernames coming from STDIN between two given commits.
# Author: Weston Ruter
#
# USAGE:
# cat team-usernames.txt | php list-team-props.php 4.6.0 4.7
array_shift( $argv );
$start_commit = array_shift( $argv );
$end_commit = array_shift( $argv );
View svn-git-up.sh
#!/bin/bash
# Update Git and SVN repos checked out in the same directory.
#
# Pass a branch name like 4.6 as the sole argument to checkout that branch. Otherwise, master/trunk is checked out.
set -ex
cd "$(dirname $0)"
git fetch origin --tags
View clock-behavior.js
/* global jQuery, wp */
jQuery( function( $ ) {
var initializeAllClocks, initializeClock;
/**
* Find clocks.
*
* @param [container] Scoping element for finding clock elements.
* @returns {void}
View class-wp-hook.php.diff
diff --git src/wp-includes/class-wp-hook.php src/wp-includes/class-wp-hook.php
index 823b4b5..eebd5fe 100755
--- src/wp-includes/class-wp-hook.php
+++ src/wp-includes/class-wp-hook.php
@@ -62,6 +62,8 @@ final class WP_Hook implements Iterator, ArrayAccess {
*/
private $doing_action = false;
+ public $tag;
+
View 4.5.0..4.6.0.txt
## Commit count with Customize prefix:
35
## Committers:6
19 westonruter
12 ocean90
1 sergeybiryukov
1 swissspidy
1 rachelbaker
1 peterwilsoncc
View class-wp-customize-manager.php.diff
diff --git src/wp-includes/class-wp-customize-manager.php src/wp-includes/class-wp-customize-manager.php
index 797a07d..ed2af33 100644
--- src/wp-includes/class-wp-customize-manager.php
+++ src/wp-includes/class-wp-customize-manager.php
@@ -2245,6 +2245,16 @@ final class WP_Customize_Manager {
wp_set_current_user( $original_user_id );
}
+ echo "$setting_id --- setting user ID " . PHP_EOL;
+ echo ( has_filter('content_save_pre', 'wp_filter_post_kses') ? ' HAS wp_filter_post_kses ' : 'HAS NOT wp_filter_post_kses' ) . PHP_EOL;
View wordpress-develop.mailmap
Andrea Fercia <afercia@git.wordpress.org> <afercia@602fd350-edb4-49c9-b593-d223f7449a82>
Boone Gorges <boonebgorges@git.wordpress.org> <boonebgorges@602fd350-edb4-49c9-b593-d223f7449a82>
Dominik Schilling <ocean90@git.wordpress.org>
Dominik Schilling <ocean90@git.wordpress.org> <ocean90@602fd350-edb4-49c9-b593-d223f7449a82>
Gary Pendergast <pento@git.wordpress.org> <pento@602fd350-edb4-49c9-b593-d223f7449a82>
Jeremy Felt <jeremyfelt@git.wordpress.org> <jeremyfelt@602fd350-edb4-49c9-b593-d223f7449a82>
Joe McGill <joemcgill@git.wordpress.org> <joemcgill@602fd350-edb4-49c9-b593-d223f7449a82>
John Blackbourn <johnbillion@git.wordpress.org> <johnbillion@602fd350-edb4-49c9-b593-d223f7449a82>
Pascal Birchler <swissspidy@git.wordpress.org> <swissspidy@602fd350-edb4-49c9-b593-d223f7449a82>
Scott Taylor <wonderboymusic@git.wordpress.org> <wonderboymusic@602fd350-edb4-49c9-b593-d223f7449a82>