Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/wp-includes/author-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ function get_the_author_meta( $field = '', $user_id = false ) {
*
* @since 2.8.0
*
* @see get_the_author_meta()
*
* @param string $field Selects the field of the users record. See get_the_author_meta()
* for the list of possible fields.
* @param int|false $user_id Optional. User ID. Defaults to the current post author.
*
* @see get_the_author_meta()
*/
function the_author_meta( $field = '', $user_id = false ) {
$author_meta = get_the_author_meta( $field, $user_id );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,11 @@ public function filter_wp_get_nav_menus( $menus, $args ) {
* @since 4.3.0
* @deprecated 4.7.0 Use wp_list_sort()
*
* @see WP_Customize_Nav_Menu_Setting::filter_wp_get_nav_menus()
*
* @param object $menu1
* @param object $menu2
* @return int
*
* @see WP_Customize_Nav_Menu_Setting::filter_wp_get_nav_menus()
*/
protected function _sort_menus_by_orderby( $menu1, $menu2 ) {
_deprecated_function( __METHOD__, '4.7.0', 'wp_list_sort' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,9 @@ public function get_element(): ?array {
/**
* Registers the `@wordpress/interactivity` script modules.
*
* @deprecated 6.7.0 Script Modules registration is handled by {@see wp_default_script_modules()}.
*
* @since 6.5.0
*
* @deprecated 6.7.0 Script Modules registration is handled by {@see wp_default_script_modules()}.
*/
public function register_script_modules() {
_deprecated_function( __METHOD__, '6.7.0', 'wp_default_script_modules' );
Expand Down
3 changes: 2 additions & 1 deletion src/wp-includes/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -3761,10 +3761,11 @@ function wp_post_mime_type_where( $post_mime_types, $table_alias = '' ) {
*
* @since 1.0.0
*
* @global wpdb $wpdb WordPress database abstraction object.
* @see wp_delete_attachment()
* @see wp_trash_post()
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int $post_id Post ID. (The default of 0 is for historical reasons; providing it is incorrect.)
* @param bool $force_delete Optional. Whether to bypass Trash and force deletion.
* Default false.
Expand Down
4 changes: 2 additions & 2 deletions src/wp-includes/taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -3621,10 +3621,10 @@ function wp_update_term_count_now( $terms, $taxonomy ) {
*
* @since 2.3.0
*
* @global bool $_wp_suspend_cache_invalidation
*
* @see get_object_taxonomies() for more on $object_type.
*
* @global bool $_wp_suspend_cache_invalidation.
*
* @param int|array $object_ids Single or list of term object ID(s).
* @param array|string $object_type The taxonomy object type.
*/
Expand Down
Loading