Changeset 28786 for trunk/src/wp-admin/link-parse-opml.php
- Timestamp:
- 06/20/2014 05:25:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/link-parse-opml.php
r28743 r28786 10 10 die(); 11 11 12 global $opml, $map; 13 14 // columns we wish to find are: link_url, link_name, link_target, link_description 15 // we need to map XML attribute names to our columns 16 $opml_map = array( 17 'URL' => 'link_url', 18 'HTMLURL' => 'link_url', 19 'TEXT' => 'link_name', 20 'TITLE' => 'link_name', 21 'TARGET' => 'link_target', 22 'DESCRIPTION' => 'link_description', 23 'XMLURL' => 'link_rss' 24 ); 25 26 $map = $opml_map; 12 global $opml; 27 13 28 14 /** … … 32 18 * @access private 33 19 * 34 * @uses $updated_timestamp Not used inside function.35 * @uses $all_links Not used inside function.36 * @uses $map Stores names of attributes to use.37 20 * @global array $names 38 21 * @global array $urls
Note: See TracChangeset
for help on using the changeset viewer.