Changeset 3258758
- Timestamp:
- 03/19/2025 08:16:56 PM (9 months ago)
- Location:
- smntcs-theme-list-view
- Files:
-
- 2 added
- 2 deleted
- 14 edited
- 1 copied
-
tags/1.4 (copied) (copied from smntcs-theme-list-view/trunk)
-
tags/1.4/.prettierrc.js (modified) (1 diff)
-
tags/1.4/README.md (modified) (1 diff)
-
tags/1.4/README.txt (modified) (2 diffs)
-
tags/1.4/includes/class-smntcs-themes-list-screen-options.php (modified) (1 diff)
-
tags/1.4/includes/class-smntcs-themes-list-table.php (modified) (1 diff)
-
tags/1.4/includes/class-smntcs-themes-list-view.php (modified) (2 diffs)
-
tags/1.4/package-lock.json (deleted)
-
tags/1.4/pnpm-lock.yaml (added)
-
tags/1.4/smntcs-themes-list-view.php (modified) (2 diffs)
-
trunk/.prettierrc.js (modified) (1 diff)
-
trunk/README.md (modified) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/class-smntcs-themes-list-screen-options.php (modified) (1 diff)
-
trunk/includes/class-smntcs-themes-list-table.php (modified) (1 diff)
-
trunk/includes/class-smntcs-themes-list-view.php (modified) (2 diffs)
-
trunk/package-lock.json (deleted)
-
trunk/pnpm-lock.yaml (added)
-
trunk/smntcs-themes-list-view.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smntcs-theme-list-view/tags/1.4/.prettierrc.js
r2903776 r3258758 1 1 // Import the default config file and expose it in the project root. 2 2 // Useful for editor integrations. 3 module.exports = require( '@wordpress/prettier-config' ); 3 module.exports = { 4 ...require( '@wordpress/prettier-config' ), 5 proseWrap: 'preserve', 6 markdownListMarkerSpace: 1, 7 }; -
smntcs-theme-list-view/tags/1.4/README.md
r2981956 r3258758 24 24 ## Plugin page 25 25 26 You can find the plugin on https://wordpress.org/plugins/smntcs-theme-list-view/.26 You can find the plugin on <https://wordpress.org/plugins/smntcs-theme-list-view/>. 27 27 28 28 ## Changelog 29 30 ### 1.4 (2024.03.19) 31 32 - Test up to WP 6.8 29 33 30 34 ### 1.3 (2023.10.21) -
smntcs-theme-list-view/tags/1.4/README.txt
r2981956 r3258758 3 3 Contributors: nielslange 4 4 Tags: Theme, List View, Administration 5 Stable tag: 1. 36 Tested up to: 6. 45 Stable tag: 1.4 6 Tested up to: 6.8 7 7 Requires at least: 5.2 8 8 Requires PHP: 7.4 … … 32 32 == Changelog == 33 33 34 = 1.4 (2024.03.19) = 35 36 - Test up to WP 6.8 37 34 38 = 1.3 (2023.10.21) = 35 39 -
smntcs-theme-list-view/tags/1.4/includes/class-smntcs-themes-list-screen-options.php
r2903776 r3258758 57 57 array( 58 58 'label' => __( 'Number of items per page:' ), // phpcs:ignore WordPress.WP.I18n.MissingArgDomain 59 'default' => get_option( 'themes_per_page', 2 3),59 'default' => get_option( 'themes_per_page', 20 ), 60 60 'option' => 'themes_per_page', 61 61 ) -
smntcs-theme-list-view/tags/1.4/includes/class-smntcs-themes-list-table.php
r2908799 r3258758 201 201 */ 202 202 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 205 205 $result = strcasecmp( $element1[ $orderby ], $element2[ $orderby ] ); 206 206 -
smntcs-theme-list-view/tags/1.4/includes/class-smntcs-themes-list-view.php
r2904139 r3258758 11 11 defined( 'ABSPATH' ) || exit; 12 12 13 /* 14 * Load the WP_List_Table class if it doesn't already exist. 15 */ 13 16 if ( file_exists( plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php' ) ) { 14 17 require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php'; … … 223 226 } 224 227 225 ( new SMNTCS_Themes_List_View());228 new SMNTCS_Themes_List_View(); -
smntcs-theme-list-view/tags/1.4/smntcs-themes-list-view.php
r2981956 r3258758 7 7 * Author URI: https://nielslange.de/ 8 8 * Text Domain: smntcs-theme-list-view 9 * Version: 1. 39 * Version: 1.4 10 10 * Requires at least: 5.0 11 11 * Requires PHP: 7.4 … … 20 20 21 21 // Define plugin constants. 22 if ( ! defined( 'SMNTCS_THEME_LIST_VIEW_FILE' ) ) { 23 define( 'SMNTCS_THEME_LIST_VIEW_FILE', __FILE__ ); 24 } 22 define( 'SMNTCS_THEME_LIST_VIEW_FILE', __FILE__ ); 25 23 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. 25 require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php'; 26 require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-view.php'; 30 27 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 1 1 // Import the default config file and expose it in the project root. 2 2 // Useful for editor integrations. 3 module.exports = require( '@wordpress/prettier-config' ); 3 module.exports = { 4 ...require( '@wordpress/prettier-config' ), 5 proseWrap: 'preserve', 6 markdownListMarkerSpace: 1, 7 }; -
smntcs-theme-list-view/trunk/README.md
r2981956 r3258758 24 24 ## Plugin page 25 25 26 You can find the plugin on https://wordpress.org/plugins/smntcs-theme-list-view/.26 You can find the plugin on <https://wordpress.org/plugins/smntcs-theme-list-view/>. 27 27 28 28 ## Changelog 29 30 ### 1.4 (2024.03.19) 31 32 - Test up to WP 6.8 29 33 30 34 ### 1.3 (2023.10.21) -
smntcs-theme-list-view/trunk/README.txt
r2981956 r3258758 3 3 Contributors: nielslange 4 4 Tags: Theme, List View, Administration 5 Stable tag: 1. 36 Tested up to: 6. 45 Stable tag: 1.4 6 Tested up to: 6.8 7 7 Requires at least: 5.2 8 8 Requires PHP: 7.4 … … 32 32 == Changelog == 33 33 34 = 1.4 (2024.03.19) = 35 36 - Test up to WP 6.8 37 34 38 = 1.3 (2023.10.21) = 35 39 -
smntcs-theme-list-view/trunk/includes/class-smntcs-themes-list-screen-options.php
r2903776 r3258758 57 57 array( 58 58 'label' => __( 'Number of items per page:' ), // phpcs:ignore WordPress.WP.I18n.MissingArgDomain 59 'default' => get_option( 'themes_per_page', 2 3),59 'default' => get_option( 'themes_per_page', 20 ), 60 60 'option' => 'themes_per_page', 61 61 ) -
smntcs-theme-list-view/trunk/includes/class-smntcs-themes-list-table.php
r2908799 r3258758 201 201 */ 202 202 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 205 205 $result = strcasecmp( $element1[ $orderby ], $element2[ $orderby ] ); 206 206 -
smntcs-theme-list-view/trunk/includes/class-smntcs-themes-list-view.php
r2904139 r3258758 11 11 defined( 'ABSPATH' ) || exit; 12 12 13 /* 14 * Load the WP_List_Table class if it doesn't already exist. 15 */ 13 16 if ( file_exists( plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php' ) ) { 14 17 require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php'; … … 223 226 } 224 227 225 ( new SMNTCS_Themes_List_View());228 new SMNTCS_Themes_List_View(); -
smntcs-theme-list-view/trunk/smntcs-themes-list-view.php
r2981956 r3258758 7 7 * Author URI: https://nielslange.de/ 8 8 * Text Domain: smntcs-theme-list-view 9 * Version: 1. 39 * Version: 1.4 10 10 * Requires at least: 5.0 11 11 * Requires PHP: 7.4 … … 20 20 21 21 // Define plugin constants. 22 if ( ! defined( 'SMNTCS_THEME_LIST_VIEW_FILE' ) ) { 23 define( 'SMNTCS_THEME_LIST_VIEW_FILE', __FILE__ ); 24 } 22 define( 'SMNTCS_THEME_LIST_VIEW_FILE', __FILE__ ); 25 23 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. 25 require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-screen-options.php'; 26 require_once plugin_dir_path( __FILE__ ) . '/includes/class-smntcs-themes-list-view.php'; 30 27 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.