[wp-trac] [WordPress Trac] #51899: Improve Application Passwords section layout in user profile

WordPress Trac noreply at wordpress.org
Thu Sep 23 20:44:09 UTC 2021


#51899: Improve Application Passwords section layout in user profile
-----------------------------------+---------------------------------
 Reporter:  SergeyBiryukov         |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  5.9
Component:  Application Passwords  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-screenshots early  |     Focuses:  ui, administration
-----------------------------------+---------------------------------

Comment (by johnjamesjacoby):

 Recommend to swap out:

 {{{
 if ( isset( $data['post_parent'] ) && $data['post_parent'] ) {
 }}}

 ...for...
 {{{
 if ( ! empty( $data['post_parent'] ) ) {
 }}}

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


More information about the wp-trac mailing list