WordPress.org

Make WordPress Core

Changeset 41894


Ignore:
Timestamp:
10/18/2017 04:56:10 AM (2 years ago)
Author:
westonruter
Message:

Customize: Add missing filter docs in WP_Customize_Nav_Menu_Item_Setting::sanitize().

Props dlh.
Fixes #42257.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php

    r41697 r41894  
    698698
    699699        // Apply the same filters as when calling wp_insert_post().
     700
     701        /** This filter is documented in wp-includes/post.php */
    700702        $menu_item_value['title'] = wp_unslash( apply_filters( 'title_save_pre', wp_slash( $menu_item_value['title'] ) ) );
     703
     704        /** This filter is documented in wp-includes/post.php */
    701705        $menu_item_value['attr_title'] = wp_unslash( apply_filters( 'excerpt_save_pre', wp_slash( $menu_item_value['attr_title'] ) ) );
     706
     707        /** This filter is documented in wp-includes/post.php */
    702708        $menu_item_value['description'] = wp_unslash( apply_filters( 'content_save_pre', wp_slash( $menu_item_value['description'] ) ) );
    703709
Note: See TracChangeset for help on using the changeset viewer.