Changeset 3079135
- Timestamp:
- 04/30/2024 07:05:21 AM (3 months ago)
- Location:
- snow-monkey-blocks/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
snow-monkey-blocks/trunk/App/Controller/Manager.php
r3076746 r3079135 254 254 */ 255 255 protected function _is_option_page() { 256 $current_url = admin_url( '/options-general.php?page=' . static::MENU_SLUG ) ;256 $current_url = admin_url( '/options-general.php?page=' . static::MENU_SLUG ); 257 257 $current_url = preg_replace( '|^(.+)?(/wp-admin/.*?)$|', '$2', $current_url ); 258 $request_uri = filter_input( INPUT_SERVER, 'REQUEST_URI' ) ;258 $request_uri = filter_input( INPUT_SERVER, 'REQUEST_URI' ); 259 259 $request_uri = preg_replace( '|^(.+)?(/wp-admin/.*?)$|', '$2', $request_uri ); 260 260 return false !== strpos( $request_uri, $current_url ); … … 267 267 */ 268 268 protected function _is_options_page() { 269 $current_url = admin_url( '/options.php' ) ;269 $current_url = admin_url( '/options.php' ); 270 270 $current_url = preg_replace( '|^(.+)?(/wp-admin/.*?)$|', '$2', $current_url ); 271 $request_uri = filter_input( INPUT_SERVER, 'REQUEST_URI' ) ;271 $request_uri = filter_input( INPUT_SERVER, 'REQUEST_URI' ); 272 272 $request_uri = preg_replace( '|^(.+)?(/wp-admin/.*?)$|', '$2', $request_uri ); 273 273 return false !== strpos( $request_uri, $current_url ); -
snow-monkey-blocks/trunk/dist/blocks/custom-field/index.php
r3076746 r3079135 9 9 use Snow_Monkey\Plugin\Blocks\App\DynamicBlocks; 10 10 11 wp_register_style(12 'snow-monkey-blocks/custom-field/editor',13 SNOW_MONKEY_BLOCKS_DIR_URL . '/dist/blocks/custom-field/editor.css',14 array( 'snow-monkey-blocks/accordion' ),15 filemtime( SNOW_MONKEY_BLOCKS_DIR_PATH . '/dist/blocks/custom-field/editor.css' )16 );17 18 11 register_block_type( 19 12 __DIR__, -
snow-monkey-blocks/trunk/readme.txt
r3076746 r3079135 3 3 Donate link: https://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40 4 4 Tags: gutenberg, block, blocks, editor, gutenberg blocks, page builder, landing page, microcopy, steps, call to action 5 Stable tag: 20.5. 35 Stable tag: 20.5. 6 6 Requires at least: 6.4 7 7 Tested up to: 6.5 … … 117 117 118 118 == Changelog == 119 120 121 119 122 120 123 = 20.5.3 = -
snow-monkey-blocks/trunk/snow-monkey-blocks.php
r3076746 r3079135 2 2 /** 3 3 * Plugin name: Snow Monkey Blocks 4 * Version: 20.5. 34 * Version: 20.5. 5 5 * Description: Gutenberg blocks collection made by MonkeyWrench. 6 6 * Author: inc2734 -
snow-monkey-blocks/trunk/src/blocks/custom-field/index.php
r3076746 r3079135 9 9 use Snow_Monkey\Plugin\Blocks\App\DynamicBlocks; 10 10 11 wp_register_style(12 'snow-monkey-blocks/custom-field/editor',13 SNOW_MONKEY_BLOCKS_DIR_URL . '/dist/blocks/custom-field/editor.css',14 array( 'snow-monkey-blocks/accordion' ),15 filemtime( SNOW_MONKEY_BLOCKS_DIR_PATH . '/dist/blocks/custom-field/editor.css' )16 );17 18 11 register_block_type( 19 12 __DIR__,
Note: See TracChangeset
for help on using the changeset viewer.