Changeset 4036 for branches/2.0/wp-admin/admin-functions.php
- Timestamp:
- 07/23/2006 07:20:50 PM (20 years ago)
- File:
-
- 1 edited
-
branches/2.0/wp-admin/admin-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/admin-functions.php
r3980 r4036 1483 1483 preg_match("|Author URI:(.*)|i", $plugin_data, $author_uri); 1484 1484 if (preg_match("|Version:(.*)|i", $plugin_data, $version)) 1485 $version = $version[1];1485 $version = trim($version[1]); 1486 1486 else 1487 1487 $version = ''; 1488 1488 1489 $description = wptexturize( $description[1]);1489 $description = wptexturize(trim($description[1])); 1490 1490 1491 1491 $name = $plugin_name[1]; … … 1493 1493 $plugin = $name; 1494 1494 if ('' != $plugin_uri[1] && '' != $name) { 1495 $plugin = '<a href="' .$plugin_uri[1].'" title="'.__('Visit plugin homepage').'">'.$plugin.'</a>';1495 $plugin = '<a href="' . trim($plugin_uri[1]) . '" title="'.__('Visit plugin homepage').'">'.$plugin.'</a>'; 1496 1496 } 1497 1497 1498 1498 if ('' == $author_uri[1]) { 1499 $author = $author_name[1];1500 } else { 1501 $author = '<a href="' .$author_uri[1].'" title="'.__('Visit author homepage').'">'.$author_name[1].'</a>';1499 $author = trim($author_name[1]); 1500 } else { 1501 $author = '<a href="' . trim($author_uri[1]) . '" title="'.__('Visit author homepage').'">' . trim($author_name[1]) . '</a>'; 1502 1502 } 1503 1503
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)