Changeset 850407
- Timestamp:
- 02/03/2014 09:21:53 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jquery-latest-news-ticker/tags/1.0.0/includes/custom-post-type-helper-class.php
r850320 r850407 7 7 private $post_type_name; 8 8 private $post_type_args; 9 private $post_type_labels; 10 private $post_domain; 9 private $post_type_labels; 10 private $post_domain; 11 11 12 12 private $updated_message; 13 13 14 14 public function __construct( $name, $args = array(), $labels = array(), $updated_message=NULL ) 15 { 15 { 16 16 17 // Set some important variables 17 18 $this->post_type_name = uglify($name); … … 187 188 { 188 189 global $metabox_data; 189 global $metabox_fields; 190 191 $post_type_name = $this->post_type_name; 190 global $metabox_fields; 191 192 $post_type_name = $this->post_type_name; 192 193 193 194 $metabox_data = $meta_box; … … 226 227 227 228 // Output the field 228 metabox_container( $field, $fields['args']['box_context'], $ this->post_domain);229 metabox_container( $field, $fields['args']['box_context'], $fields['args']['post_domain'] ); 229 230 } 230 231 ?> … … 237 238 $box_context, 238 239 $box_priority, 239 array('fields' => $fields, 'box_context' => $box_context )240 array('fields' => $fields, 'box_context' => $box_context, 'post_domain' => $this->post_domain ) 240 241 ); 241 242 }
Note: See TracChangeset
for help on using the changeset viewer.