Editor: Fix fatal call to add_query_args()
It should be add_query_arg(), not add_query_args(). Follows [52145]. See #54337. Props sabernhardt. Built from https://develop.svn.wordpress.org/trunk@52159 git-svn-id: http://core.svn.wordpress.org/trunk@51751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -66,7 +66,7 @@ $areas = get_option( 'fse_navigation_areas', array() );
|
||||
$active_areas = array_intersect_key( $areas, get_navigation_areas() );
|
||||
foreach ( $active_areas as $post_id ) {
|
||||
if ( $post_id ) {
|
||||
$preload_paths[] = add_query_args( 'context', 'edit', rest_get_route_for_post( $post_id ) );
|
||||
$preload_paths[] = add_query_arg( 'context', 'edit', rest_get_route_for_post( $post_id ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user