Plugin Directory

Changeset 3258758


Ignore:
Timestamp:
03/19/2025 08:16:56 PM (9 months ago)
Author:
nielslange
Message:

Update to version 1.4 from GitHub

Location:
smntcs-theme-list-view
Files:
2 added
2 deleted
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smntcs-theme-list-view/tags/1.4/.prettierrc.js

    r2903776 r3258758  
    11// Import the default config file and expose it in the project root.
    22// Useful for editor integrations.
    3 module.exports = require( '@wordpress/prettier-config' );
     3module.exports = {
     4    ...require( '@wordpress/prettier-config' ),
     5    proseWrap: 'preserve',
     6    markdownListMarkerSpace: 1,
     7};
  • smntcs-theme-list-view/tags/1.4/README.md

    r2981956 r3258758  
    2424## Plugin page
    2525
    26 You can find the plugin on https://wordpress.org/plugins/smntcs-theme-list-view/.
     26You can find the plugin on <https://wordpress.org/plugins/smntcs-theme-list-view/>.
    2727
    2828## Changelog
     29
     30### 1.4 (2024.03.19)
     31
     32-   Test up to WP 6.8
    2933
    3034### 1.3 (2023.10.21)
  • smntcs-theme-list-view/tags/1.4/README.txt

    r2981956 r3258758  
    33Contributors:       nielslange
    44Tags:               Theme, List View, Administration
    5 Stable tag:         1.3
    6 Tested up to:       6.4
     5Stable tag:         1.4
     6Tested up to:       6.8
    77Requires at least:  5.2
    88Requires PHP:       7.4
     
    3232== Changelog ==
    3333
     34= 1.4 (2024.03.19) =
     35
     36- Test up to WP 6.8
     37
    3438= 1.3 (2023.10.21) =
    3539
  • smntcs-theme-list-view/tags/1.4/includes/class-smntcs-themes-list-screen-options.php

    r2903776 r3258758  
    5757            array(
    5858                'label'   => __( 'Number of items per page:' ), // phpcs:ignore WordPress.WP.I18n.MissingArgDomain
    59                 'default' => get_option( 'themes_per_page', 23 ),
     59                'default' => get_option( 'themes_per_page', 20 ),
    6060                'option'  => 'themes_per_page',
    6161            )
  • smntcs-theme-list-view/tags/1.4/includes/class-smntcs-themes-list-table.php

    r2908799 r3258758  
    201201     */
    202202    public function usort_reorder( $element1, $element2 ) {
    203         $orderby = ( ! empty( $_REQUEST['orderby'] ) ) ? sanitize_text_field( $_REQUEST['orderby'] ) : 'name';
    204         $order   = ( ! empty( $_REQUEST['order'] ) ) ? sanitize_text_field( $_REQUEST['order'] ) : 'asc';
     203        $orderby = ( ! empty( $_REQUEST['orderby'] ) ) ? sanitize_text_field( $_REQUEST['orderby'] ) : 'name'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
     204        $order   = ( ! empty( $_REQUEST['order'] ) ) ? sanitize_text_field( $_REQUEST['order'] ) : 'asc'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
    205205        $result  = strcasecmp( $element1[ $orderby ], $element2[ $orderby ] );
    206206
  • smntcs-theme-list-view/tags/1.4/includes/class-smntcs-themes-list-view.php

    r2904139 r3258758  
    1111defined( 'ABSPATH' ) || exit;
    1212
     13/*
     14 * Load the WP_List_Table class if it doesn't already exist.
     15 */
    1316if ( file_exists( plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php' ) ) {
    1417    require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php';
     
    223226}
    224227
    225 ( new SMNTCS_Themes_List_View() );
     228new SMNTCS_Themes_List_View();
  • smntcs-theme-list-view/tags/1.4/smntcs-themes-list-view.php

    r2981956 r3258758  
    77 * Author URI:          https://nielslange.de/
    88 * Text Domain:         smntcs-theme-list-view
    9  * Version:             1.3
     9 * Version:             1.4
    1010 * Requires at least:   5.0
    1111 * Requires PHP:        7.4
     
    2020
    2121// Define plugin constants.
    22 if ( ! defined( 'SMNTCS_THEME_LIST_VIEW_FILE' ) ) {
    23     define( 'SMNTCS_THEME_LIST_VIEW_FILE', __FILE__ );
    24 }
     22define( 'SMNTCS_THEME_LIST_VIEW_FILE', __FILE__ );
    2523
    26 // Initialize the plugin.
    27 if ( file_exists( plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-view.php' ) ) {
    28     require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-view.php';
    29 }
     24// Load plugin classes.
     25require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php';
     26require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-view.php';
    3027
    31 if ( file_exists( plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php' ) ) {
    32     require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php';
    33 }
  • smntcs-theme-list-view/trunk/.prettierrc.js

    r2903776 r3258758  
    11// Import the default config file and expose it in the project root.
    22// Useful for editor integrations.
    3 module.exports = require( '@wordpress/prettier-config' );
     3module.exports = {
     4    ...require( '@wordpress/prettier-config' ),
     5    proseWrap: 'preserve',
     6    markdownListMarkerSpace: 1,
     7};
  • smntcs-theme-list-view/trunk/README.md

    r2981956 r3258758  
    2424## Plugin page
    2525
    26 You can find the plugin on https://wordpress.org/plugins/smntcs-theme-list-view/.
     26You can find the plugin on <https://wordpress.org/plugins/smntcs-theme-list-view/>.
    2727
    2828## Changelog
     29
     30### 1.4 (2024.03.19)
     31
     32-   Test up to WP 6.8
    2933
    3034### 1.3 (2023.10.21)
  • smntcs-theme-list-view/trunk/README.txt

    r2981956 r3258758  
    33Contributors:       nielslange
    44Tags:               Theme, List View, Administration
    5 Stable tag:         1.3
    6 Tested up to:       6.4
     5Stable tag:         1.4
     6Tested up to:       6.8
    77Requires at least:  5.2
    88Requires PHP:       7.4
     
    3232== Changelog ==
    3333
     34= 1.4 (2024.03.19) =
     35
     36- Test up to WP 6.8
     37
    3438= 1.3 (2023.10.21) =
    3539
  • smntcs-theme-list-view/trunk/includes/class-smntcs-themes-list-screen-options.php

    r2903776 r3258758  
    5757            array(
    5858                'label'   => __( 'Number of items per page:' ), // phpcs:ignore WordPress.WP.I18n.MissingArgDomain
    59                 'default' => get_option( 'themes_per_page', 23 ),
     59                'default' => get_option( 'themes_per_page', 20 ),
    6060                'option'  => 'themes_per_page',
    6161            )
  • smntcs-theme-list-view/trunk/includes/class-smntcs-themes-list-table.php

    r2908799 r3258758  
    201201     */
    202202    public function usort_reorder( $element1, $element2 ) {
    203         $orderby = ( ! empty( $_REQUEST['orderby'] ) ) ? sanitize_text_field( $_REQUEST['orderby'] ) : 'name';
    204         $order   = ( ! empty( $_REQUEST['order'] ) ) ? sanitize_text_field( $_REQUEST['order'] ) : 'asc';
     203        $orderby = ( ! empty( $_REQUEST['orderby'] ) ) ? sanitize_text_field( $_REQUEST['orderby'] ) : 'name'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
     204        $order   = ( ! empty( $_REQUEST['order'] ) ) ? sanitize_text_field( $_REQUEST['order'] ) : 'asc'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
    205205        $result  = strcasecmp( $element1[ $orderby ], $element2[ $orderby ] );
    206206
  • smntcs-theme-list-view/trunk/includes/class-smntcs-themes-list-view.php

    r2904139 r3258758  
    1111defined( 'ABSPATH' ) || exit;
    1212
     13/*
     14 * Load the WP_List_Table class if it doesn't already exist.
     15 */
    1316if ( file_exists( plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php' ) ) {
    1417    require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php';
     
    223226}
    224227
    225 ( new SMNTCS_Themes_List_View() );
     228new SMNTCS_Themes_List_View();
  • smntcs-theme-list-view/trunk/smntcs-themes-list-view.php

    r2981956 r3258758  
    77 * Author URI:          https://nielslange.de/
    88 * Text Domain:         smntcs-theme-list-view
    9  * Version:             1.3
     9 * Version:             1.4
    1010 * Requires at least:   5.0
    1111 * Requires PHP:        7.4
     
    2020
    2121// Define plugin constants.
    22 if ( ! defined( 'SMNTCS_THEME_LIST_VIEW_FILE' ) ) {
    23     define( 'SMNTCS_THEME_LIST_VIEW_FILE', __FILE__ );
    24 }
     22define( 'SMNTCS_THEME_LIST_VIEW_FILE', __FILE__ );
    2523
    26 // Initialize the plugin.
    27 if ( file_exists( plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-view.php' ) ) {
    28     require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-view.php';
    29 }
     24// Load plugin classes.
     25require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php';
     26require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-view.php';
    3027
    31 if ( file_exists( plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php' ) ) {
    32     require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php';
    33 }
Note: See TracChangeset for help on using the changeset viewer.