Plugin Directory

Changeset 2543394


Ignore:
Timestamp:
06/07/2021 12:08:47 AM (5 years ago)
Author:
jweathe
Message:

let translations.wordpress.org handle i18n

Location:
also-in-this-series/trunk
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • also-in-this-series/trunk/plugin-core.php

    r2529462 r2543394  
    122122}
    123123
    124 function init_plugin() {
    125     load_plugin_textdomain( SERIES_SLUG, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    126 }
    127 
    128124function pre_get_posts( $query ) {
    129125    $sortorder = config( 'archive-sort-order' );
     
    161157}
    162158
    163 add_action( 'init', __NAMESPACE__ . '\init_plugin' );
    164159add_action( 'init', __NAMESPACE__ . '\plugin_maintenance', 11 );
    165160add_action( 'pre_get_posts', __NAMESPACE__ . '\pre_get_posts' );
  • also-in-this-series/trunk/plugin.php

    r2529462 r2543394  
    44Plugin URI: https://planetjon.ca/projects/also-in-this-series/
    55Description: Group related posts in a series with a custom Series taxonomy. and a list of all posts in the series in your content.
    6 Version: 1.7.3
    7 Requires at least: 3.5.0
     6Version: 1.7.4
     7Requires at least: 4.6
    88Requires PHP: 5.4
    99Tested up to: 5.7.1
    1010Author: Jonathan Weatherhead
    1111Author URI: https://planetjon.ca
    12 Text Domain: also-in-this-series
    13 Domain Path: /languages/
    1412License: GPL2
    1513License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • also-in-this-series/trunk/readme.txt

    r2529462 r2543394  
    33Donate link: https://planetjon.ca
    44Tags: related posts, series, posts, SEO, internal links, widget
    5 Requires at least: 3.5.0
     5Requires at least: 4.6
    66Requires PHP: 5.4
    77Tested up to: 5.7.1
    8 Stable tag: 1.7.3
     8Stable tag: 1.7.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • also-in-this-series/trunk/views/serieslisting.php

    r2528557 r2543394  
    11<aside class="also-in-this-series">
    2 <h3 class="series-title"><?php printf( __( 'Also in %s', 'also-in-this-series' ), $series->name ) ?></h3>
     2<h2 class="series-title"><?php printf( __( 'Also in %s', 'also-in-this-series' ), $series->name ) ?></h2>
    33<?php if( $series->description ) : ?>
    44    <p class="series-description"><?php echo esc_html( $series->description ) ?></p>
Note: See TracChangeset for help on using the changeset viewer.