Changeset 11366 for sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/table-of-contents.php
- Timestamp:
- 12/14/2021 01:30:57 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/table-of-contents.php
r11354 r11366 43 43 $this->args = (object) wp_parse_args( $args, array( 44 44 'header_text' => __( 'Topics', 'wporg' ), 45 'top_text' => __( 'Top ↑', 'wporg' ), 45 46 ) ); 46 47 } … … 187 188 188 189 if ( ! $first ) { 189 $replacement .= '<p class="toc-jump"><a href="#top">' . __( 'Top ↑', 'wporg' ). '</a></p>';190 $replacement .= '<p class="toc-jump"><a href="#top">' . $this->args->top_text . '</a></p>'; 190 191 } else { 191 192 $first = false;
Note: See TracChangeset
for help on using the changeset viewer.