Making WordPress.org

Changeset 3481


Ignore:
Timestamp:
06/19/2016 09:53:26 PM (9 years ago)
Author:
coffee2code
Message:

Handbook plugin: Set class variable label to value of the post type's 'name' label.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/handbook.php

    r3480 r3481  
    229229        register_sidebar( array(
    230230            'id'          => $this->post_type,
    231             'name'        => $this->label,
     231            'name'        => sprintf( __( '%s Sidebar', 'wporg' ), $this->label ),
    232232            'description' => sprintf( __( 'Used on %s pages', 'wporg' ), $this->label ),
    233233        ) );
Note: See TracChangeset for help on using the changeset viewer.