Don't drop dollars. see #19426
git-svn-id: https://develop.svn.wordpress.org/trunk@19556 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
286193bb4f
commit
e18515a5a1
|
@ -120,7 +120,7 @@ class WP_Admin_Bar {
|
||||||
|
|
||||||
if ( isset( $back_compat_parents[ $args['parent'] ] ) ) {
|
if ( isset( $back_compat_parents[ $args['parent'] ] ) ) {
|
||||||
list( $new_parent, $version ) = $back_compat_parents[ $args['parent'] ];
|
list( $new_parent, $version ) = $back_compat_parents[ $args['parent'] ];
|
||||||
_deprecated_argument( __METHOD__, $version, sprintf( 'Use <code>%s</code> as the parent for the <code>%s</code> admin bar node instead of <code>%s</code>.', new_parent, $args['id'], $args['parent'] ) );
|
_deprecated_argument( __METHOD__, $version, sprintf( 'Use <code>%s</code> as the parent for the <code>%s</code> admin bar node instead of <code>%s</code>.', $new_parent, $args['id'], $args['parent'] ) );
|
||||||
$args['parent'] = $new_parent;
|
$args['parent'] = $new_parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue