Don't drop dollars. see #19426
git-svn-id: http://svn.automattic.com/wordpress/trunk@19556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a39bffbadb
commit
0112c9d628
|
@ -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