Changeset 43571 for trunk/src/wp-links-opml.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-links-opml.php
r42827 r43571 73 73 $catname = apply_filters( 'link_category', $cat->name ); 74 74 75 ?>75 ?> 76 76 <outline type="category" title="<?php echo esc_attr( $catname ); ?>"> 77 <?php77 <?php 78 78 $bookmarks = get_bookmarks( array( 'category' => $cat->term_id ) ); 79 foreach ( (array) $bookmarks as $bookmark ) :80 /**81 * Filters the OPML outline link title text.82 *83 * @since 2.2.084 *85 * @param string $title The OPML outline title text.86 */87 $title = apply_filters( 'link_title', $bookmark->link_name );88 ?>79 foreach ( (array) $bookmarks as $bookmark ) : 80 /** 81 * Filters the OPML outline link title text. 82 * 83 * @since 2.2.0 84 * 85 * @param string $title The OPML outline title text. 86 */ 87 $title = apply_filters( 'link_title', $bookmark->link_name ); 88 ?> 89 89 <outline text="<?php echo esc_attr( $title ); ?>" type="link" xmlUrl="<?php echo esc_attr( $bookmark->link_rss ); ?>" htmlUrl="<?php echo esc_attr( $bookmark->link_url ); ?>" updated=" 90 90 <?php 91 91 if ( '0000-00-00 00:00:00' != $bookmark->link_updated ) { 92 92 echo $bookmark->link_updated;} 93 ?>93 ?> 94 94 " /> 95 <?php95 <?php 96 96 endforeach; // $bookmarks 97 ?>97 ?> 98 98 </outline> 99 <?php99 <?php 100 100 endforeach; // $cats 101 101 ?>
Note: See TracChangeset
for help on using the changeset viewer.