Changeset 2797153
- Timestamp:
- 10/11/2022 12:57:18 PM (3 years ago)
- Location:
- column-shortcodes
- Files:
-
- 4 edited
-
tags/1.0.1/column-shortcodes.php (modified) (5 diffs)
-
tags/1.0.1/readme.txt (modified) (2 diffs)
-
trunk/column-shortcodes.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
column-shortcodes/tags/1.0.1/column-shortcodes.php
r2361095 r2797153 12 12 License: GPLv2 13 13 14 Copyright 2011-20 17Codepress [email protected]14 Copyright 2011-2023 Codepress [email protected] 15 15 16 16 This program is free software; you can redistribute it and/or modify … … 117 117 public function admin_styles() { 118 118 if ( $this->has_permissions() && $this->is_edit_screen() ) { 119 wp_enqueue_style( 'cpsh-admin', $this->get_url() . ' /assets/css/admin.css', array(), $this->get_version(), 'all' );119 wp_enqueue_style( 'cpsh-admin', $this->get_url() . 'assets/css/admin.css', array(), $this->get_version(), 'all' ); 120 120 121 121 if ( is_rtl() ) { 122 wp_enqueue_style( 'cpsh-admin-rtl', $this->get_url() . ' /assets/css/admin-rtl.css', array(), $this->get_version(), 'all' );122 wp_enqueue_style( 'cpsh-admin-rtl', $this->get_url() . 'assets/css/admin-rtl.css', array(), $this->get_version(), 'all' ); 123 123 } 124 124 } … … 134 134 public function admin_scripts( $plugins ) { 135 135 if ( $this->has_permissions() && $this->is_edit_screen() ) { 136 wp_enqueue_script( 'cpsh-admin', $this->get_url() . ' /assets/js/admin.js', array( 'jquery' ), $this->get_version() );137 wp_enqueue_script( 'jquery-cookie', $this->get_url() . ' /assets/js/jquery.ck.js', array( 'jquery' ), $this->get_version() );136 wp_enqueue_script( 'cpsh-admin', $this->get_url() . 'assets/js/admin.js', array( 'jquery' ), $this->get_version() ); 137 wp_enqueue_script( 'jquery-cookie', $this->get_url() . 'assets/js/jquery.ck.js', array( 'jquery' ), $this->get_version() ); 138 138 } 139 139 … … 148 148 public function admin_plugins_scripts() { 149 149 if ( $this->is_plugins_screen() ) { 150 wp_enqueue_script( 'cpsh-admin-plugins', $this->get_url() . ' /assets/js/plugins.js', array( 'jquery' ), $this->get_version() );150 wp_enqueue_script( 'cpsh-admin-plugins', $this->get_url() . 'assets/js/plugins.js', array( 'jquery' ), $this->get_version() ); 151 151 } 152 152 } … … 160 160 if ( apply_filters( 'cpsh_load_styles', true ) ) { 161 161 if ( is_rtl() ) { 162 wp_enqueue_style( 'cpsh-shortcodes-rtl', $this->get_url() . ' /assets/css/shortcodes-rtl.css', array(), $this->get_version(), 'all' );162 wp_enqueue_style( 'cpsh-shortcodes-rtl', $this->get_url() . 'assets/css/shortcodes-rtl.css', array(), $this->get_version(), 'all' ); 163 163 } else { 164 wp_enqueue_style( 'cpsh-shortcodes', $this->get_url() . ' /assets/css/shortcodes.css', array(), $this->get_version(), 'all' );164 wp_enqueue_style( 'cpsh-shortcodes', $this->get_url() . 'assets/css/shortcodes.css', array(), $this->get_version(), 'all' ); 165 165 } 166 166 } -
column-shortcodes/tags/1.0.1/readme.txt
r2361095 r2797153 4 4 Tags: columns, column, shortcodes, shortcode, divider, layout, posts, editor, wp-admin, admin, codepress, wordpress 5 5 Requires at least: 4.8 6 Tested up to: 5.56 Tested up to: 6.0.2 7 7 Stable tag: 1.0.1 8 8 … … 250 250 You will find a .po file in the languages folder which you can use. You can send the translation to <a href="mailto:[email protected]">[email protected]</a>. 251 251 252 253 252 == Screenshots == 254 253 -
column-shortcodes/trunk/column-shortcodes.php
r2361095 r2797153 12 12 License: GPLv2 13 13 14 Copyright 2011-20 17Codepress [email protected]14 Copyright 2011-2023 Codepress [email protected] 15 15 16 16 This program is free software; you can redistribute it and/or modify … … 117 117 public function admin_styles() { 118 118 if ( $this->has_permissions() && $this->is_edit_screen() ) { 119 wp_enqueue_style( 'cpsh-admin', $this->get_url() . ' /assets/css/admin.css', array(), $this->get_version(), 'all' );119 wp_enqueue_style( 'cpsh-admin', $this->get_url() . 'assets/css/admin.css', array(), $this->get_version(), 'all' ); 120 120 121 121 if ( is_rtl() ) { 122 wp_enqueue_style( 'cpsh-admin-rtl', $this->get_url() . ' /assets/css/admin-rtl.css', array(), $this->get_version(), 'all' );122 wp_enqueue_style( 'cpsh-admin-rtl', $this->get_url() . 'assets/css/admin-rtl.css', array(), $this->get_version(), 'all' ); 123 123 } 124 124 } … … 134 134 public function admin_scripts( $plugins ) { 135 135 if ( $this->has_permissions() && $this->is_edit_screen() ) { 136 wp_enqueue_script( 'cpsh-admin', $this->get_url() . ' /assets/js/admin.js', array( 'jquery' ), $this->get_version() );137 wp_enqueue_script( 'jquery-cookie', $this->get_url() . ' /assets/js/jquery.ck.js', array( 'jquery' ), $this->get_version() );136 wp_enqueue_script( 'cpsh-admin', $this->get_url() . 'assets/js/admin.js', array( 'jquery' ), $this->get_version() ); 137 wp_enqueue_script( 'jquery-cookie', $this->get_url() . 'assets/js/jquery.ck.js', array( 'jquery' ), $this->get_version() ); 138 138 } 139 139 … … 148 148 public function admin_plugins_scripts() { 149 149 if ( $this->is_plugins_screen() ) { 150 wp_enqueue_script( 'cpsh-admin-plugins', $this->get_url() . ' /assets/js/plugins.js', array( 'jquery' ), $this->get_version() );150 wp_enqueue_script( 'cpsh-admin-plugins', $this->get_url() . 'assets/js/plugins.js', array( 'jquery' ), $this->get_version() ); 151 151 } 152 152 } … … 160 160 if ( apply_filters( 'cpsh_load_styles', true ) ) { 161 161 if ( is_rtl() ) { 162 wp_enqueue_style( 'cpsh-shortcodes-rtl', $this->get_url() . ' /assets/css/shortcodes-rtl.css', array(), $this->get_version(), 'all' );162 wp_enqueue_style( 'cpsh-shortcodes-rtl', $this->get_url() . 'assets/css/shortcodes-rtl.css', array(), $this->get_version(), 'all' ); 163 163 } else { 164 wp_enqueue_style( 'cpsh-shortcodes', $this->get_url() . ' /assets/css/shortcodes.css', array(), $this->get_version(), 'all' );164 wp_enqueue_style( 'cpsh-shortcodes', $this->get_url() . 'assets/css/shortcodes.css', array(), $this->get_version(), 'all' ); 165 165 } 166 166 } -
column-shortcodes/trunk/readme.txt
r2361095 r2797153 4 4 Tags: columns, column, shortcodes, shortcode, divider, layout, posts, editor, wp-admin, admin, codepress, wordpress 5 5 Requires at least: 4.8 6 Tested up to: 5.56 Tested up to: 6.0.2 7 7 Stable tag: 1.0.1 8 8 … … 250 250 You will find a .po file in the languages folder which you can use. You can send the translation to <a href="mailto:[email protected]">[email protected]</a>. 251 251 252 253 252 == Screenshots == 254 253
Note: See TracChangeset
for help on using the changeset viewer.