Pagely MultiEdit
Feature: CamelCase and Underscores to Spaces in Admin (2 posts)

  1. adamnbowen
    Posted 4 years ago #

    Again, I don't see a code respository to post this stuff, so I'll just paste it here. I saw use for CamelCase and Underscores to spaces in the names of the tabs from the admin.

    So on line 174 of multiedit.php:

    // CamelCase => Camel Case:
               $mclean = preg_replace('/(?<=\\w)(?=[A-Z])/'," $1", $mclean);
               // Underscores to Spaces:
               $mclean = str_replace("_", " ", $mclean);

    (This goes right after $mclean = trim($matches[1]);, in case your current source differs from mine.)

  2. joshua strebel
    Plugin Author

    Posted 3 years ago #

    added in update for 3.3

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pagely MultiEdit
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic