Plugin Directory

Changeset 3216205


Ignore:
Timestamp:
01/03/2025 02:51:31 AM (14 months ago)
Author:
MarkODonnell
Message:

Committing version 4.7 (PHP 8 Tested)

Location:
team-rosters/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • team-rosters/trunk/includes/mstw-tr-team-roster-admin-class.php

    r2823832 r3216205  
    4444       
    4545        self::$data_fields = array(         
    46                     'player_first_name' => array( __( 'First Name', 'mstw-bracket-builder' ), 16, 32, 1 ),
    47                     'player_last_name' => array( __( 'Last Name', 'mstw-bracket-builder' ), 16, 32, 1 ),
     46                    'player_first_name' => array( __( 'First Name', 'team-rosters' ), 16, 32, 1 ),
     47                    'player_last_name' => array( __( 'Last Name', 'team-rosters' ), 16, 32, 1 ),
    4848                    'player_number' => array( $options['number_label'], 3, 32, 1 ),
    4949                    'player_position' => array( $options['position_label'], 4, 32, 1 ),
     
    5656                    'player_home_town' => array( $options['home_town_label'], 16, 32, 1 ),
    5757                    'player_country' => array( $options['country_label'], 16, 32, 1 ),
    58                     'player_bats' => array( __( 'Bats', 'mstw-bracket-builder' ), 3, 32, 2 ),
    59                     'player_throws' => array( __( 'Throws', 'mstw-bracket-builder' ), 3, 32, 3 ),
     58                    'player_bats' => array( __( 'Bats', 'team-rosters' ), 3, 32, 2 ),
     59                    'player_throws' => array( __( 'Throws', 'team-rosters' ), 3, 32, 3 ),
    6060                    'player_other' => array( $options['other_info_label'], 16, 32, 1 ),
    6161                    );
     
    122122        <div class="wrap">
    123123       
    124         <h1><?php _e( $screen_titles[$edit], 'team-rosters' )?></h1>
     124        <h1><?php echo $screen_titles[$edit] ?></h1>
    125125       
    126126        <p class='mstw-lm-admin-instructions'>
     
    177177                ?>
    178178                    <h1 class='mstw-lm-admin-instructions'>
    179                       <?php _e( 'Create a team before editting it\'s roster.', 'mstw-bracket-builder' );
     179                      <?php _e( 'Create a team before editting it\'s roster.', 'team-rosters' );
    180180                      ?>
    181181                    </h1>
     
    192192                        // Nothing to do if team is changed (ajax still fires)
    193193                        ?>
    194                         <a href="<?php  echo admin_url( 'admin.php?page=manage-team-rosters' )?>" class="button mstw-lm-control-button"><?php _e( 'Change Team', 'mstw-bracket-builder' ) ?></a>
     194                        <a href="<?php  echo admin_url( 'admin.php?page=manage-team-rosters' )?>" class="button mstw-lm-control-button"><?php _e( 'Change Team', 'team-rosters' ) ?></a>
    195195                       
    196196                        <?php
     
    287287          <tr>
    288288          <?php foreach ( $data_fields as $data_field ) { ?>
    289            <th><?php _e( $data_field[0], 'team-rosters' ) ?></th>
     289           <th><?php echo $data_field[0] ?></th>
    290290           
    291291          <?php } ?>
     
    10341034        $screen -> add_help_tab( array(
    10351035                            'id'  => $id,
    1036                             'title' => __( $title, 'team-rosters' ),
     1036                            'title' => $title,
    10371037                            'callback' => array( $this, $callback )
    10381038                            )
  • team-rosters/trunk/mstw-team-rosters.php

    r2859330 r3216205  
    11<?php
    22/*
    3     Plugin Name: MSTW Team Rosters
    4     Plugin URI: http://wordpress.org/extend/plugins/team-rosters/
    5     Description: Creates roster tables, player galleries, and single player pages.
    6     Version: 4.6
    7     Author: Mark O'Donnell
    8     Author URI: http://shoalsummitsolutions.com
    9     Text Domain: team-rosters
    10     Domain Path: /lang
     3 * Plugin Name:  MSTW Team Rosters
     4 * Plugin URI:   http://shoalsummitsolutions.com
     5 * Description:  Manage & display team rosters. Front end displays include roster tables, player galleries, and single player profiles.
     6 * Version:      4.7
     7 * Requires at least: 3.4.2
     8 * Requires PHP: 5.6
     9 * Author:       Mark O'Donnell
     10 * Author URI:   http://shoalsummitsolutions.com
     11 * License:      GPL v2 or later
     12 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
     13 * Text Domain:  team-rosters
     14 * Domain Path:  /lang
    1115*/
    12 
    13 /*---------------------------------------------------------------------------
    14  *  MSTW Wordpress Plugins (http://shoalsummitsolutions.com)
    15  *  Copyright 2014-23 Mark O'Donnell ([email protected])
    16  *
    17  *  This program is free software: you can redistribute it and/or modify
    18  *  it under the terms of the GNU General Public License as published by
    19  *  the Free Software Foundation, either version 3 of the License, or
    20  *  (at your option) any later version.
    21  *
    22  *  This program is distributed in the hope that it will be useful,
    23  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    24  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    25  *  GNU General Public License for more details.
    26  *
    27  *  You should have received a copy of the GNU General Public License
    28  *  along with this program. If not, see <http://www.gnu.org/licenses/>.
    29  */
    3016 
    3117 // set up the text domain to be used globally
  • team-rosters/trunk/readme.txt

    r3050132 r3216205  
    22Contributors: MarkODonnell
    33Donate link: http://shoalsummitsolutions.com
    4 Tags: sports,teams,rosters,players,team roster
     4Tags: sports,teams,rosters,players,team rosters
    55Requires at least: 3.4.2
    6 Tested up to: 6.4.3
     6Tested up to: 6.7.1
     7Stable tag: 4.7
    78Requires PHP: 7.0
    8 Stable tag: 4.6
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    11 
    1211
    1312Manages multiple team rosters. Creates roster tables, player galleries, and player profile pages.
     
    4443
    4544== Changelog ==
     45
     46= 4.7 =
     47* Tested on PHP version 8.2.23 & Wordpress 6.7.1
     48* Cleaned up some minor code issues.
     49* No functional or performance changes.
    4650
    4751= 4.6 =
     
    197201
    198202Version 4.1 of the plugin was developed and tested on WordPress 4.7.3. If you use older version of WordPress, good luck! If you are using a newer WP version, please let me know how the plugin works, especially if you encounter problems.
    199 
Note: See TracChangeset for help on using the changeset viewer.