Changeset 11366
- Timestamp:
- 12/14/2021 01:30:57 AM (3 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins
- Files:
-
- 3 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; -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-helphub/inc/handbook-toc/index.php
r11365 r11366 14 14 $post_types = array_keys( helphub_post_types()->post_types ); 15 15 16 new \WPorg_Handbook_TOC( $post_types ); 16 new \WPorg_Handbook_TOC( $post_types, array( 17 'header_text' => __( 'Topics', 'wporg-forums' ), 18 'top_text' => __( 'Top ↑', 'wporg-forums' ), 19 ) ); 17 20 } ); 18 21 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-helphub/inc/handbook-toc/table-of-contents.php
r11365 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.