mirror of
https://github.com/WordPress/WordPress.git
synced 2025-12-08 05:15:15 +08:00
Compare commits
3 commits
7413166cfe
...
b924099da8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b924099da8 | ||
|
|
e7d59738ba | ||
|
|
349fda670c |
4 changed files with 8 additions and 10 deletions
|
|
@ -9,7 +9,6 @@
|
|||
* @since Twenty Twenty-Five 1.0
|
||||
*/
|
||||
|
||||
// Adds theme support for post formats.
|
||||
if ( ! function_exists( 'twentytwentyfive_post_format_setup' ) ) :
|
||||
/**
|
||||
* Adds theme support for post formats.
|
||||
|
|
@ -24,7 +23,6 @@ if ( ! function_exists( 'twentytwentyfive_post_format_setup' ) ) :
|
|||
endif;
|
||||
add_action( 'after_setup_theme', 'twentytwentyfive_post_format_setup' );
|
||||
|
||||
// Enqueues editor-style.css in the editors.
|
||||
if ( ! function_exists( 'twentytwentyfive_editor_style' ) ) :
|
||||
/**
|
||||
* Enqueues editor-style.css in the editors.
|
||||
|
|
@ -39,7 +37,6 @@ if ( ! function_exists( 'twentytwentyfive_editor_style' ) ) :
|
|||
endif;
|
||||
add_action( 'after_setup_theme', 'twentytwentyfive_editor_style' );
|
||||
|
||||
// Enqueues the theme stylesheet on the front.
|
||||
if ( ! function_exists( 'twentytwentyfive_enqueue_styles' ) ) :
|
||||
/**
|
||||
* Enqueues the theme stylesheet on the front.
|
||||
|
|
@ -67,7 +64,6 @@ if ( ! function_exists( 'twentytwentyfive_enqueue_styles' ) ) :
|
|||
endif;
|
||||
add_action( 'wp_enqueue_scripts', 'twentytwentyfive_enqueue_styles' );
|
||||
|
||||
// Registers custom block styles.
|
||||
if ( ! function_exists( 'twentytwentyfive_block_styles' ) ) :
|
||||
/**
|
||||
* Registers custom block styles.
|
||||
|
|
@ -96,7 +92,6 @@ if ( ! function_exists( 'twentytwentyfive_block_styles' ) ) :
|
|||
endif;
|
||||
add_action( 'init', 'twentytwentyfive_block_styles' );
|
||||
|
||||
// Registers pattern categories.
|
||||
if ( ! function_exists( 'twentytwentyfive_pattern_categories' ) ) :
|
||||
/**
|
||||
* Registers pattern categories.
|
||||
|
|
@ -126,7 +121,6 @@ if ( ! function_exists( 'twentytwentyfive_pattern_categories' ) ) :
|
|||
endif;
|
||||
add_action( 'init', 'twentytwentyfive_pattern_categories' );
|
||||
|
||||
// Registers block binding sources.
|
||||
if ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) :
|
||||
/**
|
||||
* Registers the post format block binding source.
|
||||
|
|
@ -147,7 +141,6 @@ if ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) :
|
|||
endif;
|
||||
add_action( 'init', 'twentytwentyfive_register_block_bindings' );
|
||||
|
||||
// Registers block binding callback function for the post format name.
|
||||
if ( ! function_exists( 'twentytwentyfive_format_binding' ) ) :
|
||||
/**
|
||||
* Callback function for the post format name block binding source.
|
||||
|
|
|
|||
|
|
@ -4594,6 +4594,8 @@ function esc_url( $url, $protocols = null, $_context = 'display' ) {
|
|||
*
|
||||
* @since 2.8.0
|
||||
* @since 6.1.0 Turned into an alias for sanitize_url().
|
||||
* @since 6.9.0 Prepends `https://` to the URL if it does not already contain a scheme
|
||||
* and the first item in `$protocols` is 'https'.
|
||||
*
|
||||
* @see sanitize_url()
|
||||
*
|
||||
|
|
@ -4612,6 +4614,8 @@ function esc_url_raw( $url, $protocols = null ) {
|
|||
* @since 2.3.1
|
||||
* @since 2.8.0 Deprecated in favor of esc_url_raw().
|
||||
* @since 5.9.0 Restored (un-deprecated).
|
||||
* @since 6.9.0 Prepends `https://` to the URL if it does not already contain a scheme
|
||||
* and the first item in `$protocols` is 'https'.
|
||||
*
|
||||
* @see esc_url()
|
||||
*
|
||||
|
|
|
|||
|
|
@ -4435,9 +4435,10 @@ function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Inserts or update a post.
|
||||
* Inserts or updates a post in the database.
|
||||
*
|
||||
* If the $postarr parameter has 'ID' set to a value, then post will be updated.
|
||||
* If the `$postarr` parameter contains an 'ID', the corresponding post will be updated.
|
||||
* If not, a new post will be created using the values provided.
|
||||
*
|
||||
* You can set the post date manually, by setting the values for 'post_date'
|
||||
* and 'post_date_gmt' keys. You can close the comments or open the comments by
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.0-alpha-61271';
|
||||
$wp_version = '7.0-alpha-61275';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue