[wp-trac] [WordPress Trac] #65357: Widget pages broken

WordPress Trac noreply at wordpress.org
Thu May 28 12:22:20 UTC 2026


#65357: Widget pages broken
-------------------------------+------------------------------
 Reporter:  fleig              |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Widgets            |     Version:  7.0
 Severity:  major              |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:  ui
-------------------------------+------------------------------
Changes (by fleig):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Hi!

 I figured it out: a bit of new code in one of the widgets was thowing a
 critical site error, but only on the customize page. On the classic
 widgets page, it only prevented the loading of the right hand column.]

 If it helps, this is the code that was causing problems:

 {{{
 <p>
             <input class="checkbox"
                 <?php if ( isset( $instance['use_pinned'] ) &&
 $instance['use_pinned']=='true' ) { echo 'checked="checked"'; } ?>
                 id = "<?php echo $this->get_field_id( 'use_pinned' ); ?>"
                 name = "<?php echo $this->get_field_name( 'use_pinned' );
 ?>"
                 <?php if ( isset( $instance['use_pinned'] ) &&
 $instance['use_pinned']=='true' ) { echo 'value=true'; } else { echo
 'value=false'; } ?>
                 type = "checkbox"
             />
             <label for="<?php echo $this->get_field_id( 'use_pinned' );
 ?>" ><?php _e( 'Exibir postagens fixadas no topo', textdomain );
 ?></label>
 </p>
 }}}

 I know it's probably very wrong, I was trying to get it to work but I'll
 leave it for later.

 Still, please let me know if the version/plugin/theme info is valuable, so
 I can share it here.

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


More information about the wp-trac mailing list