Changeset 158
- Timestamp:
- 12/18/2013 11:03:34 PM (12 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base/lib/structure/class-wcb-content.php
r2 r158 19 19 } 20 20 21 function render( ) {21 function render( $resume_only=false ) { 22 22 if ( ! $this->open ) { 23 23 $this->open = true; -
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base/lib/utils/class-wcb-metabox.php
r2 r158 11 11 static $registry; 12 12 13 function __construct( $id_base='' ) { 14 $this->id_base = ( empty( $id_base ) ) ? get_class( $this ) : $id_base; 15 16 add_action('admin_init', array( &$this, '_admin_init' ) ); 17 add_action('admin_enqueue_scripts', array( &$this, '_admin_enqueue_scripts' ) ); // @todo styles. also, consider footer. 18 } 19 13 20 // PHP4 Compatible constructor 14 21 function WCB_Metabox( $id_base='' ) { 15 22 $this->__construct( $id_base ); 16 }17 18 function __construct( $id_base='' ) {19 $this->id_base = ( empty( $id_base ) ) ? get_class( $this ) : $id_base;20 21 add_action('admin_init', array( &$this, '_admin_init' ) );22 add_action('admin_enqueue_scripts', array( &$this, '_admin_enqueue_scripts' ) ); // @todo styles. also, consider footer.23 23 } 24 24 … … 212 212 * @access protected 213 213 */ 214 function save( ) {}214 function save( $post_id, $post ) {} 215 215 216 216 … … 224 224 * @return boolean Whether to save the metabox. 225 225 */ 226 function maybe_save( ) {}226 function maybe_save( $post_id, $post ) {} 227 227 228 228 /**
Note: See TracChangeset
for help on using the changeset viewer.