mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
After [35718], update the location of some files in This filter is documented in docs.
Partially reverts [33954]. Fixes #33413. git-svn-id: https://develop.svn.wordpress.org/trunk@35725 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -378,7 +378,7 @@ function sanitize_bookmark_field($field, $value, $bookmark_id, $context) {
|
||||
return $value;
|
||||
|
||||
if ( 'edit' == $context ) {
|
||||
/** This filter is documented in wp-includes/post-functions.php */
|
||||
/** This filter is documented in wp-includes/post.php */
|
||||
$value = apply_filters( "edit_$field", $value, $bookmark_id );
|
||||
|
||||
if ( 'link_notes' == $field ) {
|
||||
@@ -387,10 +387,10 @@ function sanitize_bookmark_field($field, $value, $bookmark_id, $context) {
|
||||
$value = esc_attr($value);
|
||||
}
|
||||
} elseif ( 'db' == $context ) {
|
||||
/** This filter is documented in wp-includes/post-functions.php */
|
||||
/** This filter is documented in wp-includes/post.php */
|
||||
$value = apply_filters( "pre_$field", $value );
|
||||
} else {
|
||||
/** This filter is documented in wp-includes/post-functions.php */
|
||||
/** This filter is documented in wp-includes/post.php */
|
||||
$value = apply_filters( $field, $value, $bookmark_id, $context );
|
||||
|
||||
if ( 'attribute' == $context ) {
|
||||
|
||||
Reference in New Issue
Block a user