Changeset 13739 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-translation-events/includes/routes/route.php
- Timestamp:
- 05/21/2024 11:43:05 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-translation-events/includes/routes/route.php
r13298 r13739 4 4 5 5 use GP_Route; 6 use Wporg\TranslationEvents\Templates; 6 7 7 8 abstract class Route extends GP_Route { 8 public function __construct() { 9 parent::__construct(); 10 $this->template_path = __DIR__ . '/../../templates/'; 9 public function tmpl( $template, $args = array(), $honor_api = true ) { 10 $this->set_notices_and_errors(); 11 $this->header( 'Content-Type: text/html; charset=utf-8' ); 12 13 Templates::render( $template, $args ); 11 14 } 12 15 }
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)