Changeset 1305192
- Timestamp:
- 12/10/2015 10:57:49 AM (10 years ago)
- Location:
- dicentis-podcast/trunk
- Files:
-
- 4 edited
-
CHANGELOG.md (modified) (1 diff)
-
dicentis-podcast.php (modified) (1 diff)
-
includes/controller/class-dipo-podcast-post-type.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dicentis-podcast/trunk/CHANGELOG.md
r1270958 r1305192 1 1 # Changelog 2 3 ## 0.2.5 4 _Release Date: 2015-12-10_ 5 6 * [HOTFIX] Fix issue with term_meta in WP 4.4 7 2 8 ## 0.2.4 3 9 _Release Date: 2015-10-22_ -
dicentis-podcast/trunk/dicentis-podcast.php
r1270958 r1305192 10 10 * Plugin URI: http://dicentis.io 11 11 * Description: Manage multiple podcasts with ease in one plugin 12 * Version: 0.2. 412 * Version: 0.2.5 13 13 * Author: Hans-Helge Buerger 14 14 * Author URI: http://hanshelgebuerger.de -
dicentis-podcast/trunk/includes/controller/class-dipo-podcast-post-type.php
r1215875 r1305192 38 38 39 39 $this->register_podcast_hooks(); 40 $this->include_dependencies(); 41 42 // setup new tables by simple-term-meta 43 // used for additional meta data in podcast_show taxonomy 44 simple_term_meta_install(); 40 45 41 } // END public function __construct() 46 42 … … 260 256 261 257 } // END public function register_podcast_taxonomy() 262 263 public function podcast_show_metabox_add( $tag ) { ?>264 <div class="form-field">265 <label for="asset-url"><?php _e( 'Base URL', 'dicentis' ); ?></label>266 <input name="asset-url" id="asset-url" type="text" value="" size="40" aria-required="true" />267 <p class="description"><?php _e( 'This is the path / URL to the asset folder on your server.', 'dicentis' ); ?></p>268 </div>269 <?php }270 271 public function podcast_show_metabox_edit( $tag ) { ?>272 <tr class="form-field">273 <th scope="row" valign="top">274 <label for="asset-url"><?php _e( 'Base URL', 'dicentis' ); ?></label>275 </th>276 <td>277 <input name="asset-url" id="asset-url" type="text" value="<?php echo get_term_meta( $tag->term_id, 'asset-url', true ); ?>" size="40" aria-require="true" />278 <p class="description"><?php _e( 'This is the path / URL to the asset folder on your server.', 'dicentis' ); ?></p>279 </td>280 </tr>281 <?php }282 283 public function save_podcast_show_metadata( $term_id ) {284 if ( isset( $_POST['asset-url'] ) ) {285 update_term_meta( $term_id, 'asset-url', $_POST['asset-url'] );286 }287 }288 258 289 259 /** … … 733 703 } 734 704 735 private function include_dependencies() {736 require_once __DIR__ . '/../libraries/simple-term-meta.php';737 }738 705 } // END class Dipo_Podcast_Post_Type -
dicentis-podcast/trunk/readme.txt
r1270958 r1305192 4 4 Donate link: http://bit.ly/hhb-paypal 5 5 Requires at least: 3.6 6 Tested up to: 4. 37 Stable tag: 0.2. 46 Tested up to: 4.4 7 Stable tag: 0.2.5 8 8 License: GPLv3.0 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 39 39 40 40 == Changelog == 41 42 = 0.2.5 = 43 44 * [HOTFIX] Fix issue with term_meta in WP 4.4 41 45 42 46 = 0.2.4 =
Note: See TracChangeset
for help on using the changeset viewer.