[wp-trac] [WordPress Trac] #49087: impossible to set show_admin_bar_front to false in wp_insert_user

WordPress Trac noreply at wordpress.org
Sat Jan 18 00:40:29 UTC 2020


#49087: impossible to set show_admin_bar_front to false in wp_insert_user
--------------------------+-----------------------------
 Reporter:  bilgilabs     |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  5.4
Component:  Users         |     Version:  5.3.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by audrasjb):

 * keywords:   => has-patch


Comment:

 Hi,

 There may be some backward compatibility issues if we decide to transform
 it into a real boolean. I propose to update the documentation to make it
 clear this parameter accepts only `'false'` or `'true'`.

 In `49087.diff`: Docs: improve `show_admin_bar_front ` parameter
 documentation for `wp_insert_user()`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49087#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list