Changeset 44627 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 01/16/2019 05:05:37 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r44485 r44627 1627 1627 } 1628 1628 1629 $update_url = wp_get_update_php_url();1630 $default_url = wp_get_default_update_php_url();1631 1632 1629 ?> 1633 1630 <p><?php echo $msg; ?></p> … … 1640 1637 printf( 1641 1638 '<a class="button button-primary" href="%1$s" target="_blank" rel="noopener noreferrer">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>', 1642 esc_url( $update_url),1639 esc_url( wp_get_update_php_url() ), 1643 1640 __( 'Learn more about updating PHP' ), 1644 1641 /* translators: accessibility text */ … … 1649 1646 <?php 1650 1647 1651 if ( $update_url !== $default_url ) { 1652 ?> 1653 <p class="description"> 1654 <?php 1655 printf( 1656 /* translators: %s: default Update PHP page URL */ 1657 __( 'This resource is provided by your web host, and is specific to your site. For more information, <a href="%s" target="_blank">see the official WordPress documentation</a>.' ), 1658 esc_url( $default_url ) 1659 ); 1660 ?> 1661 </p> 1662 <?php 1663 } 1648 wp_update_php_annotation(); 1664 1649 } 1665 1650
Note: See TracChangeset
for help on using the changeset viewer.