Changeset 2758670
- Timestamp:
- 07/19/2022 02:44:55 PM (4 years ago)
- Location:
- bu-learning-blocks
- Files:
-
- 2 added
- 2 deleted
- 12 edited
- 1 copied
-
tags/1.1.4 (copied) (copied from bu-learning-blocks/trunk)
-
tags/1.1.4/bu-learning-blocks.php (modified) (1 diff)
-
tags/1.1.4/languages/bu-learning-blocks.pot (modified) (5 diffs)
-
tags/1.1.4/package.json (modified) (1 diff)
-
tags/1.1.4/readme.txt (modified) (2 diffs)
-
tags/1.1.4/src/customize_tax_label.js (added)
-
tags/1.1.4/src/customize_tax_panel.js (deleted)
-
tags/1.1.4/src/init.php (modified) (1 diff)
-
tags/1.1.4/src/learning-module-cpt.php (modified) (2 diffs)
-
trunk/bu-learning-blocks.php (modified) (1 diff)
-
trunk/languages/bu-learning-blocks.pot (modified) (5 diffs)
-
trunk/package.json (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/customize_tax_label.js (added)
-
trunk/src/customize_tax_panel.js (deleted)
-
trunk/src/init.php (modified) (1 diff)
-
trunk/src/learning-module-cpt.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bu-learning-blocks/tags/1.1.4/bu-learning-blocks.php
r2518565 r2758670 10 10 * Text Domain: bu-learning-blocks 11 11 * Domain Path: /languages 12 * Version: 1.1. 312 * Version: 1.1.4 13 13 * License: GPL2+ 14 14 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt -
bu-learning-blocks/tags/1.1.4/languages/bu-learning-blocks.pot
r2518565 r2758670 1 # Copyright (C) 202 1Boston University: Web Applications2 # This file is distributed under the same license as the BU Learning Blocks plugin.1 # Copyright (C) 2022 Boston University: Web Applications 2 # This file is distributed under the GPL2+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: BU Learning Blocks v1.1.3\n"5 "Project-Id-Version: BU Learning Blocks 1.1.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/bu-learning-blocks\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 1-03-09T22:14:20+00:00\n"12 "POT-Creation-Date: 2022-07-18T17:16:56-04:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 4.0\n"14 "X-Generator: WP-CLI 2.6.0\n" 15 15 "X-Domain: bu-learning-blocks\n" 16 16 … … 35 35 msgstr "" 36 36 37 #: bu-learning-blocks.php: 3937 #: bu-learning-blocks.php:41 38 38 msgid "BULB Error: BU Learning Blocks requires either WordPress 5.0.0, or the Gutenberg plugin to be installed and activated on any version previous to 5.0.0." 39 39 msgstr "" 40 40 41 #: bu-learning-blocks.php:4 241 #: bu-learning-blocks.php:44 42 42 msgid "Please install and activate the Gutenberg plugin to use BU Learning Blocks." 43 43 msgstr "" 44 44 45 #: src/init.php: 3845 #: src/init.php:41 46 46 #: src/blocks/bulb-cn/index.js:22 47 47 #: src/blocks/bulb-fitb/index.js:22 … … 53 53 msgstr "" 54 54 55 #: src/init.php:10 155 #: src/init.php:104 56 56 msgid "<strong>Welcome to BU Learning Blocks</strong>" 57 57 msgstr "" 58 58 59 #: src/init.php:1 0959 #: src/init.php:112 60 60 msgid "Install Blocks and Pages" 61 61 msgstr "" 62 62 63 #: src/init.php:11 563 #: src/init.php:118 64 64 msgid "Install Blocks Only" 65 65 msgstr "" 66 66 67 #: src/learning-module-cpt.php:1 767 #: src/learning-module-cpt.php:19 68 68 msgctxt "Taxonomy General Name" 69 69 msgid "Lessons" 70 70 msgstr "" 71 71 72 #: src/learning-module-cpt.php: 1872 #: src/learning-module-cpt.php:20 73 73 msgctxt "Taxonomy Singular Name" 74 74 msgid "Lesson" 75 75 msgstr "" 76 76 77 #: src/learning-module-cpt.php: 1977 #: src/learning-module-cpt.php:21 78 78 msgid "Lessons" 79 79 msgstr "" 80 80 81 #: src/learning-module-cpt.php:2 081 #: src/learning-module-cpt.php:22 82 82 msgid "All Lessons" 83 83 msgstr "" 84 84 85 #: src/learning-module-cpt.php:2 185 #: src/learning-module-cpt.php:23 86 86 msgid "View Lesson" 87 87 msgstr "" 88 88 89 #: src/learning-module-cpt.php:2 289 #: src/learning-module-cpt.php:24 90 90 msgid "Parent Lesson" 91 91 msgstr "" 92 92 93 #: src/learning-module-cpt.php:2 393 #: src/learning-module-cpt.php:25 94 94 msgid "Parent Lesson:" 95 95 msgstr "" 96 96 97 #: src/learning-module-cpt.php:2 497 #: src/learning-module-cpt.php:26 98 98 msgid "New Lesson Name" 99 99 msgstr "" 100 100 101 #: src/learning-module-cpt.php:2 5102 msgid " Create Lesson"103 msgstr "" 104 105 #: src/learning-module-cpt.php:2 6101 #: src/learning-module-cpt.php:27 102 msgid "Include in Lesson (start typing name of Lesson)" 103 msgstr "" 104 105 #: src/learning-module-cpt.php:28 106 106 msgid "Edit Lesson" 107 107 msgstr "" 108 108 109 #: src/learning-module-cpt.php:2 7109 #: src/learning-module-cpt.php:29 110 110 msgid "Update Lesson" 111 111 msgstr "" 112 112 113 #: src/learning-module-cpt.php: 28113 #: src/learning-module-cpt.php:30 114 114 msgid "Separate lessons with commas" 115 115 msgstr "" 116 116 117 #: src/learning-module-cpt.php: 29117 #: src/learning-module-cpt.php:31 118 118 msgid "Search Lessons" 119 119 msgstr "" 120 120 121 #: src/learning-module-cpt.php:3 0121 #: src/learning-module-cpt.php:32 122 122 msgid "Add or remove lessons" 123 123 msgstr "" 124 124 125 #: src/learning-module-cpt.php:3 1125 #: src/learning-module-cpt.php:33 126 126 msgid "Choose from the most used lessons" 127 127 msgstr "" 128 128 129 #: src/learning-module-cpt.php:3 2129 #: src/learning-module-cpt.php:34 130 130 msgid "Not Found" 131 131 msgstr "" 132 132 133 #: src/learning-module-cpt.php:6 2133 #: src/learning-module-cpt.php:64 134 134 msgid "Lesson Pages" 135 135 msgstr "" 136 136 137 #: src/learning-module-cpt.php:6 3137 #: src/learning-module-cpt.php:65 138 138 msgid "Lesson Page" 139 139 msgstr "" 140 140 141 #: src/learning-module-cpt.php:6 4141 #: src/learning-module-cpt.php:66 142 142 msgid "BULB Lessons" 143 143 msgstr "" 144 144 145 #: src/learning-module-cpt.php:65 146 #: src/learning-module-cpt.php:66 145 #: src/learning-module-cpt.php:67 146 #: src/learning-module-cpt.php:68 147 #: src/learning-module-cpt.php:71 148 msgid "New Lesson Page" 149 msgstr "" 150 147 151 #: src/learning-module-cpt.php:69 148 msgid "New Lesson Page"149 msgstr ""150 151 #: src/learning-module-cpt.php:67152 152 msgid "Edit Lesson Page" 153 153 msgstr "" 154 154 155 #: src/learning-module-cpt.php: 68155 #: src/learning-module-cpt.php:70 156 156 msgid "Update Lesson Page" 157 157 msgstr "" 158 158 159 #: src/learning-module-cpt.php:7 0159 #: src/learning-module-cpt.php:72 160 160 msgid "All Lesson Pages" 161 161 msgstr "" 162 162 163 #: src/learning-module-cpt.php:7 1163 #: src/learning-module-cpt.php:73 164 164 msgid "View Lesson Page" 165 165 msgstr "" 166 166 167 #: src/learning-module-cpt.php:7 2167 #: src/learning-module-cpt.php:74 168 168 msgid "View Lesson Pages" 169 169 msgstr "" 170 170 171 #: src/learning-module-cpt.php:7 3171 #: src/learning-module-cpt.php:75 172 172 msgid "Lesson Page Attributes" 173 173 msgstr "" 174 174 175 #: src/learning-module-cpt.php:7 4175 #: src/learning-module-cpt.php:76 176 176 msgid "Search Lesson Pages" 177 177 msgstr "" 178 178 179 #: src/learning-module-cpt.php:7 5179 #: src/learning-module-cpt.php:77 180 180 msgid "No Lesson Pages found" 181 181 msgstr "" 182 182 183 #: src/learning-module-cpt.php:7 6183 #: src/learning-module-cpt.php:78 184 184 msgid "No Lessons Pages found in Trash" 185 185 msgstr "" 186 186 187 #: src/learning-module-cpt.php:7 7187 #: src/learning-module-cpt.php:79 188 188 msgid "Lesson Page Archives" 189 189 msgstr "" 190 190 191 #: src/learning-module-cpt.php: 78191 #: src/learning-module-cpt.php:80 192 192 msgid "Parent Lesson Page:" 193 193 msgstr "" 194 194 195 #: src/learning-module-cpt.php:8 7195 #: src/learning-module-cpt.php:89 196 196 msgid "lesson" 197 197 msgstr "" 198 198 199 #: src/learning-module-cpt.php: 89199 #: src/learning-module-cpt.php:91 200 200 msgid "Holds our Lessons" 201 msgstr ""202 203 #: build/blocks/blocks.build.js:1204 #: src/components/QuestionHeader.js:7205 msgid "Question"206 msgstr ""207 208 #: build/blocks/blocks.build.js:1209 #: src/components/QuestionHeader.js:8210 msgid "Question Header"211 msgstr ""212 213 #: build/blocks/blocks.build.js:1214 #: src/components/QuestionHeader.js:11215 msgid "Enter Question Header"216 201 msgstr "" 217 202 … … 331 316 msgid "Enter Incorrect Feedback" 332 317 msgstr "" 318 319 #: src/components/QuestionHeader.js:7 320 msgid "Question" 321 msgstr "" 322 323 #: src/components/QuestionHeader.js:8 324 msgid "Question Header" 325 msgstr "" 326 327 #: src/components/QuestionHeader.js:11 328 msgid "Enter Question Header" 329 msgstr "" -
bu-learning-blocks/tags/1.1.4/package.json
r2518565 r2758670 1 1 { 2 2 "name": "bu-learning-blocks", 3 "version": "1.1. 3",3 "version": "1.1.4", 4 4 "private": true, 5 5 "scripts": { -
bu-learning-blocks/tags/1.1.4/readme.txt
r2518565 r2758670 3 3 Tags: learning, teaching, education, online courses, boston university, bu 4 4 Requires at least: 5.3.2 5 Tested up to: 5.76 Stable tag: 1.1. 35 Tested up to: 6.0 6 Stable tag: 1.1.4 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 40 40 == Changelog == 41 41 42 = 1.1.4 = 43 * Patch issues with 5.8 and 5.9 compatibility 44 42 45 = 1.1.3 = 43 46 * Add Github publish action -
bu-learning-blocks/tags/1.1.4/src/init.php
r2518565 r2758670 27 27 require_once BULB_PLUGIN_DIR_PATH . 'src/blocks/bulb-mat/index.php'; 28 28 29 29 // To support versions before and after 5.8, check the WordPress version and use the newer 'block_categories_all' tag if it's 5.8 or newer. 30 $block_category_filter = ( version_compare( get_bloginfo( 'version' ), '5.8', '>=' ) ) ? 'block_categories_all' : 'block_categories'; 30 31 31 32 // Add BULB custom block category. 32 33 add_filter( 33 'block_categories',34 $block_category_filter, 34 35 function( $categories, $post ) { 35 36 return array_merge( -
bu-learning-blocks/tags/1.1.4/src/learning-module-cpt.php
r2518565 r2758670 25 25 'parent_item_colon' => __( 'Parent Lesson:', 'bu-learning-blocks' ), 26 26 'new_item_name' => __( 'New Lesson Name', 'bu-learning-blocks' ), 27 'add_new_item' => __( ' Create Lesson', 'bu-learning-blocks' ),27 'add_new_item' => __( 'Include in Lesson (start typing name of Lesson)', 'bu-learning-blocks' ), 28 28 'edit_item' => __( 'Edit Lesson', 'bu-learning-blocks' ), 29 29 'update_item' => __( 'Update Lesson', 'bu-learning-blocks' ), … … 229 229 230 230 /** 231 * Load script to customize the taxonomy menu in the lesson page editor. 231 * Loads a script to customize the bu-courses taxonomy label. 232 * 233 * This used to modify the label of the taxonomy panel in the block editor. Changes in the block editor made this 234 * much more difficult, so now the default label is the string that is used in the block editor. This script 235 * customizes the taxonomy page instead, to what the default label used to be. 236 * 237 * Activated by the 'bulb-courses_add_form_fields' action, which is fired when the bu-courses taxonomy form is loaded. 232 238 * 233 239 * @since 0.0.7 234 */ 235 function bulb_add_admin_scripts() { 240 * 241 * @param string $hook_suffix The name of the hook that was activated. 242 */ 243 function bulb_add_admin_scripts( $hook_suffix ) { 244 // Double check that we're on the bulb taxonomy page, and bail if not. 245 if ( 'bulb-courses' !== $hook_suffix ) { 246 return; 247 } 248 249 // If we are on the bulb taxonomy page, enqueue the script to customize the label. 236 250 wp_enqueue_script( 237 'customize_tax_ panel',238 BULB_PLUGIN_URL . 'src/customize_tax_ panel.js',251 'customize_tax_label', 252 BULB_PLUGIN_URL . 'src/customize_tax_label.js', 239 253 array(), 240 filemtime( plugin_dir_path( __DIR__ ) . 'src/customize_tax_ panel.js' ), // Gets file modification time for cache busting.254 filemtime( plugin_dir_path( __DIR__ ) . 'src/customize_tax_label.js' ), // Gets file modification time for cache busting. 241 255 true // Enqueue the script in the footer. 242 256 ); 243 257 } 244 add_action( ' enqueue_block_editor_assets', __NAMESPACE__ . '\bulb_add_admin_scripts' );258 add_action( 'bulb-courses_add_form_fields', __NAMESPACE__ . '\bulb_add_admin_scripts' ); -
bu-learning-blocks/trunk/bu-learning-blocks.php
r2518565 r2758670 10 10 * Text Domain: bu-learning-blocks 11 11 * Domain Path: /languages 12 * Version: 1.1. 312 * Version: 1.1.4 13 13 * License: GPL2+ 14 14 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt -
bu-learning-blocks/trunk/languages/bu-learning-blocks.pot
r2518565 r2758670 1 # Copyright (C) 202 1Boston University: Web Applications2 # This file is distributed under the same license as the BU Learning Blocks plugin.1 # Copyright (C) 2022 Boston University: Web Applications 2 # This file is distributed under the GPL2+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: BU Learning Blocks v1.1.3\n"5 "Project-Id-Version: BU Learning Blocks 1.1.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/bu-learning-blocks\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 1-03-09T22:14:20+00:00\n"12 "POT-Creation-Date: 2022-07-18T17:16:56-04:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 4.0\n"14 "X-Generator: WP-CLI 2.6.0\n" 15 15 "X-Domain: bu-learning-blocks\n" 16 16 … … 35 35 msgstr "" 36 36 37 #: bu-learning-blocks.php: 3937 #: bu-learning-blocks.php:41 38 38 msgid "BULB Error: BU Learning Blocks requires either WordPress 5.0.0, or the Gutenberg plugin to be installed and activated on any version previous to 5.0.0." 39 39 msgstr "" 40 40 41 #: bu-learning-blocks.php:4 241 #: bu-learning-blocks.php:44 42 42 msgid "Please install and activate the Gutenberg plugin to use BU Learning Blocks." 43 43 msgstr "" 44 44 45 #: src/init.php: 3845 #: src/init.php:41 46 46 #: src/blocks/bulb-cn/index.js:22 47 47 #: src/blocks/bulb-fitb/index.js:22 … … 53 53 msgstr "" 54 54 55 #: src/init.php:10 155 #: src/init.php:104 56 56 msgid "<strong>Welcome to BU Learning Blocks</strong>" 57 57 msgstr "" 58 58 59 #: src/init.php:1 0959 #: src/init.php:112 60 60 msgid "Install Blocks and Pages" 61 61 msgstr "" 62 62 63 #: src/init.php:11 563 #: src/init.php:118 64 64 msgid "Install Blocks Only" 65 65 msgstr "" 66 66 67 #: src/learning-module-cpt.php:1 767 #: src/learning-module-cpt.php:19 68 68 msgctxt "Taxonomy General Name" 69 69 msgid "Lessons" 70 70 msgstr "" 71 71 72 #: src/learning-module-cpt.php: 1872 #: src/learning-module-cpt.php:20 73 73 msgctxt "Taxonomy Singular Name" 74 74 msgid "Lesson" 75 75 msgstr "" 76 76 77 #: src/learning-module-cpt.php: 1977 #: src/learning-module-cpt.php:21 78 78 msgid "Lessons" 79 79 msgstr "" 80 80 81 #: src/learning-module-cpt.php:2 081 #: src/learning-module-cpt.php:22 82 82 msgid "All Lessons" 83 83 msgstr "" 84 84 85 #: src/learning-module-cpt.php:2 185 #: src/learning-module-cpt.php:23 86 86 msgid "View Lesson" 87 87 msgstr "" 88 88 89 #: src/learning-module-cpt.php:2 289 #: src/learning-module-cpt.php:24 90 90 msgid "Parent Lesson" 91 91 msgstr "" 92 92 93 #: src/learning-module-cpt.php:2 393 #: src/learning-module-cpt.php:25 94 94 msgid "Parent Lesson:" 95 95 msgstr "" 96 96 97 #: src/learning-module-cpt.php:2 497 #: src/learning-module-cpt.php:26 98 98 msgid "New Lesson Name" 99 99 msgstr "" 100 100 101 #: src/learning-module-cpt.php:2 5102 msgid " Create Lesson"103 msgstr "" 104 105 #: src/learning-module-cpt.php:2 6101 #: src/learning-module-cpt.php:27 102 msgid "Include in Lesson (start typing name of Lesson)" 103 msgstr "" 104 105 #: src/learning-module-cpt.php:28 106 106 msgid "Edit Lesson" 107 107 msgstr "" 108 108 109 #: src/learning-module-cpt.php:2 7109 #: src/learning-module-cpt.php:29 110 110 msgid "Update Lesson" 111 111 msgstr "" 112 112 113 #: src/learning-module-cpt.php: 28113 #: src/learning-module-cpt.php:30 114 114 msgid "Separate lessons with commas" 115 115 msgstr "" 116 116 117 #: src/learning-module-cpt.php: 29117 #: src/learning-module-cpt.php:31 118 118 msgid "Search Lessons" 119 119 msgstr "" 120 120 121 #: src/learning-module-cpt.php:3 0121 #: src/learning-module-cpt.php:32 122 122 msgid "Add or remove lessons" 123 123 msgstr "" 124 124 125 #: src/learning-module-cpt.php:3 1125 #: src/learning-module-cpt.php:33 126 126 msgid "Choose from the most used lessons" 127 127 msgstr "" 128 128 129 #: src/learning-module-cpt.php:3 2129 #: src/learning-module-cpt.php:34 130 130 msgid "Not Found" 131 131 msgstr "" 132 132 133 #: src/learning-module-cpt.php:6 2133 #: src/learning-module-cpt.php:64 134 134 msgid "Lesson Pages" 135 135 msgstr "" 136 136 137 #: src/learning-module-cpt.php:6 3137 #: src/learning-module-cpt.php:65 138 138 msgid "Lesson Page" 139 139 msgstr "" 140 140 141 #: src/learning-module-cpt.php:6 4141 #: src/learning-module-cpt.php:66 142 142 msgid "BULB Lessons" 143 143 msgstr "" 144 144 145 #: src/learning-module-cpt.php:65 146 #: src/learning-module-cpt.php:66 145 #: src/learning-module-cpt.php:67 146 #: src/learning-module-cpt.php:68 147 #: src/learning-module-cpt.php:71 148 msgid "New Lesson Page" 149 msgstr "" 150 147 151 #: src/learning-module-cpt.php:69 148 msgid "New Lesson Page"149 msgstr ""150 151 #: src/learning-module-cpt.php:67152 152 msgid "Edit Lesson Page" 153 153 msgstr "" 154 154 155 #: src/learning-module-cpt.php: 68155 #: src/learning-module-cpt.php:70 156 156 msgid "Update Lesson Page" 157 157 msgstr "" 158 158 159 #: src/learning-module-cpt.php:7 0159 #: src/learning-module-cpt.php:72 160 160 msgid "All Lesson Pages" 161 161 msgstr "" 162 162 163 #: src/learning-module-cpt.php:7 1163 #: src/learning-module-cpt.php:73 164 164 msgid "View Lesson Page" 165 165 msgstr "" 166 166 167 #: src/learning-module-cpt.php:7 2167 #: src/learning-module-cpt.php:74 168 168 msgid "View Lesson Pages" 169 169 msgstr "" 170 170 171 #: src/learning-module-cpt.php:7 3171 #: src/learning-module-cpt.php:75 172 172 msgid "Lesson Page Attributes" 173 173 msgstr "" 174 174 175 #: src/learning-module-cpt.php:7 4175 #: src/learning-module-cpt.php:76 176 176 msgid "Search Lesson Pages" 177 177 msgstr "" 178 178 179 #: src/learning-module-cpt.php:7 5179 #: src/learning-module-cpt.php:77 180 180 msgid "No Lesson Pages found" 181 181 msgstr "" 182 182 183 #: src/learning-module-cpt.php:7 6183 #: src/learning-module-cpt.php:78 184 184 msgid "No Lessons Pages found in Trash" 185 185 msgstr "" 186 186 187 #: src/learning-module-cpt.php:7 7187 #: src/learning-module-cpt.php:79 188 188 msgid "Lesson Page Archives" 189 189 msgstr "" 190 190 191 #: src/learning-module-cpt.php: 78191 #: src/learning-module-cpt.php:80 192 192 msgid "Parent Lesson Page:" 193 193 msgstr "" 194 194 195 #: src/learning-module-cpt.php:8 7195 #: src/learning-module-cpt.php:89 196 196 msgid "lesson" 197 197 msgstr "" 198 198 199 #: src/learning-module-cpt.php: 89199 #: src/learning-module-cpt.php:91 200 200 msgid "Holds our Lessons" 201 msgstr ""202 203 #: build/blocks/blocks.build.js:1204 #: src/components/QuestionHeader.js:7205 msgid "Question"206 msgstr ""207 208 #: build/blocks/blocks.build.js:1209 #: src/components/QuestionHeader.js:8210 msgid "Question Header"211 msgstr ""212 213 #: build/blocks/blocks.build.js:1214 #: src/components/QuestionHeader.js:11215 msgid "Enter Question Header"216 201 msgstr "" 217 202 … … 331 316 msgid "Enter Incorrect Feedback" 332 317 msgstr "" 318 319 #: src/components/QuestionHeader.js:7 320 msgid "Question" 321 msgstr "" 322 323 #: src/components/QuestionHeader.js:8 324 msgid "Question Header" 325 msgstr "" 326 327 #: src/components/QuestionHeader.js:11 328 msgid "Enter Question Header" 329 msgstr "" -
bu-learning-blocks/trunk/package.json
r2518565 r2758670 1 1 { 2 2 "name": "bu-learning-blocks", 3 "version": "1.1. 3",3 "version": "1.1.4", 4 4 "private": true, 5 5 "scripts": { -
bu-learning-blocks/trunk/readme.txt
r2518565 r2758670 3 3 Tags: learning, teaching, education, online courses, boston university, bu 4 4 Requires at least: 5.3.2 5 Tested up to: 5.76 Stable tag: 1.1. 35 Tested up to: 6.0 6 Stable tag: 1.1.4 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 40 40 == Changelog == 41 41 42 = 1.1.4 = 43 * Patch issues with 5.8 and 5.9 compatibility 44 42 45 = 1.1.3 = 43 46 * Add Github publish action -
bu-learning-blocks/trunk/src/init.php
r2518565 r2758670 27 27 require_once BULB_PLUGIN_DIR_PATH . 'src/blocks/bulb-mat/index.php'; 28 28 29 29 // To support versions before and after 5.8, check the WordPress version and use the newer 'block_categories_all' tag if it's 5.8 or newer. 30 $block_category_filter = ( version_compare( get_bloginfo( 'version' ), '5.8', '>=' ) ) ? 'block_categories_all' : 'block_categories'; 30 31 31 32 // Add BULB custom block category. 32 33 add_filter( 33 'block_categories',34 $block_category_filter, 34 35 function( $categories, $post ) { 35 36 return array_merge( -
bu-learning-blocks/trunk/src/learning-module-cpt.php
r2518565 r2758670 25 25 'parent_item_colon' => __( 'Parent Lesson:', 'bu-learning-blocks' ), 26 26 'new_item_name' => __( 'New Lesson Name', 'bu-learning-blocks' ), 27 'add_new_item' => __( ' Create Lesson', 'bu-learning-blocks' ),27 'add_new_item' => __( 'Include in Lesson (start typing name of Lesson)', 'bu-learning-blocks' ), 28 28 'edit_item' => __( 'Edit Lesson', 'bu-learning-blocks' ), 29 29 'update_item' => __( 'Update Lesson', 'bu-learning-blocks' ), … … 229 229 230 230 /** 231 * Load script to customize the taxonomy menu in the lesson page editor. 231 * Loads a script to customize the bu-courses taxonomy label. 232 * 233 * This used to modify the label of the taxonomy panel in the block editor. Changes in the block editor made this 234 * much more difficult, so now the default label is the string that is used in the block editor. This script 235 * customizes the taxonomy page instead, to what the default label used to be. 236 * 237 * Activated by the 'bulb-courses_add_form_fields' action, which is fired when the bu-courses taxonomy form is loaded. 232 238 * 233 239 * @since 0.0.7 234 */ 235 function bulb_add_admin_scripts() { 240 * 241 * @param string $hook_suffix The name of the hook that was activated. 242 */ 243 function bulb_add_admin_scripts( $hook_suffix ) { 244 // Double check that we're on the bulb taxonomy page, and bail if not. 245 if ( 'bulb-courses' !== $hook_suffix ) { 246 return; 247 } 248 249 // If we are on the bulb taxonomy page, enqueue the script to customize the label. 236 250 wp_enqueue_script( 237 'customize_tax_ panel',238 BULB_PLUGIN_URL . 'src/customize_tax_ panel.js',251 'customize_tax_label', 252 BULB_PLUGIN_URL . 'src/customize_tax_label.js', 239 253 array(), 240 filemtime( plugin_dir_path( __DIR__ ) . 'src/customize_tax_ panel.js' ), // Gets file modification time for cache busting.254 filemtime( plugin_dir_path( __DIR__ ) . 'src/customize_tax_label.js' ), // Gets file modification time for cache busting. 241 255 true // Enqueue the script in the footer. 242 256 ); 243 257 } 244 add_action( ' enqueue_block_editor_assets', __NAMESPACE__ . '\bulb_add_admin_scripts' );258 add_action( 'bulb-courses_add_form_fields', __NAMESPACE__ . '\bulb_add_admin_scripts' );
Note: See TracChangeset
for help on using the changeset viewer.