| | 281 | |
| | 282 | /** |
| | 283 | * Return the block editor template for the helphub_version custom post type. |
| | 284 | * |
| | 285 | * @access public |
| | 286 | * @return array Block editor content template. |
| | 287 | */ |
| | 288 | public function get_helphub_version_template() { |
| | 289 | return array( |
| | 290 | array( |
| | 291 | 'core/paragraph', |
| | 292 | array( |
| | 293 | 'content' => 'On Month Day, YEAR, WordPress X.X “JAZZER”, named for the jazz musician JAZZER, was released to the public. For more information on this release, read the WordPress Blog (LINK).', |
| | 294 | ), |
| | 295 | ), |
| | 296 | array( |
| | 297 | 'core/paragraph', |
| | 298 | array( |
| | 299 | 'content' => 'For Version X.X, the database version (db_version in `wp_options`) updated to 44719, and the Trac revision was 44764.', |
| | 300 | ), |
| | 301 | ), |
| | 302 | array( |
| | 303 | 'core/paragraph', |
| | 304 | array( |
| | 305 | 'content' => 'A full list of tickets included in X.X can be found on Trac (link full list of tickets included in X.X to the Trac query)', |
| | 306 | ), |
| | 307 | ), |
| | 308 | array( |
| | 309 | 'core/heading', |
| | 310 | array( |
| | 311 | 'content' => 'Installation/Update Information', |
| | 312 | ), |
| | 313 | ), |
| | 314 | array( |
| | 315 | 'core/paragraph', |
| | 316 | array( |
| | 317 | 'content' => 'To download WordPress X.X, update automatically from the Dashboard > Updates menu in your site’s admin area or visit the <a href="https://wordpress.org/download/release-archive/">release archive.</a>', |
| | 318 | ), |
| | 319 | ), |
| | 320 | array( |
| | 321 | 'core/paragraph', |
| | 322 | array( |
| | 323 | 'content' => 'For step-by-step instructions on installing and updating WordPress:', |
| | 324 | ), |
| | 325 | ), |
| | 326 | array( |
| | 327 | 'core/list', |
| | 328 | array( |
| | 329 | 'values' => '<li><a href="https://wordpress.org/support/article/new_to_wordpress_-_where_to_start/">New To WordPress - Where to Start</a></li> |
| | 330 | <li><a href="https://wordpress.org/support/article/first-steps-with-wordpress/">First Steps With WordPress</a> or <a href="https://wordpress.org/support/article/upgrading-wordpress-extended-instructions/">Upgrading WordPress Extended</a></li> |
| | 331 | <li><a href="https://wordpress.org/support/article/wordpress-lessons/">WordPress Lessons</a></li>', |
| | 332 | ), |
| | 333 | ), |
| | 334 | array( |
| | 335 | 'core/heading', |
| | 336 | array( |
| | 337 | 'content' => 'Highlights', |
| | 338 | ), |
| | 339 | ), |
| | 340 | array( |
| | 341 | 'core/image', |
| | 342 | array( |
| | 343 | 'align' => 'center', |
| | 344 | ), |
| | 345 | ), |
| | 346 | array( |
| | 347 | 'core/paragraph', |
| | 348 | array( |
| | 349 | 'content' => 'A high level description of the release. Typically, this is extracted from the release post on the News blog or the release About page. This can be multiple paragraphs.', |
| | 350 | ), |
| | 351 | ), |
| | 352 | array( |
| | 353 | 'core/heading', |
| | 354 | array( |
| | 355 | 'content' => 'First Release Feature', |
| | 356 | 'level' => 3, |
| | 357 | ), |
| | 358 | ), |
| | 359 | array( |
| | 360 | 'core/paragraph', |
| | 361 | array( |
| | 362 | 'content' => 'Describe this great new feature. Again, this can be extracted from the News blog or the release About page.', |
| | 363 | ), |
| | 364 | ), |
| | 365 | array( |
| | 366 | 'core/heading', |
| | 367 | array( |
| | 368 | 'content' => 'Second Release Feature', |
| | 369 | 'level' => 3, |
| | 370 | ), |
| | 371 | ), |
| | 372 | array( |
| | 373 | 'core/paragraph', |
| | 374 | array( |
| | 375 | 'content' => 'Describe this great new feature. Again, this can be extracted from the News blog or the release About page.', |
| | 376 | ), |
| | 377 | ), |
| | 378 | array( |
| | 379 | 'core/heading', |
| | 380 | array( |
| | 381 | 'content' => 'Resources', |
| | 382 | 'level' => 3, |
| | 383 | ), |
| | 384 | ), |
| | 385 | array( |
| | 386 | 'core/list', |
| | 387 | array( |
| | 388 | 'values' => '<li>Links to resources for this release</li> |
| | 389 | <li>Field Guide</li> |
| | 390 | <li>Dev notes</li> |
| | 391 | <li>Blog posts, etc.</li>', |
| | 392 | ), |
| | 393 | ), |
| | 394 | array( |
| | 395 | 'core/heading', |
| | 396 | array( |
| | 397 | 'content' => 'Updated Packages', |
| | 398 | ), |
| | 399 | ), |
| | 400 | array( |
| | 401 | 'core/code', |
| | 402 | array( |
| | 403 | 'content' => 'tinymce@4.9.2 |
| | 404 | twemoji@11.2.0 |
| | 405 | wordpress/annotations@1.0.8 |
| | 406 | wordpress/api-fetch@2.2.8 |
| | 407 | wordpress/block-library@2.2.16 |
| | 408 | wordpress/block-serialization-default-parser@2.0.5 |
| | 409 | wordpress/blocks@6.0.7 |
| | 410 | wordpress/components@7.0.8 |
| | 411 | wordpress/compose@3.0.1 |
| | 412 | wordpress/core-data@2.0.17', |
| | 413 | ), |
| | 414 | ), |
| | 415 | array( |
| | 416 | 'core/heading', |
| | 417 | array( |
| | 418 | 'content' => 'List of Revised Files', |
| | 419 | ), |
| | 420 | ), |
| | 421 | array( |
| | 422 | 'core/code', |
| | 423 | array( |
| | 424 | 'content' => 'wp-admin/includes/admin-filters.php |
| | 425 | wp-admin/includes/admin.php |
| | 426 | wp-admin/includes/ajax-actions.php |
| | 427 | wp-admin/includes/class-wp-terms-list-table.php |
| | 428 | wp-admin/includes/class-wp-theme-install-list-table.php |
| | 429 | ....... |
| | 430 | wp-includes/shortcodes.php |
| | 431 | wp-includes/taxonomy.php |
| | 432 | wp-includes/template-loader.php |
| | 433 | wp-includes/template.php |
| | 434 | wp-settings.php', |
| | 435 | ), |
| | 436 | ), |
| | 437 | ); |
| | 438 | } |
| | 439 | |