Skip to content

Commit

Permalink
Merge pull request #2067 from CityOfPhiladelphia/reorganize-wp-dashbo…
Browse files Browse the repository at this point in the history
…ard-navigation

changed labels to sentence case
  • Loading branch information
RitikaDesai98 authored Jan 8, 2024
2 parents b2ac452 + 33cbe1b commit 15f05ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ function create_phila_longform_content() {
register_post_type( 'longform_content',
array(
'labels' => array(
'name' => __( 'Long-form page' ),
'name' => __( 'Long-form pages' ),
'singular_name' => __( 'Long-form page' ),
'add_new' => __( 'Add long-form page' ),
'all_items' => __( 'All long-form pages' ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,12 @@ if (currentURL.indexOf('edit-tags.php') > -1) {
$('#menu-posts-calendar a:contains("All Calendars")').text('All calendars');
$('#menu-posts-calendar a:contains("Add New")').text('Add calendar');

$('#menu-posts-text-blocks div:contains("Text Blocks")').text('Text blocks');
$('#menu-posts-text-blocks a:contains("All Text Blocks")').text('All text blocks');
$('#menu-posts-text-blocks a:contains("Add New")').text('Add text block');

$('#adminmenu a:contains("Nested View")').text('Nested view');

// Set error placement, and highlights for category selection
jQuery.validator.setDefaults({
errorPlacement: function( error, element ) {
Expand Down

0 comments on commit 15f05ce

Please sign in to comment.